Use TOX_CONSTRAINTS_FILE

UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

Change-Id: I84d8f96178486ec694b7732dbce637b302c7278f
This commit is contained in:
LiZekun 2022-02-09 15:54:02 +08:00 committed by Stephen Finucane
parent ba96f9f330
commit 9f28d5654a
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONWARNINGS=default::DeprecationWarning
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}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands =