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.

Also fix the lower bound for requests-kerberos.

Change-Id: Ie5da1d132321b2cffea3eb8522462daad45900b5
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
tags/3.5.0^0
Doug Hellmann 1 year ago
parent
commit
f41e304849
6 changed files with 101 additions and 2 deletions
  1. 6
    0
      .zuul.yaml
  2. 6
    0
      bindep.txt
  3. 80
    0
      lower-constraints.txt
  4. 1
    1
      setup.cfg
  5. 1
    1
      test-requirements.txt
  6. 7
    0
      tox.ini

+ 6
- 0
.zuul.yaml View File

@@ -5,3 +5,9 @@
5 5
       - osc-tox-unit-tips
6 6
       - shade-functional-tips
7 7
       - shade-tox-tips
8
+    check:
9
+      jobs:
10
+        - openstack-tox-lower-constraints
11
+    gate:
12
+      jobs:
13
+        - openstack-tox-lower-constraints

+ 6
- 0
bindep.txt View File

@@ -6,3 +6,9 @@ python-dev [platform:dpkg test]
6 6
 python-devel [platform:rpm test]
7 7
 libkrb5-dev [platform:dpkg test]
8 8
 krb5-devel [platform:rpm test]
9
+libxml2-dev [platform:dpkg]
10
+libxml2-devel [platform:rpm]
11
+libxslt-devel [platform:rpm]
12
+libxslt1-dev [platform:dpkg]
13
+zlib-devel [platform:rpm]
14
+zlib1g-dev [platform:dpkg]

+ 80
- 0
lower-constraints.txt View File

@@ -0,0 +1,80 @@
1
+alabaster==0.7.10
2
+appdirs==1.4.3
3
+Babel==2.5.3
4
+bandit==1.1.0
5
+betamax==0.7.0
6
+certifi==2018.1.18
7
+chardet==3.0.4
8
+cliff==2.11.0
9
+cmd2==0.8.1
10
+coverage==4.0
11
+debtcollector==1.19.0
12
+docutils==0.14
13
+dulwich==0.19.0
14
+extras==1.0.0
15
+fixtures==3.0.0
16
+flake8-docstrings==0.2.1.post1
17
+flake8-import-order==0.17.1
18
+flake8==2.5.5
19
+future==0.16.0
20
+gitdb2==2.0.3
21
+GitPython==2.1.8
22
+hacking==0.12.0
23
+idna==2.6
24
+imagesize==1.0.0
25
+iso8601==0.1.11
26
+Jinja2==2.10
27
+linecache2==1.0.0
28
+lxml==3.4.1
29
+MarkupSafe==1.0
30
+mccabe==0.2.1
31
+mock==2.0.0
32
+monotonic==1.4
33
+mox3==0.25.0
34
+netaddr==0.7.19
35
+netifaces==0.10.6
36
+oauthlib==0.6.2
37
+openstack-requirements==1.2.0
38
+openstackdocstheme==1.18.1
39
+os-client-config==1.29.0
40
+os-testr==1.0.0
41
+oslo.config==5.2.0
42
+oslo.i18n==3.20.0
43
+oslo.utils==3.33.0
44
+oslotest==3.2.0
45
+packaging==17.1
46
+Parsley==1.3
47
+pbr==2.0.0
48
+pep257==0.7.0
49
+pep8==1.5.7
50
+prettytable==0.7.2
51
+pycodestyle==2.3.1
52
+pyflakes==0.8.1
53
+Pygments==2.2.0
54
+pyparsing==2.2.0
55
+pyperclip==1.6.0
56
+python-mimeparse==1.6.0
57
+python-subunit==1.2.0
58
+pytz==2018.3
59
+PyYAML==3.12
60
+reno==2.5.0
61
+requests-kerberos==0.8.0
62
+requests-mock==1.2.0
63
+requests==2.14.2
64
+requestsexceptions==1.4.0
65
+rfc3986==1.1.0
66
+six==1.10.0
67
+smmap2==2.0.3
68
+snowballstemmer==1.2.1
69
+Sphinx==1.6.2
70
+sphinxcontrib-websupport==1.0.1
71
+stestr==1.0.0
72
+stevedore==1.20.0
73
+testrepository==0.0.20
74
+testresources==2.0.0
75
+testtools==2.2.0
76
+traceback2==1.4.0
77
+unittest2==1.1.0
78
+urllib3==1.22
79
+voluptuous==0.11.1
80
+wrapt==1.10.11

+ 1
- 1
setup.cfg View File

@@ -24,7 +24,7 @@ packages =
24 24
 
25 25
 [extras]
26 26
 kerberos =
27
-  requests-kerberos>=0.6 # ISC
27
+  requests-kerberos>=0.8.0 # ISC
28 28
 saml2 =
29 29
   lxml!=3.7.0,>=3.4.1 # BSD
30 30
 oauth1 =

+ 1
- 1
test-requirements.txt View File

@@ -23,6 +23,6 @@ stestr>=1.0.0 # Apache-2.0
23 23
 testresources>=2.0.0 # Apache-2.0/BSD
24 24
 testtools>=2.2.0 # MIT
25 25
 PyYAML>=3.12 # MIT
26
-requests-kerberos>=0.6 # ISC
26
+requests-kerberos>=0.8.0 # ISC
27 27
 lxml!=3.7.0,>=3.4.1 # BSD
28 28
 oauthlib>=0.6.2 # BSD

+ 7
- 0
tox.ini View File

@@ -78,3 +78,10 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
78 78
 
79 79
 [hacking]
80 80
 local-check-factory = keystoneauth1.hacking.checks.factory
81
+
82
+[testenv:lower-constraints]
83
+basepython = python3
84
+deps =
85
+  -c{toxinidir}/lower-constraints.txt
86
+  -r{toxinidir}/test-requirements.txt
87
+  -r{toxinidir}/requirements.txt

Loading…
Cancel
Save