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: I53f1901c3fd529338287a4693eab0ae0b6beaabc
This commit is contained in:
niuke 2023-08-07 15:09:24 +08:00
parent 66126c2a77
commit 3b6a534718
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ usedevelop = True
setenv =
VIRTUAL_ENV={envdir}
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
@ -31,7 +31,7 @@ commands = {posargs}
[testenv:buildimage]
commands = manila-image-create {posargs}
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
passenv = *