summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGage Hugo <gagehugo@gmail.com>2019-05-16 11:06:44 -0500
committerGage Hugo <gagehugo@gmail.com>2019-05-20 11:26:34 -0500
commite93d078958047ebc15159224e2068acdd8e6b768 (patch)
treee9b5b67a257e86cb199988e5a12c1b9eb1430d06 /doc
parent3e4097128d29de8e0a5ba2843ae74a9a63b30ac0 (diff)
downloadkeystonemiddleware-e93d078958047ebc15159224e2068acdd8e6b768.tar.gz
Blacklist bandit 1.6.0 & cap sphinx for 2.7
The latest version of bandit has broken directory exclusion, so multiple test files are getting flagged. This change blocks version 1.6.0 while this issue is fixed for 1.6.1. This change also caps sphinx at <2.0.0 for python version 2.7. Change-Id: I5d32d835886360522af21f735c74b2f85036f7f1
Diffstat (limited to 'doc')
-rw-r--r--doc/requirements.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
index 6e62d8d..bf40912 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -6,7 +6,8 @@
doc8>=0.6.0 # Apache-2.0
openstackdocstheme>=1.18.1 # Apache-2.0
reno>=2.5.0 # Apache-2.0
-sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
+sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
+sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
sphinxcontrib-apidoc>=0.2.0 # BSD
# For autodoc builds