summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-03-22 12:30:22 -0400
committerSaad Zaher <eng.szaher@gmail.com>2018-04-03 10:34:01 +0000
commite68011ed5f05846527883d4dd6e216cccc9c2ff2 (patch)
tree5320d821c2803050656b5658f9230fb6dea63508
parent90cd9346849c63a2c6a0fca8fd7471c2c3be9206 (diff)
add lower-constraints jobHEAD7.0.0.0b1master
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>
Notes
Notes (review): Code-Review+2: Saad Zaher <eng.szaher@gmail.com> Workflow+1: Saad Zaher <eng.szaher@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 03 Apr 2018 22:47:18 +0000 Reviewed-on: https://review.openstack.org/555446 Project: openstack/freezer-web-ui Branch: refs/heads/master
-rw-r--r--.zuul.yaml4
-rw-r--r--lower-constraints.txt66
-rw-r--r--tox.ini7
3 files changed, 77 insertions, 0 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 2eae265..2b84a23 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -4,6 +4,10 @@
4 - freezer-web-ui-ubuntu-xenial: 4 - freezer-web-ui-ubuntu-xenial:
5 voting: true 5 voting: true
6 6
7 - openstack-tox-lower-constraints
8 gate:
9 jobs:
10 - openstack-tox-lower-constraints
7- job: 11- job:
8 name: freezer-web-ui-ubuntu-xenial 12 name: freezer-web-ui-ubuntu-xenial
9 parent: legacy-dsvm-base 13 parent: legacy-dsvm-base
diff --git a/lower-constraints.txt b/lower-constraints.txt
new file mode 100644
index 0000000..e5f802b
--- /dev/null
+++ b/lower-constraints.txt
@@ -0,0 +1,66 @@
1alabaster==0.7.10
2astroid==1.3.8
3Babel==2.5.3
4certifi==2018.1.18
5chardet==3.0.4
6cliff==2.11.0
7cmd2==0.8.1
8colorama==0.3.9
9coverage==4.0
10debtcollector==1.19.0
11Django==1.11
12django-appconf==1.0.2
13django-compressor==2.0
14django-nose==1.4.4
15docutils==0.14
16extras==1.0.0
17fixtures==3.0.0
18flake8==2.5.5
19hacking==0.12.0
20idna==2.6
21imagesize==1.0.0
22iso8601==0.1.12
23Jinja2==2.10
24keystoneauth1==3.4.0
25linecache2==1.0.0
26logilab-common==1.4.1
27MarkupSafe==1.0
28mccabe==0.2.1
29mock==2.0.0
30netaddr==0.7.19
31nose==1.3.7
32nosehtmloutput==0.0.3
33nosexcover==1.0.10
34openstack.nose-plugin==0.7
35oslo.config==5.2.0
36oslo.i18n==3.20.0
37oslosphinx==4.7.0
38pbr==3.1.1
39pep8==1.5.7
40prettytable==0.7.2
41pyflakes==0.8.1
42Pygments==2.2.0
43pylint==1.4.5
44pyparsing==2.2.0
45pyperclip==1.6.0
46python-freezerclient==1.3.0
47python-mimeparse==1.6.0
48python-subunit==1.2.0
49pytz==2018.3
50PyYAML==3.12
51rcssmin==1.0.6
52requests==2.18.4
53rfc3986==1.1.0
54rjsmin==1.0.12
55six==1.11.0
56snowballstemmer==1.2.1
57Sphinx==1.6.2
58sphinxcontrib-websupport==1.0.1
59stevedore==1.28.0
60termcolor==1.1.0
61testrepository==0.0.18
62testtools==2.2.0
63traceback2==1.4.0
64unittest2==1.1.0
65urllib3==1.22
66wrapt==1.10.11
diff --git a/tox.ini b/tox.ini
index 9a2de60..3acd885 100644
--- a/tox.ini
+++ b/tox.ini
@@ -47,3 +47,10 @@ commands = pylint --rcfile .pylintrc disaster_recovery
47exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,panel_template,dash_template,local_settings.py,*/local/*,*/test/test_plugins/*,.ropeproject,tools,doc 47exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,panel_template,dash_template,local_settings.py,*/local/*,*/test/test_plugins/*,.ropeproject,tools,doc
48max-complexity = 20 48max-complexity = 20
49ignore = H405,H404,H403,H401,H238,H306,H701 49ignore = H405,H404,H403,H401,H238,H306,H701
50
51[testenv:lower-constraints]
52basepython = python3
53deps =
54 -c{toxinidir}/lower-constraints.txt
55 -r{toxinidir}/test-requirements.txt
56 -r{toxinidir}/requirements.txt