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

+ 1
- 0
.zuul.yaml View File

@@ -6,3 +6,4 @@
6 6
       - check-requirements
7 7
       - publish-openstack-docs-pti
8 8
       - release-notes-jobs-python3
9
+      - openstack-lower-constraints-jobs

+ 83
- 0
lower-constraints.txt View File

@@ -0,0 +1,83 @@
1
+anyjson==0.3.3
2
+appdirs==1.3.0
3
+asn1crypto==0.23.0
4
+Babel==2.3.4
5
+cffi==1.7.0
6
+cliff==2.8.0
7
+cmd2==0.8.0
8
+coverage==4.0
9
+cryptography==2.1
10
+debtcollector==1.2.0
11
+decorator==3.4.0
12
+deprecation==1.0
13
+dogpile.cache==0.6.2
14
+extras==1.0.0
15
+fixtures==3.0.0
16
+flake8==2.5.5
17
+hacking==0.12.0
18
+idna==2.6
19
+iso8601==0.1.11
20
+Jinja2==2.10
21
+jmespath==0.9.0
22
+jsonpatch==1.16
23
+jsonpointer==1.13
24
+jsonschema==2.6.0
25
+keystoneauth1==3.4.0
26
+linecache2==1.0.0
27
+MarkupSafe==1.0
28
+mccabe==0.2.1
29
+mock==2.0.0
30
+monotonic==0.6
31
+msgpack-python==0.4.0
32
+munch==2.1.0
33
+netaddr==0.7.18
34
+netifaces==0.10.4
35
+openstacksdk==0.11.2
36
+os-apply-config==5.0.0
37
+os-client-config==1.28.0
38
+os-service-types==1.2.0
39
+osc-lib==1.8.0
40
+oslo.config==5.2.0
41
+oslo.i18n==3.15.3
42
+oslo.serialization==2.18.0
43
+oslo.utils==3.33.0
44
+paunch==4.0.0
45
+pbr==2.0.0
46
+pep8==1.5.7
47
+positional==1.2.1
48
+prettytable==0.7.2
49
+pycparser==2.18
50
+pycrypto==2.6
51
+pyflakes==0.8.1
52
+pyOpenSSL==17.1.0
53
+pyparsing==2.1.0
54
+pyperclip==1.5.27
55
+pystache==0.5.4
56
+python-cinderclient==3.3.0
57
+python-glanceclient==2.8.0
58
+python-heatclient==1.10.0
59
+python-keystoneclient==3.8.0
60
+python-mimeparse==1.6.0
61
+python-novaclient==9.1.0
62
+python-openstackclient==3.12.0
63
+python-subunit==1.0.0
64
+python-swiftclient==3.2.0
65
+pytz==2013.6
66
+PyYAML==3.12
67
+pyzmq==14.3.1
68
+requests==2.14.2
69
+requests-mock==1.1.0
70
+requestsexceptions==1.2.0
71
+rfc3986==0.3.1
72
+salt==2017.7.4
73
+simplejson==3.5.1
74
+six==1.10.0
75
+stevedore==1.20.0
76
+testrepository==0.0.18
77
+testscenarios==0.4
78
+testtools==2.2.0
79
+tornado==4.4.3
80
+traceback2==1.4.0
81
+unittest2==1.1.0
82
+warlock==1.2.0
83
+wrapt==1.7.0

+ 1
- 1
test-requirements.txt View File

@@ -6,7 +6,7 @@ fixtures>=3.0.0 # Apache-2.0/BSD
6 6
 # Hacking already pins down pep8, pyflakes and flake8
7 7
 hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
8 8
 mock>=2.0.0 # BSD
9
-paunch>=1.0.0 # Apache-2.0
9
+paunch>=4.0.0 # Apache-2.0
10 10
 requests>=2.14.2 # Apache-2.0
11 11
 requests-mock>=1.1.0 # Apache-2.0
12 12
 salt>=2017.7.4 # Apache-2.0

+ 7
- 0
tox.ini View File

@@ -33,3 +33,10 @@ exclude=.venv,.git,.tox,*lib/python*,private,.eggs
33 33
 basepython = python3
34 34
 deps = -r{toxinidir}/doc/requirements.txt
35 35
 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
36
+
37
+[testenv:lower-constraints]
38
+basepython = python3
39
+deps =
40
+  -c{toxinidir}/lower-constraints.txt
41
+  -r{toxinidir}/test-requirements.txt
42
+  -r{toxinidir}/requirements.txt

Loading…
Cancel
Save