Fix zuul errors due to changes in dependencies

Specifying certain upper limits for components
pulled in by test-requirements.txt

Partial-Bug: 1922590
Signed-off-by: albailey <Al.Bailey@windriver.com>
Change-Id: I1e881ccf0d1ac7f96312b1e573b4b3aa950dbc6f
This commit is contained in:
albailey 2021-04-15 15:52:42 -05:00
parent bcb588c39b
commit a6a1cd5aef
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,5 @@
hacking
bashate >= 0.2
bandit;python_version>="3.5"
PyYAML >= 3.1.0
yamllint >= 0.5.2
bandit!=1.6.0,>=1.1.0,<2.0.0
yamllint<1.26.1;python_version>="3.0" # GPLv2

11
tox.ini
View File

@ -1,10 +1,13 @@
[tox]
envlist = linters
envlist = linters, pep8
minversion = 2.3
skipsdist = True
[testenv]
install_command = pip install -U {opts} {packages}
install_command = pip install \
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \
{opts} {packages}
setenv = VIRTUAL_ENV={envdir}
OS_STDOUT_CAPTURE=1
OS_STDERR_CAPTURE=1
@ -36,9 +39,6 @@ ignore=H102
basepython = python3
usedevelop = False
skip_install = True
# hacking pins the version of flake8
deps =
hacking!=0.13.0,<0.14,>=0.12.0
commands =
flake8
@ -74,5 +74,4 @@ commands = reno new {posargs}
[testenv:bandit]
basepython = python3
description = Bandit code scan for *.py files under config folder
deps = -r{toxinidir}/test-requirements.txt
commands = bandit -r {toxinidir}/ -x '**/.tox/**',**/.eggs/** -lll