diff options
author | Jiri Podivin <jpodivin@redhat.com> | 2022-01-28 15:24:52 +0100 |
---|---|---|
committer | Jiri Podivin <jpodivin@redhat.com> | 2022-01-28 15:25:01 +0100 |
commit | 64171f8d7b3dd08fb19abcda0b0b4202d5e5448b (patch) | |
tree | 9a180b86fa7d91f9b13dbf990d03fef23426ef73 | |
parent | 789bcf1563630207eff7f8582a2d25dae7c6e224 (diff) | |
download | cliff-64171f8d7b3dd08fb19abcda0b0b4202d5e5448b.tar.gz |
Adding upper constraint on bandit as it isn't covered by openstack constraint
The bandit package has moved on from python 2.7 starting
with verions 1.7.0[0]. Since it isn't covered in the upper constraints
file provided by the openstack/requirements[1] the relevant jobs are likely to fail.
This patch imposes upper constraint on the package,
set to the last released version compatible with python 2.7.
[0] https://pypi.org/project/bandit/1.7.0/
[1] https://opendev.org/openstack/requirements/raw/branch/stable/train/upper-constraints.txt
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I8e58a7814dd49639ea0e8182add58d2c4ee64e1c
-rw-r--r-- | test-requirements.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index 45987f4..ecc5498 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -16,4 +16,4 @@ sphinx!=1.6.6,!=1.6.7,<2.0.0,>=1.6.2;python_version=='2.7' # BSD sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD # Bandit security code scanner -bandit>=1.1.0 # Apache-2.0 +bandit>=1.1.0,<1.6.2 # Apache-2.0 |