From 3ec6a94276ae6a4db11bd32c6be8bd9f5edef96e Mon Sep 17 00:00:00 2001 From: "Anderson, Craig (ca846m)" Date: Sun, 20 Feb 2022 12:11:13 -0800 Subject: [PATCH] Fix failing bandit gate Install bandit version compatible with Python 3.6.9 Change-Id: Ie6d5f343c73ba4df7e061f200d0ae201f65a5aa9 --- tools/gate/playbooks/osh-bandit.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gate/playbooks/osh-bandit.yaml b/tools/gate/playbooks/osh-bandit.yaml index 734ef667d3..311508b863 100644 --- a/tools/gate/playbooks/osh-bandit.yaml +++ b/tools/gate/playbooks/osh-bandit.yaml @@ -7,7 +7,7 @@ set -xe; ./tools/deployment/common/install-packages.sh ./tools/gate/deploy-k8s.sh - sudo -H pip3 install --upgrade yq bandit setuptools + sudo -H pip3 install --upgrade yq bandit==1.7.1 setuptools environment: zuul_site_mirror_fqdn: "{{ zuul_site_mirror_fqdn }}" args: