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

+ 4
- 0
.zuul.yaml View File

@@ -5,3 +5,7 @@
5 5
             voting: false
6 6
         - monasca-tempest-java-influxdb:
7 7
             voting: false
8
+        - openstack-tox-lower-constraints
9
+    gate:
10
+      jobs:
11
+        - openstack-tox-lower-constraints

+ 67
- 0
lower-constraints.txt View File

@@ -0,0 +1,67 @@
1
+appdirs==1.3.0
2
+Babel==2.3.4
3
+bandit==1.4.0
4
+configparser==3.5.0
5
+coverage==4.0
6
+debtcollector==1.2.0
7
+extras==1.0.0
8
+fixtures==3.0.0
9
+flake8==2.5.5
10
+future==0.16.0
11
+gevent==1.2.2
12
+gitdb==0.6.4
13
+GitPython==1.0.1
14
+greenlet==0.4.10
15
+hacking==0.12.0
16
+iso8601==0.1.11
17
+kazoo==2.2
18
+keystoneauth1==3.4.0
19
+linecache2==1.0.0
20
+mccabe==0.2.1
21
+mock==2.0.0
22
+monasca-common==2.7.0
23
+monasca-statsd==1.1.0
24
+monotonic==0.6
25
+mox3==0.20.0
26
+msgpack-python==0.4.0
27
+netaddr==0.7.18
28
+netifaces==0.10.4
29
+os-client-config==1.28.0
30
+os-testr==1.0.0
31
+oslo.config==5.2.0
32
+oslo.context==2.19.2
33
+oslo.i18n==3.15.3
34
+oslo.log==3.36.0
35
+oslo.policy==1.30.0
36
+oslo.serialization==2.18.0
37
+oslo.utils==3.33.0
38
+oslotest==3.2.0
39
+pbr==2.0.0
40
+pep8==1.5.7
41
+psycopg2==2.6.2
42
+pyflakes==0.8.1
43
+pyinotify==0.9.6
44
+pykafka==2.5.0
45
+PyMySQL==0.7.6
46
+pyparsing==2.1.0
47
+python-dateutil==2.5.3
48
+python-mimeparse==1.6.0
49
+python-statsd==2.1.0
50
+python-subunit==1.0.0
51
+pytz==2013.6
52
+PyYAML==3.12
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
+SQLAlchemy==1.0.10
59
+stestr==1.0.0
60
+stevedore==1.20.0
61
+tabulate==0.8.1
62
+testrepository==0.0.18
63
+testtools==2.2.0
64
+traceback2==1.4.0
65
+ujson==1.35
66
+unittest2==1.1.0
67
+wrapt==1.7.0

+ 7
- 0
tox.ini View File

@@ -89,3 +89,10 @@ exclude=.venv,.git,.tox,dist,*egg,build
89 89
 [hacking]
90 90
 import_exceptions =
91 91
   six.moves
92
+
93
+[testenv:lower-constraints]
94
+basepython = python3
95
+deps =
96
+  -c{toxinidir}/lower-constraints.txt
97
+  -r{toxinidir}/test-requirements.txt
98
+  -r{toxinidir}/requirements.txt

Loading…
Cancel
Save