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: Id0b52f70e02b08d4983a218af7c2e34c38ec3c7d
This commit is contained in:
yangyawei 2021-05-25 20:44:31 +08:00
parent a8c3f27652
commit 5c54b1247f
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ setenv = VIRTUAL_ENV={envdir}
LC_ALL=en_US.UTF-8
TESTS_DIR=./virtualbmc/tests/unit/
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 =