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: I71bfcf0576eda9f72d963c4f5d92464c5a04734e
This commit is contained in:
jiaqi07 2022-07-26 11:42:05 +08:00
parent f1ad6ff275
commit 400b1011be

View File

@ -26,7 +26,7 @@ commands = bash -c "find {toxinidir} \
[testenv:docs]
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build