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

+ 46
- 0
lower-constraints.txt View File

@@ -0,0 +1,46 @@
1
+alabaster==0.7.10
2
+astroid==1.6.2
3
+Babel==2.3.4
4
+bashate==0.5.1
5
+chardet==3.0.4
6
+demjson==2.2.2
7
+doc8==0.6.0
8
+docutils==0.11
9
+dulwich==0.15.0
10
+extras==1.0.0
11
+fixtures==3.0.0
12
+flake8==2.5.5
13
+hacking==0.12.0
14
+imagesize==0.7.1
15
+iso8601==0.1.11
16
+isort==4.3.4
17
+Jinja2==2.10
18
+lazy-object-proxy==1.3.1
19
+linecache2==1.0.0
20
+lxml==3.4.1
21
+MarkupSafe==1.0
22
+mccabe==0.2.1
23
+mock==2.0.0
24
+openstackdocstheme==1.18.1
25
+pbr==2.0.0
26
+pep8==1.5.7
27
+pyflakes==0.8.1
28
+Pygments==2.2.0
29
+pylint==1.7.1
30
+python-mimeparse==1.6.0
31
+python-subunit==1.0.0
32
+pytz==2013.6
33
+PyYAML==3.12
34
+reno==2.5.0
35
+requests==2.14.2
36
+restructuredtext-lint==1.1.1
37
+six==1.10.0
38
+snowballstemmer==1.2.1
39
+Sphinx==1.6.5
40
+sphinxcontrib-websupport==1.0.1
41
+stevedore==1.20.0
42
+testrepository==0.0.18
43
+testtools==2.2.0
44
+traceback2==1.4.0
45
+unittest2==1.1.0
46
+wrapt==1.7.0

+ 7
- 0
tox.ini View File

@@ -55,3 +55,10 @@ exclude=.venv,.git,.tox,dist,*lib/python*,*egg,build,doc/source/conf.py
55 55
 # 28 is currently the most complex thing we have
56 56
 max-complexity=29
57 57
 ignore = H101
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