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: If49cb308a440a4cd18cc1688845b480f54dc6abd
This commit is contained in:
zhangboye 2020-12-24 15:36:47 +08:00 committed by Andrey Pavlov
parent f9e75281b4
commit 38464931ac
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ usedevelop = True
setenv =
PYTHONDONTWRITEBYTECODE=1
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
commands =
stestr run {posargs}