Fix bandit and sphinx requirements for stable branches
This is a combination of 2 commits. 1st commit: Update Sphinx requirement Sphinx 2.0 no longer works on python 2.7, so we need to start capping it there as well. 2nd commit: Fix bandit runs with 1.6.0 The -x option for bandit changed in 1.6.0 and now supports glob patterns so use that to correctly exclude test code from bandit scans. Change-Id: I588d3fb02ef61623affd82a43a54585aba0cb5f9
This commit is contained in:
@@ -13,4 +13,4 @@ testscenarios>=0.5.0 # Apache-2.0/BSD
|
||||
testtools>=2.3.0 # MIT
|
||||
stestr>=2.0.0 # Apache-2.0
|
||||
os-api-ref>=1.4.0 # Apache-2.0
|
||||
bandit>=1.1.0 # Apache-2.0
|
||||
bandit>=1.6.0 # Apache-2.0
|
||||
|
||||
Reference in New Issue
Block a user