Fix openstack-tox jobs for fault 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.

Partial-Bug: #1997255

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: Ie912dc7ae3f9f1639311f0c1f5cf62070f44909d
This commit is contained in:
Al Bailey 2022-11-22 01:15:17 +00:00
parent d161fe5922
commit cf658fba98
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ stxdir = {toxinidir}/../
[testenv]
usedevelop = False
install_command = pip install \
-chttps://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}
setenv = VIRTUAL_ENV={envdir}
OS_STDOUT_CAPTURE=1