From ebf477511f0ef251d518414eef49f05c5184d87c Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Mon, 23 Nov 2020 21:56:30 +0000 Subject: [PATCH] Pin keystoneauth1 and cachetools on older Python Recent versions of keystoneauth1 have dropped support for Python 2.7 and 3.5, but the versions of openstacksdk we're pinning on those Python releases don't pin keystoneauth1, so we have to do it ourselves. Same goes for cachetools 4.0.0 dropping Python 2.7 support. Change-Id: Id14c88b5e8dbf294e5f6d9e8d809493e81abd41c --- test-requirements.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test-requirements.txt b/test-requirements.txt index b13e51ea3..35578a462 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -17,6 +17,12 @@ stestr>=1.0.0;python_version>='3.5' # Apache-2.0 # when we dropped 3.5 in zuul-jobs as well. openstacksdk>=0.17.1,<0.48.0;python_version<'3.6' openstacksdk>=0.17.1;python_version>='3.6' +# TODO: keystoneauth1 4.1.0 dropped python 2.7 and 3.5 support. Remove this +# constraint when we drop them in zuul-jobs as well. +keystoneauth1>=3.18.0,<4.1.0;python_version<'3.6' +# TODO: cachetools 4.0.0 dropped python 2.7 support. Remove this constraint +# when we drop it in zuul-jobs as well. +cachetools>=2.0.0,<4.0;python_version<'3.5' requests requestsexceptions bs4