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:
Al Bailey 2019-11-07 13:03:37 -06:00 committed by Al Bailey
parent 3325df3bb8
commit 1f024e87ac

21
tox.ini
View File

@ -7,18 +7,21 @@ sitepackages=False
stxdir = {toxinidir}/..
[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 =
VIRTUAL_ENV={envdir}
OS_STDOUT_CAPTURE=1
OS_STDERR_CAPTURE=1
OS_DEBUG=1
OS_LOG_CAPTURE=1
VIRTUAL_ENV={envdir}
OS_STDOUT_CAPTURE=1
OS_STDERR_CAPTURE=1
OS_DEBUG=1
OS_LOG_CAPTURE=1
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
whitelist_externals =
bash
bash
[testenv:bashate]
# Treat all E* codes as Errors rather than warnings using: -e 'E*'