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: I2c450c25cb8f97575df3f4f518ca179c4cf2dffd
This commit is contained in:
zhangboye 2020-12-24 15:27:52 +08:00
parent dcebf7ad6c
commit 8286d94a0d
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ commands = {posargs}
[testenv:docs] [testenv:docs]
deps = 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 -r{toxinidir}/doc/requirements.txt
commands = commands =
/bin/rm -fr doc/build/ /bin/rm -fr doc/build/