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: I551f938a979c5921f204eca24fb3d16b9d47776d
This commit is contained in:
wangzihao 2021-05-20 13:44:07 +08:00
parent 3878c245ef
commit dc0629234b
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ setenv = VIRTUAL_ENV={envdir}
PYTHONDONTWRITEBYTECODE=1
DJANGO_SETTINGS_MODULE=designatedashboard.settings
whitelist_externals = find
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}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt