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: Id71e1a71a0f9fa342a286ef62c8dc6ca784ae61a
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-03-22 12:30:22 -04:00 committed by Saad Zaher
parent 90cd934684
commit e68011ed5f
3 changed files with 77 additions and 0 deletions

View File

@ -4,6 +4,10 @@
- freezer-web-ui-ubuntu-xenial:
voting: true
- openstack-tox-lower-constraints
gate:
jobs:
- openstack-tox-lower-constraints
- job:
name: freezer-web-ui-ubuntu-xenial
parent: legacy-dsvm-base

66
lower-constraints.txt Normal file
View File

@ -0,0 +1,66 @@
alabaster==0.7.10
astroid==1.3.8
Babel==2.5.3
certifi==2018.1.18
chardet==3.0.4
cliff==2.11.0
cmd2==0.8.1
colorama==0.3.9
coverage==4.0
debtcollector==1.19.0
Django==1.11
django-appconf==1.0.2
django-compressor==2.0
django-nose==1.4.4
docutils==0.14
extras==1.0.0
fixtures==3.0.0
flake8==2.5.5
hacking==0.12.0
idna==2.6
imagesize==1.0.0
iso8601==0.1.12
Jinja2==2.10
keystoneauth1==3.4.0
linecache2==1.0.0
logilab-common==1.4.1
MarkupSafe==1.0
mccabe==0.2.1
mock==2.0.0
netaddr==0.7.19
nose==1.3.7
nosehtmloutput==0.0.3
nosexcover==1.0.10
openstack.nose-plugin==0.7
oslo.config==5.2.0
oslo.i18n==3.20.0
oslosphinx==4.7.0
pbr==3.1.1
pep8==1.5.7
prettytable==0.7.2
pyflakes==0.8.1
Pygments==2.2.0
pylint==1.4.5
pyparsing==2.2.0
pyperclip==1.6.0
python-freezerclient==1.3.0
python-mimeparse==1.6.0
python-subunit==1.2.0
pytz==2018.3
PyYAML==3.12
rcssmin==1.0.6
requests==2.18.4
rfc3986==1.1.0
rjsmin==1.0.12
six==1.11.0
snowballstemmer==1.2.1
Sphinx==1.6.2
sphinxcontrib-websupport==1.0.1
stevedore==1.28.0
termcolor==1.1.0
testrepository==0.0.18
testtools==2.2.0
traceback2==1.4.0
unittest2==1.1.0
urllib3==1.22
wrapt==1.10.11

View File

@ -47,3 +47,10 @@ commands = pylint --rcfile .pylintrc disaster_recovery
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,panel_template,dash_template,local_settings.py,*/local/*,*/test/test_plugins/*,.ropeproject,tools,doc
max-complexity = 20
ignore = H405,H404,H403,H401,H238,H306,H701
[testenv:lower-constraints]
basepython = python3
deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt