summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElod Illes <elod.illes@est.tech>2020-03-30 15:10:09 +0200
committerElod Illes <elod.illes@est.tech>2020-03-31 16:29:31 +0200
commit13a6dffa32789ac91b724977ed1d73375baf0824 (patch)
treee6c4c7ce6fbfb2ba0ccdff49a2f9d45203da1f34
parent966f25804fd2b32bc49993e8faaed25339bccb35 (diff)
downloadtooz-1.66.3.tar.gz
[stable-only] Cap stestr for python 2train-em1.66.3
stestr dropped python 2 support with version 3.0.0 and tooz does not use constraints from openstack/requirements, so test-requirements.txt is updated to use stestr<3.0.0 in case of python 2. Since tooz do not consume upper-constraints there is no need for requirement check job either so it is removed, too. Change-Id: I7a75be587efc2098e919f1ea34f9ffc357203dfb
-rw-r--r--.zuul.yaml1
-rw-r--r--test-requirements.txt3
2 files changed, 2 insertions, 2 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 114e63d..1d77daa 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -1,6 +1,5 @@
- project:
templates:
- - check-requirements
- lib-forward-testing
- lib-forward-testing-python3
- openstack-cover-jobs
diff --git a/test-requirements.txt b/test-requirements.txt
index 77d9ee3..cdec5fd 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -9,4 +9,5 @@ coverage>=3.6 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
pifpaf>=0.10.0 # Apache-2.0
os-testr>=0.8.0 # Apache-2.0
-stestr>=2.0.0
+stestr>=2.0.0,<3.0.0;python_version<'3.0'
+stestr>=2.0.0;python_version>='3.0'