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

+ 115
- 0
lower-constraints.txt View File

@@ -0,0 +1,115 @@
1
+alabaster==0.7.10
2
+alembic==0.8.10
3
+amqp==2.1.1
4
+appdirs==1.3.0
5
+Babel==2.3.4
6
+cachetools==2.0.0
7
+cliff==2.8.0
8
+cmd2==0.8.0
9
+contextlib2==0.4.0
10
+coverage==4.0
11
+ddt==1.0.1
12
+debtcollector==1.2.0
13
+decorator==3.4.0
14
+deprecation==1.0
15
+docutils==0.11
16
+dogpile.cache==0.6.2
17
+dulwich==0.15.0
18
+eventlet==0.18.2
19
+extras==1.0.0
20
+fasteners==0.7.0
21
+fixtures==3.0.0
22
+flake8==2.5.5
23
+future==0.16.0
24
+futurist==1.2.0
25
+greenlet==0.4.10
26
+hacking==0.12.0
27
+imagesize==0.7.1
28
+iso8601==0.1.11
29
+ipaddress==1.0.16
30
+Jinja2==2.10
31
+jmespath==0.9.0
32
+jsonpatch==1.16
33
+jsonpointer==1.13
34
+keystoneauth1==3.4.0
35
+kombu==4.0.0
36
+linecache2==1.0.0
37
+Mako==0.4.0
38
+MarkupSafe==1.0
39
+mccabe==0.2.1
40
+mock==2.0.0
41
+monotonic==0.6
42
+mox3==0.20.0
43
+msgpack-python==0.4.0
44
+munch==2.1.0
45
+netaddr==0.7.18
46
+netifaces==0.10.4
47
+neutron-lib==1.13.0
48
+openstackdocstheme==1.18.1
49
+openstacksdk==0.11.2
50
+os-client-config==1.28.0
51
+os-service-types==1.2.0
52
+os-testr==1.0.0
53
+osc-lib==1.8.0
54
+oslo.concurrency==3.25.0
55
+oslo.config==5.2.0
56
+oslo.context==2.19.2
57
+oslo.db==4.27.0
58
+oslo.i18n==3.15.3
59
+oslo.log==3.36.0
60
+oslo.messaging==5.29.0
61
+oslo.middleware==3.31.0
62
+oslo.policy==1.30.0
63
+oslo.serialization==2.18.0
64
+oslo.service==1.24.0
65
+oslo.utils==3.33.0
66
+oslotest==3.2.0
67
+Paste==2.0.2
68
+PasteDeploy==1.5.0
69
+pbr==2.0.0
70
+pep8==1.5.7
71
+pika==0.10.0
72
+pika-pool==0.1.3
73
+positional==1.2.1
74
+prettytable==0.7.2
75
+pyflakes==0.8.1
76
+Pygments==2.2.0
77
+pyinotify==0.9.6
78
+pyparsing==2.1.0
79
+pyperclip==1.5.27
80
+pyroute2==0.4.21
81
+python-dateutil==2.5.3
82
+python-editor==1.0.3
83
+python-keystoneclient==3.8.0
84
+python-mimeparse==1.6.0
85
+python-neutronclient==6.7.0
86
+python-subunit==1.0.0
87
+pytz==2013.6
88
+PyYAML==3.12
89
+reno==2.5.0
90
+repoze.lru==0.7
91
+requests==2.14.2
92
+requestsexceptions==1.2.0
93
+rfc3986==0.3.1
94
+Routes==2.3.1
95
+simplejson==3.5.1
96
+six==1.10.0
97
+snowballstemmer==1.2.1
98
+Sphinx==1.6.2
99
+sphinxcontrib-websupport==1.0.1
100
+SQLAlchemy==1.0.10
101
+sqlalchemy-migrate==0.11.0
102
+sqlparse==0.2.2
103
+statsd==3.2.1
104
+stestr==1.0.0
105
+stevedore==1.20.0
106
+Tempita==0.5.2
107
+tenacity==3.2.1
108
+testrepository==0.0.18
109
+testscenarios==0.4
110
+testtools==2.2.0
111
+traceback2==1.4.0
112
+unittest2==1.1.0
113
+vine==1.1.4
114
+WebOb==1.7.1
115
+wrapt==1.7.0

+ 7
- 0
tox.ini View File

@@ -78,3 +78,10 @@ commands = oslo-config-generator --config-file=etc/kuryr-config-generator.conf
78 78
 
79 79
 [testenv:releasenotes]
80 80
 commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
81
+
82
+[testenv:lower-constraints]
83
+basepython = python3
84
+deps =
85
+  -c{toxinidir}/lower-constraints.txt
86
+  -r{toxinidir}/test-requirements.txt
87
+  -r{toxinidir}/requirements.txt

Loading…
Cancel
Save