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: I0b96846fdda3e38e33276a63f4235cdfa761cb2a
This commit is contained in:
zhangboye 2020-12-24 14:52:32 +08:00
parent 0f44380f08
commit e0991bf40c
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ ignore_basepython_conflict = True
[testenv]
basepython = python3
setenv = VIRTUAL_ENV={envdir}
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}
passenv = *_proxy *_PROXY
[testenv:venv]