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: I3793933504f301af105f8aa49a28f91f425d9219
This commit is contained in:
niuke 2023-08-08 17:35:47 +08:00
parent b763b73ffc
commit 9e96739c85

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 =