Add lower-constraints job
Create a tox environment for running the unit tests against the lower bounds of the dependencies. Create a lower-constraints.txt to be used to enforce the lower bounds in those tests. Add openstack-tox-lower-constraints job to the zuul configuration. See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html for more details. Change-Id: I4ec215baac733ef07a619c03c28406c994d493f5
This commit is contained in:
@@ -3,7 +3,9 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-functional
|
- openstack-tox-functional
|
||||||
- openstack-tox-functional-py35
|
- openstack-tox-functional-py35
|
||||||
|
- openstack-tox-lower-constraints
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-functional
|
- openstack-tox-functional
|
||||||
- openstack-tox-functional-py35
|
- openstack-tox-functional-py35
|
||||||
|
- openstack-tox-lower-constraints
|
||||||
|
20
lower-constraints.txt
Normal file
20
lower-constraints.txt
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
coverage===4.0
|
||||||
|
ddt===1.0.1
|
||||||
|
elasticsearch===2.0.0
|
||||||
|
mock===2.0.0
|
||||||
|
netaddr===0.7.18
|
||||||
|
openstackdocstheme===1.18.1
|
||||||
|
oslo.concurrency===3.26.0
|
||||||
|
oslo.config===5.2.0
|
||||||
|
oslo.serialization===2.18.0
|
||||||
|
oslo.utils===3.33.0
|
||||||
|
PrettyTable===0.7.1
|
||||||
|
pymongo===3.0.2
|
||||||
|
redis===2.10.0
|
||||||
|
reno===2.5.0
|
||||||
|
requests===2.14.2
|
||||||
|
six===1.10.0
|
||||||
|
sphinx===1.6.2
|
||||||
|
testrepository===0.0.18
|
||||||
|
testtools===2.2.0
|
||||||
|
WebOb===1.7.1
|
@@ -1,8 +1,8 @@
|
|||||||
six>=1.9.0 # MIT
|
netaddr>=0.7.18 # BSD
|
||||||
oslo.utils>=3.16.0 # Apache-2.0
|
oslo.concurrency>=3.26.0 # Apache-2.0
|
||||||
WebOb>=1.6.0 # MIT
|
oslo.serialization>=2.18.0 # Apache-2.0
|
||||||
requests>=2.10.0 # Apache-2.0
|
oslo.utils>=3.33.0 # Apache-2.0
|
||||||
netaddr>=0.7.13,!=0.7.16 # BSD
|
|
||||||
oslo.concurrency>=3.8.0 # Apache-2.0
|
|
||||||
oslo.serialization>=2.18.0,!=2.19.1 # Apache-2.0
|
|
||||||
PrettyTable>=0.7.1,<0.8 # BSD
|
PrettyTable>=0.7.1,<0.8 # BSD
|
||||||
|
requests>=2.14.2 # Apache-2.0
|
||||||
|
six>=1.10.0 # MIT
|
||||||
|
WebOb>=1.7.1 # MIT
|
||||||
|
@@ -27,7 +27,7 @@ setup-hooks =
|
|||||||
|
|
||||||
[extras]
|
[extras]
|
||||||
oslo_config =
|
oslo_config =
|
||||||
oslo.config>=3.2.0 # Apache-2.0
|
oslo.config>=5.2.0 # Apache-2.0
|
||||||
|
|
||||||
[build_sphinx]
|
[build_sphinx]
|
||||||
all_files = 1
|
all_files = 1
|
||||||
|
@@ -1,12 +1,12 @@
|
|||||||
hacking>=0.12.0,!=0.13.0,<0.14 # Apache-2.0
|
hacking>=0.12.0,!=0.13.0,<0.14 # Apache-2.0
|
||||||
|
|
||||||
coverage>=3.6 # Apache-2.0
|
coverage>=4.0 # Apache-2.0
|
||||||
ddt>=1.0.1 # MIT
|
ddt>=1.0.1 # MIT
|
||||||
mock>=2.0 # BSD
|
mock>=2.0.0 # BSD
|
||||||
testrepository>=0.0.18 # Apache-2.0/BSD
|
testrepository>=0.0.18 # Apache-2.0/BSD
|
||||||
testtools>=1.4.0 # MIT
|
testtools>=2.2.0 # MIT
|
||||||
|
|
||||||
openstackdocstheme>=1.11.0 # Apache-2.0
|
openstackdocstheme>=1.18.1 # Apache-2.0
|
||||||
sphinx>=1.6.2 # BSD
|
sphinx>=1.6.2 # BSD
|
||||||
|
|
||||||
# Bandit security code scanner
|
# Bandit security code scanner
|
||||||
@@ -21,4 +21,4 @@ elasticsearch>=2.0.0,<=3.0.0 # Apache-2.0
|
|||||||
redis>=2.10.0 # MIT
|
redis>=2.10.0 # MIT
|
||||||
|
|
||||||
# Build release notes
|
# Build release notes
|
||||||
reno>=1.8.0 # Apache-2.0
|
reno>=2.5.0 # Apache-2.0
|
||||||
|
6
tox.ini
6
tox.ini
@@ -61,3 +61,9 @@ local-check-factory = osprofiler.hacking.checks.factory
|
|||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
|
[testenv:lower-constraints]
|
||||||
|
deps =
|
||||||
|
-c{toxinidir}/lower-constraints.txt
|
||||||
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
-r{toxinidir}/requirements.txt
|
Reference in New Issue
Block a user