summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElod Illes <elod.illes@est.tech>2021-02-25 10:43:52 +0100
committerElod Illes <elod.illes@est.tech>2021-02-26 19:48:58 +0100
commitc3f9d3dc91cfffa86e0fc921da82c261ca0f6b21 (patch)
tree74abb9ae19b1dc77ed1194e16826bbbb79b4efad
parenteff57e09b55aaf1f00b01c289526ceddefdf25d9 (diff)
downloadosprofiler-stable/queens.tar.gz
[stable-only] Cap bandit to 1.6.2queens-eolstable/queens
The 1.6.3 [1] release has dropped support for py2 [2] but the release is faulty and pip still picks it up for py2 [3][4], so cap to 1.6.2 when using py2. sphinx requirement updated to make requirements-check job pass. [1] https://github.com/PyCQA/bandit/releases/tag/1.6.3 [2] https://github.com/PyCQA/bandit/pull/615 [3] https://github.com/PyCQA/bandit/issues/663 [4] https://github.com/PyCQA/bandit/issues/665 Change-Id: I95461280d11b14199ba64a2da5709a1e2f4531df
-rw-r--r--test-requirements.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index aa45596..a9b470f 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -8,10 +8,11 @@ testrepository>=0.0.18 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
openstackdocstheme>=1.11.0 # Apache-2.0
-sphinx>=1.6.2 # BSD
+sphinx>=1.6.2,!=1.6.6,<2.0.0;python_version=='2.7' # BSD
+sphinx>=1.6.2,!=1.6.6;python_version>='3.4' # BSD
# Bandit security code scanner
-bandit>=1.1.0 # Apache-2.0
+bandit>=1.1.0,<=1.6.2 # Apache-2.0
python-ceilometerclient>=2.5.0 # Apache-2.0
pymongo>=3.0.2,!=3.1 # Apache-2.0