summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-03-22 17:37:46 -0400
committerDoug Hellmann <doug@doughellmann.com>2018-03-24 21:02:48 -0400
commita3ee7688646bfdaba7f40d2ab61554110f99a21d (patch)
tree0efc03c89a88a6fa51f740fba6838d35bc5ad25f
parent7ee015dcb383925ca3e43e44421aa20ccfde4bc6 (diff)
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: I161c55335b8fa6a57164bfadbc7be0adb6fed33b Depends-On: https://review.openstack.org/555034 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Notes
Notes (review): Code-Review+2: ChangBo Guo(gcb) <glongwave@gmail.com> Workflow+1: ChangBo Guo(gcb) <glongwave@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 29 Mar 2018 06:48:40 +0000 Reviewed-on: https://review.openstack.org/556070 Project: openstack/oslo.reports Branch: refs/heads/master
-rw-r--r--.zuul.yaml7
-rw-r--r--lower-constraints.txt61
-rw-r--r--tox.ini7
3 files changed, 75 insertions, 0 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
new file mode 100644
index 0000000..67a39c4
--- /dev/null
+++ b/.zuul.yaml
@@ -0,0 +1,7 @@
1- project:
2 check:
3 jobs:
4 - openstack-tox-lower-constraints
5 gate:
6 jobs:
7 - openstack-tox-lower-constraints
diff --git a/lower-constraints.txt b/lower-constraints.txt
new file mode 100644
index 0000000..1c3958f
--- /dev/null
+++ b/lower-constraints.txt
@@ -0,0 +1,61 @@
1alabaster==0.7.10
2appdirs==1.3.0
3Babel==2.3.4
4bandit==1.4.0
5coverage==4.0
6debtcollector==1.2.0
7docutils==0.11
8dulwich==0.15.0
9eventlet==0.18.2
10extras==1.0.0
11fixtures==3.0.0
12flake8==2.5.5
13gitdb==0.6.4
14GitPython==1.0.1
15greenlet==0.4.10
16hacking==0.12.0
17imagesize==0.7.1
18iso8601==0.1.11
19Jinja2==2.10
20keystoneauth1==3.4.0
21linecache2==1.0.0
22MarkupSafe==1.0
23mccabe==0.2.1
24mock==2.0.0
25monotonic==0.6
26mox3==0.20.0
27msgpack-python==0.4.0
28netaddr==0.7.18
29netifaces==0.10.4
30openstackdocstheme==1.18.1
31os-client-config==1.28.0
32oslo.config==5.2.0
33oslo.i18n==3.15.3
34oslo.serialization==2.18.0
35oslo.utils==3.33.0
36oslotest==3.2.0
37pbr==2.0.0
38pep8==1.5.7
39psutil==3.2.2
40pyflakes==0.8.1
41Pygments==2.2.0
42pyparsing==2.1.0
43python-mimeparse==1.6.0
44python-subunit==1.0.0
45pytz==2013.6
46PyYAML==3.12
47reno==2.5.0
48requests==2.14.2
49requestsexceptions==1.2.0
50rfc3986==0.3.1
51six==1.10.0
52smmap==0.9.0
53snowballstemmer==1.2.1
54Sphinx==1.6.5
55sphinxcontrib-websupport==1.0.1
56stevedore==1.20.0
57testrepository==0.0.18
58testtools==2.2.0
59traceback2==1.4.0
60unittest2==1.1.0
61wrapt==1.7.0
diff --git a/tox.ini b/tox.ini
index 575bd77..5b9ccf5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -47,3 +47,10 @@ commands = pip-missing-reqs -d --ignore-module=oslo_reports* --ignore-module=pkg
47 47
48[testenv:releasenotes] 48[testenv:releasenotes]
49commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html 49commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
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