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

View File

@ -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