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: I61b82788b4dbfa20e0443a557d782bbddd7c68ea
This commit is contained in:
zhangboye 2020-12-24 18:02:12 +08:00
parent cb736cbc02
commit 8e2d0180d4
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ ignore_basepython_conflict = True
basepython = python3
usedevelop = True
install_command =
pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
commands =
/usr/bin/find . -type f -name "*.pyc" -delete
passenv =