Skip to content

Commit

Permalink
[stable-only] Cap bandit to 1.6.2
Browse files Browse the repository at this point in the history
The 1.6.3 [1] release has dropped support for py2 [2] so cap to 1.6.2
when using py2.

swift-multinode-rolling-upgrade is also made non-voting in order for
this change to land as we cannot deploy from stable/train without this
change.

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

Depends-On: https://review.opendev.org/c/openstack/devstack/+/768256
Depends-On: https://review.opendev.org/c/openstack/devstack/+/768257
Closes-Bug: #1907438
Change-Id: I294d5350e2f418614e54ff7bdd47dff16bfdcdbc
  • Loading branch information
lyarwood committed Dec 23, 2020
1 parent ab921f2 commit d63b701
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .zuul.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@
# Keep doc/manpages -- we want to syntax check them
- ^doc/(requirements.txt|(saio|s3api|source)/.*)$
- swift-multinode-rolling-upgrade:
voting: false
irrelevant-files:
- ^(api-ref|doc|releasenotes)/.*$
- ^test/probe/.*$
Expand Down
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ fixtures>=3.0.0 # Apache-2.0/BSD
keystonemiddleware>=4.17.0 # Apache-2.0

# Security checks
bandit>=1.1.0 # Apache-2.0
bandit>=1.1.0,<=1.6.2 # Apache-2.0

docutils>=0.11 # OSI-Approved Open Source, Public Domain

0 comments on commit d63b701

Please sign in to comment.