[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
(cherry picked from commit 25d057f4b6)
This commit is contained in:
Elod Illes 2020-04-02 11:31:19 +02:00
parent 9923f27d24
commit f5bd9dc238
1 changed files with 2 additions and 1 deletions

View File

@ -18,4 +18,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