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

+ 38
- 0
lower-constraints.txt View File

@@ -0,0 +1,38 @@
1
+alabaster==0.7.10
2
+Babel==2.3.4
3
+chardet==3.0.4
4
+coverage==4.0
5
+doc8==0.6.0
6
+docutils==0.11
7
+dulwich==0.15.0
8
+extras==1.0.0
9
+fixtures==3.0.0
10
+flake8==2.2.4
11
+hacking==0.10.3
12
+imagesize==0.7.1
13
+Jinja2==2.10
14
+linecache2==1.0.0
15
+MarkupSafe==1.0
16
+mccabe==0.2.1
17
+openstackdocstheme==1.18.1
18
+pbr==2.0.0
19
+pep8==1.5.7
20
+pyflakes==0.8.1
21
+Pygments==2.2.0
22
+python-mimeparse==1.6.0
23
+python-subunit==1.0.0
24
+pytz==2013.6
25
+PyYAML==3.12
26
+reno==2.5.0
27
+requests==2.14.2
28
+restructuredtext-lint==1.1.1
29
+six==1.10.0
30
+snowballstemmer==1.2.1
31
+Sphinx==1.6.5
32
+sphinxcontrib-websupport==1.0.1
33
+stevedore==1.20.0
34
+testrepository==0.0.18
35
+testtools==2.2.0
36
+traceback2==1.4.0
37
+unittest2==1.1.0
38
+wrapt==1.7.0

+ 7
- 0
tox.ini View File

@@ -55,3 +55,10 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
55 55
 
56 56
 [testenv:releasenotes]
57 57
 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
58
+
59
+[testenv:lower-constraints]
60
+basepython = python3
61
+deps =
62
+  -c{toxinidir}/lower-constraints.txt
63
+  -r{toxinidir}/test-requirements.txt
64
+  -r{toxinidir}/requirements.txt

Loading…
Cancel
Save