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: I7b79d0bc10c4c5c48e167e7042d383921feb1486
This commit is contained in:
LiZekun 2022-05-19 15:22:05 +08:00
parent d67fa037cd
commit 5662b92fda

View File

@ -13,7 +13,7 @@ setenv = VIRTUAL_ENV={envdir}
LANGUAGE=en_US
TESTS_DIR=./ironic_lib/tests/
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}/extra-requirements.txt
-r{toxinidir}/requirements.txt
@ -62,7 +62,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
-r{toxinidir}/extra-requirements.txt
commands =