Cap Bandit below 1.6.0, update sphinx requirement, uncap jsonschema

Bandit 1.6.0 accidentally changed how the exclusion list option is
handled and breaks our use of it. Since we generally cap linters
and only move them forward when we're ready to deal with the fallout,
cap Bandit to the previous version until we have a reason to move to
a newer version.

Sphinx 2.0 no longer works on python 2.7, so we need to start capping
it there as well.

The jsonschema cap was removed in g-r so we need to remove it here too.

Change-Id: Ie8f45e4130297b50a8e98031f3f01244e646bec7
This commit is contained in:
Ben Nemec 2019-05-24 16:54:29 +00:00
parent f361e28375
commit e46976c02f
2 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,8 @@
# process, which may cause wedges in the gate later.
# These are needed for docs generation
openstackdocstheme>=1.18.1 # 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
reno>=2.5.0 # Apache-2.0
mock>=2.0.0 # BSD

View File

@ -5,11 +5,11 @@ hacking>=1.1.0,<1.2.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
testtools>=2.2.0 # MIT
coverage!=4.4,>=4.0 # Apache-2.0
jsonschema<3.0.0,>=2.6.0 # MIT
jsonschema>=2.6.0 # MIT
stestr>=2.0.0 # Apache-2.0
mock>=2.0.0 # BSD
fixtures>=3.0.0 # Apache-2.0/BSD
# Bandit security code scanner
bandit>=1.1.0 # Apache-2.0
bandit>=1.1.0,<1.6.0 # Apache-2.0