summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kajinami <tkajinam@redhat.com>2023-03-13 16:46:53 +0900
committerTakashi Kajinami <tkajinam@redhat.com>2023-05-16 13:33:06 +0900
commit400b73a32aca8783e9ae93afd7ea83cb7d4aeb20 (patch)
tree0560f394f23c30e2e9962b8841b60540b3169810
parent77830ba28a009b5db61518d7abdd54231acd421f (diff)
downloadheat-stable/victoria.tar.gz
stable-only: Pin bandit to 1.7.4 to fix the gatestable/victoria
bandit 1.7.5 introduced the new lint rule with which current heat code is not compliant. This pins bandit so that any new lint rule does not affect pep8 job in stable branches. NOTE(elod.illes): this patch was squashed into another gate fixing patch and backported all the way back to stable/wallaby, but those are not necessary here in victoria. Gate should pass without those. So this fix is directly backported from yoga. Change-Id: Ie552e6398c10797e4df4afe757760c48ca7f80af (cherry picked from commit 6a4c7b57b8383bef4a02fb485e781c4cbb2a03d8) (cherry picked from commit 66bba4ad21d0e405dfd209e2216a3173cda58dda) (cherry picked from commit 487fadf5c754e522b3edd02d7a2ec08223399cad)
-rw-r--r--test-requirements.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index a181012c5..fb6e41aa4 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -9,7 +9,7 @@ hacking>=3.0.1,<3.1.0 # Apache-2.0
# care of pyflakes version compatibilty.
pyflakes>=2.1.1
-bandit!=1.6.0,>=1.1.0 # Apache-2.0
+bandit!=1.6.0,>=1.1.0,<1.7.5 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
kombu!=4.0.2,>=5.0.1 # BSD