summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-03-22 14:19:29 -0400
committerColleen Murphy <colleen.murphy@suse.de>2018-04-19 09:54:28 +0200
commitf41e30484902d305bab56c9194b32d215f08b7cf (patch)
tree5f5bb25ebfceb1f797d0973f69eb82762963e14a
parent0c6094631afcce16f34c39325c53954c7e7faef9 (diff)
add lower-constraints job3.5.0
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>
Notes
Notes (review): Code-Review+1: zhongshengping <chdzsp@163.com> Code-Review+1: pippo <huang.zhiping@99cloud.net> Code-Review+2: Gage Hugo <gagehugo@gmail.com> Code-Review+1: wangxiyuan <wangxiyuan@huawei.com> Code-Review+2: Colleen Murphy <colleen@gazlene.net> Workflow+1: Gage Hugo <gagehugo@gmail.com> Workflow+1: Colleen Murphy <colleen@gazlene.net> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 19 Apr 2018 09:23:05 +0000 Reviewed-on: https://review.openstack.org/555625 Project: openstack/keystoneauth Branch: refs/heads/master
-rw-r--r--.zuul.yaml6
-rw-r--r--bindep.txt6
-rw-r--r--lower-constraints.txt80
-rw-r--r--setup.cfg2
-rw-r--r--test-requirements.txt2
-rw-r--r--tox.ini7
6 files changed, 101 insertions, 2 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index ad89266..5807e07 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -5,3 +5,9 @@
5 - osc-tox-unit-tips 5 - osc-tox-unit-tips
6 - shade-functional-tips 6 - shade-functional-tips
7 - shade-tox-tips 7 - shade-tox-tips
8 check:
9 jobs:
10 - openstack-tox-lower-constraints
11 gate:
12 jobs:
13 - openstack-tox-lower-constraints
diff --git a/bindep.txt b/bindep.txt
index 2a783e6..138de94 100644
--- a/bindep.txt
+++ b/bindep.txt
@@ -6,3 +6,9 @@ python-dev [platform:dpkg test]
6python-devel [platform:rpm test] 6python-devel [platform:rpm test]
7libkrb5-dev [platform:dpkg test] 7libkrb5-dev [platform:dpkg test]
8krb5-devel [platform:rpm test] 8krb5-devel [platform:rpm test]
9libxml2-dev [platform:dpkg]
10libxml2-devel [platform:rpm]
11libxslt-devel [platform:rpm]
12libxslt1-dev [platform:dpkg]
13zlib-devel [platform:rpm]
14zlib1g-dev [platform:dpkg]
diff --git a/lower-constraints.txt b/lower-constraints.txt
new file mode 100644
index 0000000..a194d1b
--- /dev/null
+++ b/lower-constraints.txt
@@ -0,0 +1,80 @@
1alabaster==0.7.10
2appdirs==1.4.3
3Babel==2.5.3
4bandit==1.1.0
5betamax==0.7.0
6certifi==2018.1.18
7chardet==3.0.4
8cliff==2.11.0
9cmd2==0.8.1
10coverage==4.0
11debtcollector==1.19.0
12docutils==0.14
13dulwich==0.19.0
14extras==1.0.0
15fixtures==3.0.0
16flake8-docstrings==0.2.1.post1
17flake8-import-order==0.17.1
18flake8==2.5.5
19future==0.16.0
20gitdb2==2.0.3
21GitPython==2.1.8
22hacking==0.12.0
23idna==2.6
24imagesize==1.0.0
25iso8601==0.1.11
26Jinja2==2.10
27linecache2==1.0.0
28lxml==3.4.1
29MarkupSafe==1.0
30mccabe==0.2.1
31mock==2.0.0
32monotonic==1.4
33mox3==0.25.0
34netaddr==0.7.19
35netifaces==0.10.6
36oauthlib==0.6.2
37openstack-requirements==1.2.0
38openstackdocstheme==1.18.1
39os-client-config==1.29.0
40os-testr==1.0.0
41oslo.config==5.2.0
42oslo.i18n==3.20.0
43oslo.utils==3.33.0
44oslotest==3.2.0
45packaging==17.1
46Parsley==1.3
47pbr==2.0.0
48pep257==0.7.0
49pep8==1.5.7
50prettytable==0.7.2
51pycodestyle==2.3.1
52pyflakes==0.8.1
53Pygments==2.2.0
54pyparsing==2.2.0
55pyperclip==1.6.0
56python-mimeparse==1.6.0
57python-subunit==1.2.0
58pytz==2018.3
59PyYAML==3.12
60reno==2.5.0
61requests-kerberos==0.8.0
62requests-mock==1.2.0
63requests==2.14.2
64requestsexceptions==1.4.0
65rfc3986==1.1.0
66six==1.10.0
67smmap2==2.0.3
68snowballstemmer==1.2.1
69Sphinx==1.6.2
70sphinxcontrib-websupport==1.0.1
71stestr==1.0.0
72stevedore==1.20.0
73testrepository==0.0.20
74testresources==2.0.0
75testtools==2.2.0
76traceback2==1.4.0
77unittest2==1.1.0
78urllib3==1.22
79voluptuous==0.11.1
80wrapt==1.10.11
diff --git a/setup.cfg b/setup.cfg
index 67d3a24..9df35b7 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -24,7 +24,7 @@ packages =
24 24
25[extras] 25[extras]
26kerberos = 26kerberos =
27 requests-kerberos>=0.6 # ISC 27 requests-kerberos>=0.8.0 # ISC
28saml2 = 28saml2 =
29 lxml!=3.7.0,>=3.4.1 # BSD 29 lxml!=3.7.0,>=3.4.1 # BSD
30oauth1 = 30oauth1 =
diff --git a/test-requirements.txt b/test-requirements.txt
index 3b4b559..3d59461 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -23,6 +23,6 @@ stestr>=1.0.0 # Apache-2.0
23testresources>=2.0.0 # Apache-2.0/BSD 23testresources>=2.0.0 # Apache-2.0/BSD
24testtools>=2.2.0 # MIT 24testtools>=2.2.0 # MIT
25PyYAML>=3.12 # MIT 25PyYAML>=3.12 # MIT
26requests-kerberos>=0.6 # ISC 26requests-kerberos>=0.8.0 # ISC
27lxml!=3.7.0,>=3.4.1 # BSD 27lxml!=3.7.0,>=3.4.1 # BSD
28oauthlib>=0.6.2 # BSD 28oauthlib>=0.6.2 # BSD
diff --git a/tox.ini b/tox.ini
index a4a5c2b..9ed7ee7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -78,3 +78,10 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
78 78
79[hacking] 79[hacking]
80local-check-factory = keystoneauth1.hacking.checks.factory 80local-check-factory = keystoneauth1.hacking.checks.factory
81
82[testenv:lower-constraints]
83basepython = python3
84deps =
85 -c{toxinidir}/lower-constraints.txt
86 -r{toxinidir}/test-requirements.txt
87 -r{toxinidir}/requirements.txt