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

+ 71
- 0
lower-constraints.txt View File

@@ -0,0 +1,71 @@
1
+alembic==0.8.10
2
+appdirs==1.3.0
3
+Babel==2.3.4
4
+bandit==1.4.0
5
+cffi==1.7.0
6
+cliff==2.8.0
7
+cmd2==0.8.0
8
+coverage==4.0
9
+debtcollector==1.2.0
10
+decorator==3.4.0
11
+eventlet==0.18.2
12
+extras==1.0.0
13
+fixtures==3.0.0
14
+flake8==2.5.5
15
+future==0.16.0
16
+gitdb==0.6.4
17
+GitPython==1.0.1
18
+greenlet==0.4.10
19
+hacking==0.12.0
20
+iso8601==0.1.11
21
+keystoneauth1==3.4.0
22
+linecache2==1.0.0
23
+Mako==0.4.0
24
+MarkupSafe==1.0
25
+mccabe==0.2.1
26
+mock==2.0.0
27
+monotonic==0.6
28
+mox3==0.20.0
29
+netaddr==0.7.18
30
+netifaces==0.10.4
31
+os-client-config==1.28.0
32
+os-testr==1.0.0
33
+oslo.config==5.2.0
34
+oslo.context==2.19.2
35
+oslo.i18n==3.15.3
36
+oslo.utils==3.33.0
37
+oslotest==3.2.0
38
+pbr==2.0.0
39
+pep8==1.5.7
40
+pifpaf==0.10.0
41
+prettytable==0.7.2
42
+psycopg2==2.6.2
43
+pycparser==2.18
44
+pyflakes==0.8.1
45
+PyMySQL==0.7.6
46
+pyparsing==2.1.0
47
+pyperclip==1.5.27
48
+python-editor==1.0.3
49
+python-mimeparse==1.6.0
50
+python-subunit==1.0.0
51
+pytz==2013.6
52
+PyYAML==3.12
53
+requests==2.14.2
54
+requestsexceptions==1.2.0
55
+rfc3986==0.3.1
56
+six==1.10.0
57
+smmap==0.9.0
58
+SQLAlchemy==1.0.10
59
+sqlalchemy-migrate==0.11.0
60
+sqlparse==0.2.2
61
+stestr==1.0.0
62
+stevedore==1.20.0
63
+Tempita==0.5.2
64
+testrepository==0.0.18
65
+testresources==2.0.0
66
+testscenarios==0.4
67
+testtools==2.2.0
68
+traceback2==1.4.0
69
+unittest2==1.1.0
70
+wrapt==1.7.0
71
+xattr==0.9.2

+ 7
- 0
tox.ini View File

@@ -72,3 +72,10 @@ import_exceptions =
72 72
 # of the requirements.txt files
73 73
 deps = pip_missing_reqs
74 74
 commands = pip-missing-reqs -d --ignore-module=oslo_db* --ignore-module=pkg_resources --ignore-file=oslo_db/tests/* oslo_db
75
+
76
+[testenv:lower-constraints]
77
+basepython = python3
78
+deps =
79
+  -c{toxinidir}/lower-constraints.txt
80
+  -r{toxinidir}/test-requirements.txt
81
+  -r{toxinidir}/requirements.txt

Loading…
Cancel
Save