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: I85e5b06143ea05bb726cb8fc27f89ec661fc26b3
This commit is contained in:
niuke 2022-08-30 20:22:55 +08:00
parent b4ec56e7d7
commit 92677ac411
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ setenv =
OS_STDERR_CAPTURE=1
OS_TEST_TIMEOUT=60
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-c{env:TOX_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-rhttps://opendev.org/openstack/ceilometer/raw/branch/master/test-requirements.txt