diff options
author | Gage Hugo <gagehugo@gmail.com> | 2019-05-16 11:06:44 -0500 |
---|---|---|
committer | Gage Hugo <gagehugo@gmail.com> | 2019-05-20 11:26:34 -0500 |
commit | e93d078958047ebc15159224e2068acdd8e6b768 (patch) | |
tree | e9b5b67a257e86cb199988e5a12c1b9eb1430d06 | |
parent | 3e4097128d29de8e0a5ba2843ae74a9a63b30ac0 (diff) | |
download | keystonemiddleware-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
-rw-r--r-- | doc/requirements.txt | 3 | ||||
-rw-r--r-- | test-requirements.txt | 2 |
2 files changed, 3 insertions, 2 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 diff --git a/test-requirements.txt b/test-requirements.txt index 37d5c37..6ca0c43 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -20,4 +20,4 @@ WebTest>=2.0.27 # MIT oslo.messaging>=5.29.0 # Apache-2.0 # Bandit security code scanner -bandit>=1.1.0 # Apache-2.0 +bandit!=1.6.0,>=1.1.0 # Apache-2.0 |