From 2592ee950e9ef1ac36bbc7f01ce94a25fd76bb1f Mon Sep 17 00:00:00 2001 From: Lee Yarwood Date: Wed, 9 Dec 2020 10:08:19 +0000 Subject: [PATCH] [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/+/766494 Conflicts: test-requirements.txt Closes-Bug: #1907438 Change-Id: Ie5221bf37c6ed9268a4aa0737ffcdd811e39360a --- test-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index ef14c2d50448..bfa80d96be5c 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -23,7 +23,7 @@ osprofiler>=1.4.0 # Apache-2.0 testresources>=2.0.0 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD testtools>=2.2.0 # MIT -bandit>=1.1.0 # Apache-2.0 +bandit>=1.1.0,<=1.6.2 # Apache-2.0 openstackdocstheme>=1.18.1 # Apache-2.0 gabbi>=1.35.0 # Apache-2.0