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

+ 86
- 0
lower-constraints.txt View File

@@ -0,0 +1,86 @@
1
+alabaster==0.7.10
2
+Babel==2.5.3
3
+certifi==2018.1.18
4
+chardet==3.0.4
5
+cliff==2.11.0
6
+cmd2==0.8.1
7
+contextlib2==0.5.5
8
+coverage==4.5.1
9
+debtcollector==1.19.0
10
+docutils==0.14
11
+enum-compat==0.0.2
12
+eventlet==0.20.0
13
+extras==1.0.0
14
+fasteners==0.14.1
15
+fixtures==3.0.0
16
+flake8==2.5.5
17
+future==0.16.0
18
+futurist==1.6.0
19
+greenlet==0.4.13
20
+hacking==0.12.0
21
+idna==2.6
22
+imagesize==1.0.0
23
+iso8601==0.1.12
24
+Jinja2==2.10
25
+kazoo==2.4.0
26
+linecache2==1.0.0
27
+MarkupSafe==1.0
28
+mccabe==0.2.1
29
+mock==2.0.0
30
+monasca-common==2.8.0
31
+monotonic==1.4
32
+msgpack==0.5.6
33
+netaddr==0.7.19
34
+netifaces==0.10.6
35
+nose==1.3.7
36
+os-testr==1.0.0
37
+oslo.concurrency==3.26.0
38
+oslo.config==5.2.0
39
+oslo.context==2.20.0
40
+oslo.i18n==3.20.0
41
+oslo.log==3.37.0
42
+oslo.policy==1.34.0
43
+oslo.serialization==2.25.0
44
+oslo.service==1.30.0
45
+oslo.utils==3.36.0
46
+Paste==2.0.3
47
+PasteDeploy==1.5.2
48
+pbr==3.1.1
49
+pep8==1.5.7
50
+prettytable==0.7.2
51
+psutil==5.4.3
52
+pyflakes==0.8.1
53
+Pygments==2.2.0
54
+pyinotify==0.9.6
55
+pykafka==2.7.0
56
+PyMySQL==0.8.0
57
+pyparsing==2.2.0
58
+pyperclip==1.6.0
59
+python-dateutil==2.7.0
60
+python-mimeparse==1.6.0
61
+python-subunit==1.2.0
62
+pytz==2018.3
63
+PyYAML==3.12
64
+repoze.lru==0.7
65
+requests==2.18.4
66
+rfc3986==1.1.0
67
+Routes==2.4.1
68
+six==1.11.0
69
+snowballstemmer==1.2.1
70
+Sphinx==1.6.5
71
+sphinxcontrib-websupport==1.0.1
72
+SQLAlchemy==1.2.5
73
+stestr==2.0.0
74
+stevedore==1.28.0
75
+tabulate==0.8.2
76
+tenacity==4.9.0
77
+testrepository==0.0.20
78
+testtools==2.3.0
79
+tooz==1.61.0
80
+traceback2==1.4.0
81
+ujson==1.35
82
+unittest2==1.1.0
83
+urllib3==1.22
84
+voluptuous==0.11.1
85
+WebOb==1.7.4
86
+wrapt==1.10.11

+ 7
- 0
tox.ini View File

@@ -93,3 +93,10 @@ ignore = H904,H405,E402
93 93
 enable-extensions=H106,H203
94 94
 show-source = True
95 95
 exclude=.venv,.git,.tox,dist,*egg,build
96
+
97
+[testenv:lower-constraints]
98
+basepython = python3
99
+deps =
100
+  -c{toxinidir}/lower-constraints.txt
101
+  -r{toxinidir}/test-requirements.txt
102
+  -r{toxinidir}/requirements.txt

Loading…
Cancel
Save