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: I841ad4ad1b35e97180914f3d5307910bef9f02dc
This commit is contained in:
jiaqi07 2022-07-28 19:50:03 +08:00
parent 4bc059e9d9
commit d0472412dd

View File

@ -9,7 +9,7 @@ ignore_basepython_conflict = True
basepython = python3
usedevelop = False
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 =