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: Id1ebd6dc1b5178643646a3278a413ab25baef260
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Doug Hellmann 1 year ago
parent
commit
682cc92aa7
3 changed files with 80 additions and 0 deletions
  1. 7
    0
      .zuul.yaml
  2. 66
    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

+ 66
- 0
lower-constraints.txt View File

@@ -0,0 +1,66 @@
1
+alabaster==0.7.10
2
+appdirs==1.3.0
3
+Babel==2.3.4
4
+bandit==1.4.0
5
+cffi==1.7.0
6
+debtcollector==1.2.0
7
+docutils==0.11
8
+dulwich==0.15.0
9
+eventlet==0.18.2
10
+extras==1.0.0
11
+fixtures==3.0.0
12
+flake8==2.5.5
13
+gitdb==0.6.4
14
+GitPython==1.0.1
15
+greenlet==0.4.10
16
+hacking==0.12.0
17
+imagesize==0.7.1
18
+iso8601==0.1.11
19
+Jinja2==2.10
20
+keystoneauth1==3.4.0
21
+linecache2==1.0.0
22
+MarkupSafe==1.0
23
+mccabe==0.2.1
24
+mock==2.0.0
25
+monotonic==0.6
26
+mox3==0.20.0
27
+msgpack==0.5.1
28
+msgpack-python==0.4.0
29
+netaddr==0.7.18
30
+netifaces==0.10.4
31
+openstackdocstheme==1.18.1
32
+os-client-config==1.28.0
33
+oslo.config==5.2.0
34
+oslo.context==2.19.2
35
+oslo.i18n==3.15.3
36
+oslo.log==3.36.0
37
+oslo.serialization==2.18.0
38
+oslo.utils==3.33.0
39
+oslotest==3.2.0
40
+pbr==2.0.0
41
+pep8==1.5.7
42
+pycparser==2.18
43
+pyflakes==0.8.1
44
+Pygments==2.2.0
45
+pyinotify==0.9.6
46
+pyparsing==2.1.0
47
+python-dateutil==2.5.3
48
+python-mimeparse==1.6.0
49
+python-subunit==1.0.0
50
+pytz==2013.6
51
+PyYAML==3.12
52
+reno==2.5.0
53
+requests==2.14.2
54
+requestsexceptions==1.2.0
55
+rfc3986==0.3.1
56
+six==1.10.0
57
+smmap==0.9.0
58
+snowballstemmer==1.2.1
59
+Sphinx==1.6.5
60
+sphinxcontrib-websupport==1.0.1
61
+stevedore==1.20.0
62
+testrepository==0.0.18
63
+testtools==2.2.0
64
+traceback2==1.4.0
65
+unittest2==1.1.0
66
+wrapt==1.7.0

+ 7
- 0
tox.ini View File

@@ -46,3 +46,10 @@ import_exceptions =
46 46
 
47 47
 [testenv:releasenotes]
48 48
 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
49
+
50
+[testenv:lower-constraints]
51
+basepython = python3
52
+deps =
53
+  -c{toxinidir}/lower-constraints.txt
54
+  -r{toxinidir}/test-requirements.txt
55
+  -r{toxinidir}/requirements.txt

Loading…
Cancel
Save