summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElod Illes <elod.illes@est.tech>2020-04-02 11:31:19 +0200
committerElod Illes <elod.illes@est.tech>2020-04-02 11:31:19 +0200
commit25d057f4b69e8c9d57ce1f1915c094f3891a233f (patch)
treeacb2629b3fefb6203e2a3cf0f5e4d66f25930d7d
parentf63a65acc0b70699e366f2ffe9f449835020e107 (diff)
downloadceilometer-25d057f4b69e8c9d57ce1f1915c094f3891a233f.tar.gz
[stable-only] Cap stestr for python 2
stestr dropped python 2 support with version 3.0.0 and ceilometer does not use constraints from openstack/requirements. test-requirements.txt is updated to use stestr<3.0.0 in case of python 2. Change-Id: Ic313c4566904e7470d845263d7cfdb4c9ee98690
-rw-r--r--test-requirements.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 7f7c5608..c03917cd 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -14,4 +14,5 @@ testscenarios>=0.4 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
gabbi>=1.30.0 # Apache-2.0
requests-aws>=0.1.4 # BSD License (3 clause)
-stestr>=1.0.0 # Apache-2.0
+stestr>=1.0.0,<3.0.0;python_version<'3.0' # Apache-2.0
+stestr>=1.0.0;python_version>='3.0' # Apache-2.0