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: I36bae9bbd868d472e1904948c67b67db7b38819f
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
changes/27/555827/2
Doug Hellmann 1 year ago
parent
commit
d53b471264
4 changed files with 125 additions and 1 deletions
  1. 4
    0
      .zuul.yaml
  2. 113
    0
      lower-constraints.txt
  3. 1
    1
      requirements.txt
  4. 7
    0
      tox.ini

+ 4
- 0
.zuul.yaml View File

@@ -4,6 +4,10 @@
4 4
         - mixmatch-dsvm-functional:
5 5
             voting: false
6 6
 
7
+        - openstack-tox-lower-constraints
8
+    gate:
9
+      jobs:
10
+        - openstack-tox-lower-constraints
7 11
 - job:
8 12
     name: mixmatch-dsvm-functional
9 13
     parent: legacy-dsvm-base

+ 113
- 0
lower-constraints.txt View File

@@ -0,0 +1,113 @@
1
+alabaster==0.7.10
2
+alembic==0.9.8
3
+amqp==2.2.2
4
+appdirs==1.4.3
5
+Babel==2.5.3
6
+bashate==0.5.1
7
+cachetools==2.0.1
8
+certifi==2018.1.18
9
+chardet==3.0.4
10
+click==6.7
11
+cliff==2.11.0
12
+cmd2==0.8.1
13
+contextlib2==0.5.5
14
+coverage==4.0
15
+debtcollector==1.19.0
16
+decorator==4.2.1
17
+docutils==0.14
18
+dogpile.cache==0.6.5
19
+dulwich==0.19.0
20
+enum-compat==0.0.2
21
+eventlet==0.18.2
22
+extras==1.0.0
23
+fasteners==0.14.1
24
+fixtures==3.0.0
25
+flake8==2.5.4
26
+Flask==0.10
27
+future==0.16.0
28
+futurist==1.6.0
29
+greenlet==0.4.13
30
+hacking==0.12.0
31
+idna==2.6
32
+imagesize==1.0.0
33
+iso8601==0.1.12
34
+itsdangerous==0.24
35
+Jinja2==2.10
36
+keystoneauth1==3.4.0
37
+kombu==4.1.0
38
+linecache2==1.0.0
39
+Mako==1.0.7
40
+MarkupSafe==1.0
41
+mccabe==0.4.0
42
+mock==2.0.0
43
+monotonic==1.4
44
+mox3==0.25.0
45
+msgpack==0.5.6
46
+netaddr==0.7.19
47
+netifaces==0.10.6
48
+os-client-config==1.29.0
49
+os-testr==1.0.0
50
+oslo.cache==1.26.0
51
+oslo.concurrency==3.26.0
52
+oslo.config==5.1.0
53
+oslo.context==2.20.0
54
+oslo.db==4.27.0
55
+oslo.i18n==3.20.0
56
+oslo.log==3.36.0
57
+oslo.messaging==5.29.0
58
+oslo.middleware==3.35.0
59
+oslo.serialization==2.18.0
60
+oslo.service==1.30.0
61
+oslo.utils==3.36.0
62
+oslosphinx==4.7.0
63
+oslotest==3.2.0
64
+Paste==2.0.3
65
+PasteDeploy==1.5.2
66
+pbr==2.0.0
67
+pep8==1.7.1
68
+pika-pool==0.1.3
69
+pika==0.10.0
70
+prettytable==0.7.2
71
+pyflakes==1.0.0
72
+Pygments==2.2.0
73
+pyinotify==0.9.6
74
+pyparsing==2.2.0
75
+pyperclip==1.6.0
76
+python-dateutil==2.7.0
77
+python-editor==1.0.3
78
+python-keystoneclient==3.8.0
79
+python-mimeparse==1.6.0
80
+python-subunit==1.0.0
81
+pytz==2018.3
82
+PyYAML==3.12
83
+reno==2.5.0
84
+repoze.lru==0.7
85
+requests-mock==1.1.0
86
+requests==2.14.2
87
+requestsexceptions==1.4.0
88
+rfc3986==1.1.0
89
+Routes==2.3.1
90
+six==1.10.0
91
+snowballstemmer==1.2.1
92
+Sphinx==1.6.2
93
+sphinxcontrib-websupport==1.0.1
94
+sqlalchemy-migrate==0.11.0
95
+SQLAlchemy==1.0.10
96
+sqlparse==0.2.4
97
+statsd==3.2.2
98
+stestr==2.0.0
99
+stevedore==1.20.0
100
+Tempita==0.5.2
101
+tenacity==4.9.0
102
+testrepository==0.0.18
103
+testresources==2.0.1
104
+testscenarios==0.4
105
+testtools==2.2.0
106
+traceback2==1.4.0
107
+unittest2==1.1.0
108
+urllib3==1.22
109
+vine==1.1.4
110
+voluptuous==0.11.1
111
+WebOb==1.7.4
112
+Werkzeug==0.14.1
113
+wrapt==1.10.11

+ 1
- 1
requirements.txt View File

@@ -4,7 +4,7 @@
4 4
 
5 5
 pbr!=2.1.0,>=2.0.0 # Apache-2.0
6 6
 
7
-eventlet!=0.18.3,!=0.20.1,<0.21.0,>=0.18.2 # MIT
7
+eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT
8 8
 Flask!=0.11,<1.0,>=0.10 # BSD
9 9
 SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT
10 10
 oslo.cache>=1.26.0 # Apache-2.0

+ 7
- 0
tox.ini View File

@@ -42,3 +42,10 @@ show-source = True
42 42
 ignore = E123,E125,H306,H301
43 43
 builtins = _
44 44
 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
45
+
46
+[testenv:lower-constraints]
47
+basepython = python3
48
+deps =
49
+  -c{toxinidir}/lower-constraints.txt
50
+  -r{toxinidir}/test-requirements.txt
51
+  -r{toxinidir}/requirements.txt

Loading…
Cancel
Save