summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Nemec <bnemec@redhat.com>2019-05-15 15:20:46 +0000
committerBen Nemec <bnemec@redhat.com>2019-05-15 15:20:46 +0000
commit810d60a5572c2f0053059132aeb63d81df93caed (patch)
tree7bdcff9b31905af6754aab536efe4a7dce1f498a
parent292a952e2bb19b218c9db9337fa3799f5fa1ae06 (diff)
downloadoslo-i18n-810d60a5572c2f0053059132aeb63d81df93caed.tar.gz
Cap Bandit below 1.6.0 and update Sphinx requirement
Bandit 1.6.0 accidentally changed how the exclusion list option is handled and breaks our use of it. Cap to the previous version until Bandit has fixed the problem. Sphinx 2.0 no longer works on python 2.7, so we need to start capping it there as well. Change-Id: Id9a875393e42d9fc54d8c571d368180fec122839 Reference: https://github.com/PyCQA/bandit/pull/489
-rw-r--r--test-requirements.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 34e0469..2801fae 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -4,7 +4,8 @@
hacking>=1.1.0,<1.2.0 # Apache-2.0
stestr>=2.0.0 # Apache-2.0
-sphinx!=1.6.6,!=1.6.7,>=1.6.5 # BSD
+sphinx!=1.6.6,!=1.6.7,>=1.6.5,<2.0.0;python_version=='2.7' # BSD
+sphinx!=1.6.6,!=1.6.7,>=1.6.5;python_version>='3.4' # BSD
openstackdocstheme>=1.18.1 # Apache-2.0
mock>=2.0.0 # BSD
@@ -18,4 +19,4 @@ oslo.config>=5.2.0 # Apache-2.0
reno>=2.5.0 # Apache-2.0
# Bandit security code scanner
-bandit>=1.1.0 # Apache-2.0
+bandit>=1.1.0,<1.6.0 # Apache-2.0