[stable-only] Cap bandit to 1.6.2

The 1.6.3 [1] release has dropped support for py2 [2] so cap to 1.6.2
when using py2.

[1] https://github.com/PyCQA/bandit/releases/tag/1.6.3
[2] https://github.com/PyCQA/bandit/pull/615

Depends-On: https://review.opendev.org/c/openstack/swift/+/766495

Conflicts:
  test-requirements.txt

Closes-Bug: #1907438
Change-Id: Ie5221bf37c6ed9268a4aa0737ffcdd811e39360a
This commit is contained in:
Lee Yarwood 2020-12-09 10:08:19 +00:00 committed by Elod Illes
parent fcd1195b09
commit 4887f10a31
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ osprofiler>=1.4.0 # Apache-2.0
testresources>=0.2.4 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
bandit>=1.1.0 # Apache-2.0
bandit>=1.1.0,<=1.6.2 # Apache-2.0
openstackdocstheme>=1.16.0 # Apache-2.0
gabbi>=1.35.0 # Apache-2.0