summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-03-22 15:48:57 -0400
committerDoug Hellmann <doug@doughellmann.com>2018-03-22 15:48:57 -0400
commit347049e78ffbffdb6ed5f857e55978b3cad7e86d (patch)
tree616a5ab099e0778f5a6070cce2f987de9fe97a9a
parent09c3a31e8f1d2de6f292399ac97c61b1dca3e5b7 (diff)
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: Id195a44f356607f68dd88246f09ae0a4f46ca64a 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+2: Witold Bedyk <witold.bedyk@est.fujitsu.com> Workflow+1: Amir Mofakhar <amofakhar@op5.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 27 Mar 2018 13:36:36 +0000 Reviewed-on: https://review.openstack.org/555886 Project: openstack/monasca-notification Branch: refs/heads/master
-rw-r--r--.zuul.yaml4
-rw-r--r--lower-constraints.txt67
-rw-r--r--tox.ini7
3 files changed, 78 insertions, 0 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index b8e7c54..169bae0 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -5,3 +5,7 @@
5 voting: false 5 voting: false
6 - monasca-tempest-java-influxdb: 6 - monasca-tempest-java-influxdb:
7 voting: false 7 voting: false
8 - openstack-tox-lower-constraints
9 gate:
10 jobs:
11 - openstack-tox-lower-constraints
diff --git a/lower-constraints.txt b/lower-constraints.txt
new file mode 100644
index 0000000..68f5ecf
--- /dev/null
+++ b/lower-constraints.txt
@@ -0,0 +1,67 @@
1appdirs==1.3.0
2Babel==2.3.4
3bandit==1.4.0
4configparser==3.5.0
5coverage==4.0
6debtcollector==1.2.0
7extras==1.0.0
8fixtures==3.0.0
9flake8==2.5.5
10future==0.16.0
11gevent==1.2.2
12gitdb==0.6.4
13GitPython==1.0.1
14greenlet==0.4.10
15hacking==0.12.0
16iso8601==0.1.11
17kazoo==2.2
18keystoneauth1==3.4.0
19linecache2==1.0.0
20mccabe==0.2.1
21mock==2.0.0
22monasca-common==2.7.0
23monasca-statsd==1.1.0
24monotonic==0.6
25mox3==0.20.0
26msgpack-python==0.4.0
27netaddr==0.7.18
28netifaces==0.10.4
29os-client-config==1.28.0
30os-testr==1.0.0
31oslo.config==5.2.0
32oslo.context==2.19.2
33oslo.i18n==3.15.3
34oslo.log==3.36.0
35oslo.policy==1.30.0
36oslo.serialization==2.18.0
37oslo.utils==3.33.0
38oslotest==3.2.0
39pbr==2.0.0
40pep8==1.5.7
41psycopg2==2.6.2
42pyflakes==0.8.1
43pyinotify==0.9.6
44pykafka==2.5.0
45PyMySQL==0.7.6
46pyparsing==2.1.0
47python-dateutil==2.5.3
48python-mimeparse==1.6.0
49python-statsd==2.1.0
50python-subunit==1.0.0
51pytz==2013.6
52PyYAML==3.12
53requests==2.14.2
54requestsexceptions==1.2.0
55rfc3986==0.3.1
56six==1.10.0
57smmap==0.9.0
58SQLAlchemy==1.0.10
59stestr==1.0.0
60stevedore==1.20.0
61tabulate==0.8.1
62testrepository==0.0.18
63testtools==2.2.0
64traceback2==1.4.0
65ujson==1.35
66unittest2==1.1.0
67wrapt==1.7.0
diff --git a/tox.ini b/tox.ini
index bd83fac..85dc6ee 100644
--- a/tox.ini
+++ b/tox.ini
@@ -89,3 +89,10 @@ exclude=.venv,.git,.tox,dist,*egg,build
89[hacking] 89[hacking]
90import_exceptions = 90import_exceptions =
91 six.moves 91 six.moves
92
93[testenv:lower-constraints]
94basepython = python3
95deps =
96 -c{toxinidir}/lower-constraints.txt
97 -r{toxinidir}/test-requirements.txt
98 -r{toxinidir}/requirements.txt