From 9f450019389f68b8a1a691f34ad016890c0f9712 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Thu, 15 Apr 2021 08:27:46 +0200 Subject: [PATCH] CI: Fix multiple failures 1) Drop lower-constraints job The lower-constraints job is failing in stable/victoria and older stable branches. OpenStack projects are allowed to drop lower-constraints testing when it becomes too difficult to maintain. 2) Cap bandit dependency on Python 2.7 The (yanked) 1.6.3 release of bandit dropped support for Python 2. Change-Id: I66011e9f737982c61fb6cc2e0103d6c9d2a7a171 (cherry picked from commit 04f4c78b45995c1789088435e4051083c02167b5) --- .zuul.yaml | 1 - test-requirements.txt | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 6d59dadc..121ef842 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -123,7 +123,6 @@ - project: templates: - - openstack-lower-constraints-jobs - check-requirements - openstack-cover-jobs - openstack-python-jobs diff --git a/test-requirements.txt b/test-requirements.txt index 4d8c22f8..2b5cff23 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -21,5 +21,6 @@ sphinxcontrib-pecanwsme>=0.8 # Apache-2.0 reno>=1.8.0 # Apache-2.0 doc8>=0.6.0 # Apache-2.0 Pygments>=2.2.0 # BSD license -bandit>=1.6.0 # Apache-2.0 +bandit>=1.6.0,<1.6.3;python_version=='2.7' # Apache-2.0 +bandit>=1.6.0;python_version>='3.4' # Apache-2.0 os-api-ref>=1.0.0 # Apache-2.0