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

+ 59
- 0
lower-constraints.txt View File

@@ -0,0 +1,59 @@
1
+alabaster==0.7.10
2
+appdirs==1.3.0
3
+Babel==2.3.4
4
+bandit==1.4.0
5
+coverage==4.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
+fasteners==0.7.0
12
+fixtures==3.0.0
13
+flake8==2.5.5
14
+gitdb==0.6.4
15
+GitPython==1.0.1
16
+greenlet==0.4.10
17
+hacking==0.12.0
18
+imagesize==0.7.1
19
+iso8601==0.1.11
20
+Jinja2==2.10
21
+keystoneauth1==3.4.0
22
+linecache2==1.0.0
23
+MarkupSafe==1.0
24
+mccabe==0.2.1
25
+mock==2.0.0
26
+monotonic==0.6
27
+mox3==0.20.0
28
+netaddr==0.7.18
29
+netifaces==0.10.4
30
+openstackdocstheme==1.18.1
31
+os-client-config==1.28.0
32
+oslo.config==5.2.0
33
+oslo.i18n==3.15.3
34
+oslo.utils==3.33.0
35
+oslotest==3.2.0
36
+pbr==2.0.0
37
+pep8==1.5.7
38
+pyflakes==0.8.1
39
+Pygments==2.2.0
40
+pyparsing==2.1.0
41
+python-mimeparse==1.6.0
42
+python-subunit==1.0.0
43
+pytz==2013.6
44
+PyYAML==3.12
45
+reno==2.5.0
46
+requests==2.14.2
47
+requestsexceptions==1.2.0
48
+rfc3986==0.3.1
49
+six==1.10.0
50
+smmap==0.9.0
51
+snowballstemmer==1.2.1
52
+Sphinx==1.6.5
53
+sphinxcontrib-websupport==1.0.1
54
+stevedore==1.20.0
55
+testrepository==0.0.18
56
+testtools==2.2.0
57
+traceback2==1.4.0
58
+unittest2==1.1.0
59
+wrapt==1.7.0

+ 7
- 0
tox.ini View File

@@ -49,3 +49,10 @@ commands = pip-missing-reqs -d --ignore-module=oslo_concurrency* --ignore-file=o
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