From ff42d69aa7fb46f390c8947079ae65163ad11ee4 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Fri, 24 Apr 2020 09:52:47 -0500 Subject: Switch to TOX_CONSTRAINTS_FILE UPPER_CONSTRAINTS_FILE is old name and deprecated -https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file This allows to use lower-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=. Also stable ussuri branch is also switching to new var so it make sense to may the master also sync with that. - https://review.opendev.org/#/c/722520/ Change-Id: I3ce0bdc2b928ec63161cf0fa4757c43b83f2af09 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index c5119ca798..df9ffbc3b7 100644 --- a/tox.ini +++ b/tox.ini @@ -26,7 +26,7 @@ setenv = # TODO(stephenfin): Remove psycopg2 when minimum constraints is bumped to 2.8 PYTHONWARNINGS = ignore::UserWarning:psycopg2 deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt passenv = @@ -157,7 +157,7 @@ description = # Note that we don't use {[testenv]deps} for deps here because we don't want # to install (test-)requirements.txt for docs. deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/doc/requirements.txt commands = rm -rf doc/build/html doc/build/doctrees -- cgit v1.2.1