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

+ 30
- 0
lower-constraints.txt View File

@@ -0,0 +1,30 @@
1
+alabaster==0.7.10
2
+Babel==2.3.4
3
+coverage==4.0
4
+docutils==0.11
5
+dulwich==0.15.0
6
+extras==1.0.0
7
+fixtures==3.0.0
8
+flake8==2.5.5
9
+imagesize==0.7.1
10
+Jinja2==2.10
11
+linecache2==1.0.0
12
+MarkupSafe==1.0
13
+mccabe==0.4.0
14
+openstackdocstheme==1.18.1
15
+pbr==2.0.0
16
+pep8==1.7.1
17
+pyflakes==1.0.0
18
+Pygments==2.2.0
19
+python-mimeparse==1.6.0
20
+python-subunit==1.0.0
21
+pytz==2013.6
22
+requests==2.14.2
23
+six==1.10.0
24
+snowballstemmer==1.2.1
25
+Sphinx==1.6.5
26
+sphinxcontrib-websupport==1.0.1
27
+testrepository==0.0.18
28
+testtools==2.2.0
29
+traceback2==1.4.0
30
+unittest2==1.1.0

+ 7
- 0
tox.ini View File

@@ -28,3 +28,10 @@ commands =
28 28
 show-source = true
29 29
 ignore = E721
30 30
 exclude=.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg
31
+
32
+[testenv:lower-constraints]
33
+basepython = python3
34
+deps =
35
+  -c{toxinidir}/lower-constraints.txt
36
+  -r{toxinidir}/test-requirements.txt
37
+  -r{toxinidir}/requirements.txt

Loading…
Cancel
Save