summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElod Illes <elod.illes@est.tech>2021-01-08 19:15:49 +0100
committerElod Illes <elod.illes@est.tech>2021-01-08 19:15:49 +0100
commit59525df9bd7d131297f26c6ad7538a9c7fd02ef9 (patch)
tree3c9bb2135d0e49fbc61bbe5a7be5fb7693bcde00
parent88f1058eeec4c80b3ef2b72443bfc3df81dccc05 (diff)
downloadironic-59525df9bd7d131297f26c6ad7538a9c7fd02ef9.tar.gz
[stable-only] Fix bandit upper constraint
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. [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: I64da924b84d6a96d0440a562c0a7925406aff4c4
-rw-r--r--test-requirements.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index ab53cb70f..f520f0150 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -20,4 +20,4 @@ WebTest>=2.0.27 # MIT
bashate>=0.5.1 # Apache-2.0
flake8-import-order>=0.13 # LGPLv3
Pygments>=2.2.0 # BSD
-bandit!=1.6.0,>=1.1.0,<2.0.0 # Apache-2.0
+bandit!=1.6.0,>=1.1.0,<=1.6.2 # Apache-2.0