summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-03-22 11:10:32 -0400
committerDoug Hellmann <doug@doughellmann.com>2018-03-24 21:02:07 -0400
commitd8e616d2743b17aa2074aaf5c3eb1ac5cd114575 (patch)
treeb1dc12ca1b6678046d132c4c0325aac0982d9e65
parent17ffa68c937ff8551876a4a1b2b77b0c0ea29af9 (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: Ib7f87445039e8e71edbe52b985c632bc4da29174 Depends-On: https://review.openstack.org/555034 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Notes
Notes (review): Code-Review+2: Ben Nemec <openstack@nemebean.com> Workflow+1: Ben Nemec <openstack@nemebean.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 26 Mar 2018 18:05:42 +0000 Reviewed-on: https://review.openstack.org/555409 Project: openstack/debtcollector Branch: refs/heads/master
-rw-r--r--.zuul.yaml7
-rw-r--r--lower-constraints.txt38
-rw-r--r--tox.ini7
3 files changed, 52 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..b9c103e
--- /dev/null
+++ b/lower-constraints.txt
@@ -0,0 +1,38 @@
1alabaster==0.7.10
2Babel==2.3.4
3chardet==3.0.4
4coverage==4.0
5doc8==0.6.0
6docutils==0.11
7dulwich==0.15.0
8extras==1.0.0
9fixtures==3.0.0
10flake8==2.2.4
11hacking==0.10.3
12imagesize==0.7.1
13Jinja2==2.10
14linecache2==1.0.0
15MarkupSafe==1.0
16mccabe==0.2.1
17openstackdocstheme==1.18.1
18pbr==2.0.0
19pep8==1.5.7
20pyflakes==0.8.1
21Pygments==2.2.0
22python-mimeparse==1.6.0
23python-subunit==1.0.0
24pytz==2013.6
25PyYAML==3.12
26reno==2.5.0
27requests==2.14.2
28restructuredtext-lint==1.1.1
29six==1.10.0
30snowballstemmer==1.2.1
31Sphinx==1.6.5
32sphinxcontrib-websupport==1.0.1
33stevedore==1.20.0
34testrepository==0.0.18
35testtools==2.2.0
36traceback2==1.4.0
37unittest2==1.1.0
38wrapt==1.7.0
diff --git a/tox.ini b/tox.ini
index c0d19c8..87f4b94 100644
--- a/tox.ini
+++ b/tox.ini
@@ -55,3 +55,10 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
55 55
56[testenv:releasenotes] 56[testenv:releasenotes]
57commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html 57commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
58
59[testenv:lower-constraints]
60basepython = python3
61deps =
62 -c{toxinidir}/lower-constraints.txt
63 -r{toxinidir}/test-requirements.txt
64 -r{toxinidir}/requirements.txt