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: I6fad95580906434feeaf5a51e172ed7045f0e7f4
This commit is contained in:
zhangboye 2020-12-24 14:44:01 +08:00 committed by Luigi Toscano
parent ebc6a0431c
commit dc938a4056
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ setenv = VIRTUAL_ENV={envdir}
OS_TEST_PATH=./cinder/tests/unit
usedevelop = True
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
@ -123,7 +123,7 @@ commands = {posargs}
[testenv: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 -fr doc/source/contributor/api/