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: I673d98410d124d082272a7ba23836eb2e818f3e9
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
tags/2.10.0
Doug Hellmann 1 year ago
parent
commit
989b5e7eec
3 changed files with 128 additions and 0 deletions
  1. 7
    0
      .zuul.yaml
  2. 114
    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

+ 114
- 0
lower-constraints.txt View File

@@ -0,0 +1,114 @@
1
+alabaster==0.7.10
2
+amqp==2.1.1
3
+appdirs==1.3.0
4
+asn1crypto==0.23.0
5
+Babel==2.3.4
6
+bandit==1.4.0
7
+cachetools==2.0.0
8
+cffi==1.7.0
9
+cliff==2.8.0
10
+cmd2==0.8.0
11
+contextlib2==0.4.0
12
+coverage==4.0
13
+cryptography==2.1
14
+debtcollector==1.2.0
15
+decorator==3.4.0
16
+deprecation==1.0
17
+docutils==0.11
18
+dogpile.cache==0.6.2
19
+dulwich==0.15.0
20
+eventlet==0.18.2
21
+extras==1.0.0
22
+fasteners==0.7.0
23
+fixtures==3.0.0
24
+flake8==2.5.5
25
+futurist==1.2.0
26
+gitdb==0.6.4
27
+GitPython==1.0.1
28
+greenlet==0.4.10
29
+hacking==0.12.0
30
+idna==2.6
31
+imagesize==0.7.1
32
+iso8601==0.1.11
33
+Jinja2==2.10
34
+jmespath==0.9.0
35
+jsonpatch==1.16
36
+jsonpointer==1.13
37
+jsonschema==2.6.0
38
+keystoneauth1==3.4.0
39
+kombu==4.0.0
40
+linecache2==1.0.0
41
+MarkupSafe==1.0
42
+mccabe==0.2.1
43
+mock==2.0.0
44
+monotonic==0.6
45
+mox3==0.20.0
46
+msgpack-python==0.4.0
47
+munch==2.1.0
48
+netaddr==0.7.18
49
+netifaces==0.10.4
50
+openstackdocstheme==1.18.1
51
+openstacksdk==0.11.2
52
+os-client-config==1.28.0
53
+os-service-types==1.2.0
54
+osc-lib==1.8.0
55
+oslo.concurrency==3.25.0
56
+oslo.config==5.2.0
57
+oslo.context==2.19.2
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.serialization==2.18.0
63
+oslo.service==1.24.0
64
+oslo.utils==3.33.0
65
+oslotest==3.2.0
66
+osprofiler==1.4.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
+pycparser==2.18
76
+pyflakes==0.8.1
77
+Pygments==2.2.0
78
+pyinotify==0.9.6
79
+pyOpenSSL==17.1.0
80
+pyparsing==2.1.0
81
+pyperclip==1.5.27
82
+python-cinderclient==3.3.0
83
+python-dateutil==2.5.3
84
+python-glanceclient==2.8.0
85
+python-keystoneclient==3.8.0
86
+python-mimeparse==1.6.0
87
+python-novaclient==9.1.0
88
+python-openstackclient==3.12.0
89
+python-subunit==1.0.0
90
+pytz==2013.6
91
+PyYAML==3.12
92
+repoze.lru==0.7
93
+requests==2.14.2
94
+requestsexceptions==1.2.0
95
+rfc3986==0.3.1
96
+Routes==2.3.1
97
+simplejson==3.5.1
98
+six==1.10.0
99
+smmap==0.9.0
100
+snowballstemmer==1.2.1
101
+Sphinx==1.6.5
102
+sphinxcontrib-websupport==1.0.1
103
+statsd==3.2.1
104
+stevedore==1.20.0
105
+tenacity==3.2.1
106
+testrepository==0.0.18
107
+testscenarios==0.4
108
+testtools==2.2.0
109
+traceback2==1.4.0
110
+unittest2==1.1.0
111
+vine==1.1.4
112
+warlock==1.2.0
113
+WebOb==1.7.1
114
+wrapt==1.7.0

+ 7
- 0
tox.ini View File

@@ -64,3 +64,10 @@ exclude=.venv,.git,.tox,dist,doc,,*lib/python*,*egg,build
64 64
 
65 65
 [hacking]
66 66
 import_exceptions = magnumclient._i18n
67
+
68
+[testenv:lower-constraints]
69
+basepython = python3
70
+deps =
71
+  -c{toxinidir}/lower-constraints.txt
72
+  -r{toxinidir}/test-requirements.txt
73
+  -r{toxinidir}/requirements.txt

Loading…
Cancel
Save