From f5bd9dc2381867ed4e512c747806035a20ecb0e1 Mon Sep 17 00:00:00 2001 From: Elod Illes Date: Thu, 2 Apr 2020 11:31:19 +0200 Subject: [PATCH] [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 25d057f4b69e8c9d57ce1f1915c094f3891a233f) --- test-requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 8146666ff4..aa06028239 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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