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

+ 36
- 0
lower-constraints.txt View File

@@ -0,0 +1,36 @@
1
+appdirs==1.3.0
2
+Babel==2.3.4
3
+bandit==1.4.0
4
+coverage==4.0
5
+debtcollector==1.2.0
6
+extras==1.0.0
7
+fixtures==3.0.0
8
+flake8==2.5.5
9
+gitdb==0.6.4
10
+GitPython==1.0.1
11
+hacking==0.12.0
12
+iso8601==0.1.11
13
+keystoneauth1==3.4.0
14
+linecache2==1.0.0
15
+mccabe==0.2.1
16
+mock==2.0.0
17
+mox3==0.20.0
18
+os-client-config==1.28.0
19
+oslotest==3.2.0
20
+pbr==2.0.0
21
+pep8==1.5.7
22
+pyflakes==0.8.1
23
+python-mimeparse==1.6.0
24
+python-subunit==1.0.0
25
+pytz==2013.6
26
+PyYAML==3.12
27
+requests==2.14.2
28
+requestsexceptions==1.2.0
29
+six==1.10.0
30
+smmap==0.9.0
31
+stevedore==1.20.0
32
+testrepository==0.0.18
33
+testtools==2.2.0
34
+traceback2==1.4.0
35
+unittest2==1.1.0
36
+wrapt==1.7.0

+ 7
- 0
tox.ini View File

@@ -53,3 +53,10 @@ deps =
53 53
   -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
54 54
   -r{toxinidir}/doc/requirements.txt
55 55
 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
56
+
57
+[testenv:lower-constraints]
58
+basepython = python3
59
+deps =
60
+  -c{toxinidir}/lower-constraints.txt
61
+  -r{toxinidir}/test-requirements.txt
62
+  -r{toxinidir}/requirements.txt

Loading…
Cancel
Save