Fix openstack-tox jobs for gui repo
The Zuul upper-constraints env variable declaration needed to be added to tox.ini otherwise an older constraints was being used which does not work with newer versions of python. Adding legacy-resolver to attempt to resolve dependency issues when importing different stx client modules. Partial-Bug: #1997255 Signed-off-by: Al Bailey <al.bailey@windriver.com> Change-Id: I88b779138aa3b19aca57e8f03f3c17ec077e7d58
This commit is contained in:
parent
1aa1aaf997
commit
fd9dfbfd9b
4
tox.ini
4
tox.ini
|
@ -8,8 +8,8 @@ stxdir = {toxinidir}/..
|
||||||
# defaulted here to the path that works in developer environments
|
# defaulted here to the path that works in developer environments
|
||||||
[testenv]
|
[testenv]
|
||||||
install_command = pip install \
|
install_command = pip install \
|
||||||
-v -v -v \
|
-v -v -v --use-deprecated legacy-resolver \
|
||||||
-c https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt \
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \
|
||||||
{opts} {packages}
|
{opts} {packages}
|
||||||
|
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
|
|
Loading…
Reference in New Issue