From cf658fba9882f8fc7fcffed998b82de17134f7ff Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Tue, 22 Nov 2022 01:15:17 +0000 Subject: [PATCH] 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 Change-Id: Ie912dc7ae3f9f1639311f0c1f5cf62070f44909d --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index b8ca21be..5ea6de46 100644 --- a/tox.ini +++ b/tox.ini @@ -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