Browse Source

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: I70508df7928e38fd8b97e69d42fbde5d9b17ad16
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Doug Hellmann 1 year ago
parent
commit
7fdcc78cc5
3 changed files with 65 additions and 0 deletions
  1. 7
    0
      .zuul.yaml
  2. 51
    0
      lower-constraints.txt
  3. 7
    0
      tox.ini

+ 7
- 0
.zuul.yaml View File

@@ -0,0 +1,7 @@
1
+- project:
2
+    check:
3
+      jobs:
4
+        - openstack-tox-lower-constraints
5
+    gate:
6
+      jobs:
7
+        - openstack-tox-lower-constraints

+ 51
- 0
lower-constraints.txt View File

@@ -0,0 +1,51 @@
1
+alabaster==0.7.10
2
+appdirs==1.3.0
3
+Babel==2.3.4
4
+chardet==3.0.4
5
+contextlib2==0.4.0
6
+coverage==4.0
7
+doc8==0.6.0
8
+docutils==0.11
9
+dulwich==0.15.0
10
+eventlet==0.18.2
11
+extras==1.0.0
12
+fixtures==3.0.0
13
+flake8==2.2.4
14
+greenlet==0.4.10
15
+hacking==0.10.3
16
+imagesize==0.7.1
17
+iso8601==0.1.11
18
+Jinja2==2.10
19
+keystoneauth1==3.4.0
20
+linecache2==1.0.0
21
+MarkupSafe==1.0
22
+mccabe==0.2.1
23
+mock==2.0.0
24
+monotonic==0.6
25
+mox3==0.20.0
26
+openstackdocstheme==1.18.1
27
+os-client-config==1.28.0
28
+oslotest==3.2.0
29
+pbr==2.0.0
30
+pep8==1.5.7
31
+prettytable==0.7.2
32
+pyflakes==0.8.1
33
+Pygments==2.2.0
34
+python-mimeparse==1.6.0
35
+python-subunit==1.0.0
36
+pytz==2013.6
37
+PyYAML==3.12
38
+reno==2.5.0
39
+requests==2.14.2
40
+requestsexceptions==1.2.0
41
+restructuredtext-lint==1.1.1
42
+six==1.10.0
43
+snowballstemmer==1.2.1
44
+Sphinx==1.6.5
45
+sphinxcontrib-websupport==1.0.1
46
+stevedore==1.20.0
47
+testrepository==0.0.18
48
+testscenarios==0.4
49
+testtools==2.2.0
50
+traceback2==1.4.0
51
+unittest2==1.1.0

+ 7
- 0
tox.ini View File

@@ -49,3 +49,10 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
49 49
 
50 50
 [testenv:releasenotes]
51 51
 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
52
+
53
+[testenv:lower-constraints]
54
+basepython = python3
55
+deps =
56
+  -c{toxinidir}/lower-constraints.txt
57
+  -r{toxinidir}/test-requirements.txt
58
+  -r{toxinidir}/requirements.txt

Loading…
Cancel
Save