summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Yarwood <lyarwood@redhat.com>2020-12-09 10:08:19 +0000
committerLee Yarwood <lyarwood@redhat.com>2020-12-23 11:15:08 +0000
commitb2037fc4e356b55949339a1358c16431a9ab8930 (patch)
treee07ee9e7f2c36679df206a0ea4e2ad971413fe8c
parent81a3f4b22b867b372b94af81872b547e7500005c (diff)
downloadnova-b2037fc4e356b55949339a1358c16431a9ab8930.tar.gz
[stable-only] Cap bandit to 1.6.2 and raise hacking, flake8 and stestr
The 1.6.3 [1] release has dropped support for py2 [2] so cap to 1.6.2 when using py2. This change also raises hacking to 1.1.0 in lower-constraints.txt after it was bumped by I35c654bd39f343417e0a1124263ff31dcd0b05c9. This also means that flake8 is bumped to 2.6.0. stestr is also bumped to 2.0.0 as required by oslotest 3.8.0. All of these changes are squashed into a single change to pass the gate. [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/devstack/+/768256 Depends-On: https://review.opendev.org/c/openstack/swift/+/766214 Closes-Bug: #1907438 Closes-Bug: #1907756 Change-Id: Ie5221bf37c6ed9268a4aa0737ffcdd811e39360a
-rw-r--r--lower-constraints.txt6
-rw-r--r--test-requirements.txt4
2 files changed, 5 insertions, 5 deletions
diff --git a/lower-constraints.txt b/lower-constraints.txt
index 18a15993fd..597a4466c1 100644
--- a/lower-constraints.txt
+++ b/lower-constraints.txt
@@ -27,14 +27,14 @@ eventlet==0.20.0
extras==1.0.0
fasteners==0.14.1
fixtures==3.0.0
-flake8==2.5.5
+flake8==2.6.0
future==0.16.0
futurist==1.8.0
gabbi==1.35.0
gitdb2==2.0.3
GitPython==2.1.8
greenlet==0.4.10
-hacking==0.12.0
+hacking==1.1.0
idna==2.6
iso8601==0.1.11
Jinja2==2.10
@@ -149,7 +149,7 @@ SQLAlchemy==1.2.19
sqlalchemy-migrate==0.11.0
sqlparse==0.2.4
statsd==3.2.2
-stestr==1.0.0
+stestr==2.0.0
stevedore==1.20.0
suds-jurko==0.6
taskflow==2.16.0
diff --git a/test-requirements.txt b/test-requirements.txt
index a3e369f85a..98a6bba99a 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -16,12 +16,12 @@ python-barbicanclient>=4.5.2 # Apache-2.0
python-ironicclient!=2.7.1,>=2.7.0 # Apache-2.0
requests-mock>=1.2.0 # Apache-2.0
oslotest>=3.8.0 # Apache-2.0
-stestr>=1.0.0 # Apache-2.0
+stestr>=2.0.0 # Apache-2.0
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
gabbi>=1.35.0 # Apache-2.0
wsgi-intercept>=1.7.0 # MIT License