Fix pylint zuul error due to python-libvirt version
Nov 6th saw the release of a new version of python-libvirt. tox.ini did not have an upper-constraint set for it, so we picked up that version, which caused zuul to fail in pylint. Adding an upper-constraint to fix the issue. This allows all reviews in stx/utilities to pass zuul and be able to merge. Change-Id: Idcdf37fbfb2f8745aadff9aacba828e8166dbc46 Closes-Bug: 1851707 Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
This commit is contained in:
parent
3325df3bb8
commit
1f024e87ac
21
tox.ini
21
tox.ini
@ -7,18 +7,21 @@ sitepackages=False
|
|||||||
stxdir = {toxinidir}/..
|
stxdir = {toxinidir}/..
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
install_command = pip install -U {opts} {packages}
|
install_command = pip install \
|
||||||
|
-v -v -v \
|
||||||
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \
|
||||||
|
-U {opts} {packages}
|
||||||
setenv =
|
setenv =
|
||||||
VIRTUAL_ENV={envdir}
|
VIRTUAL_ENV={envdir}
|
||||||
OS_STDOUT_CAPTURE=1
|
OS_STDOUT_CAPTURE=1
|
||||||
OS_STDERR_CAPTURE=1
|
OS_STDERR_CAPTURE=1
|
||||||
OS_DEBUG=1
|
OS_DEBUG=1
|
||||||
OS_LOG_CAPTURE=1
|
OS_LOG_CAPTURE=1
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
whitelist_externals =
|
whitelist_externals =
|
||||||
bash
|
bash
|
||||||
|
|
||||||
[testenv:bashate]
|
[testenv:bashate]
|
||||||
# Treat all E* codes as Errors rather than warnings using: -e 'E*'
|
# Treat all E* codes as Errors rather than warnings using: -e 'E*'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user