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: I63fe48b93d3bfeedc07c9347284e6147c726bebf
This commit is contained in:
LiZekun 2022-06-06 19:12:55 +08:00 committed by Takashi Kajinami
parent c31edd9572
commit d1b6bf6094
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ exclude = .venv,.tox,dist,doc,*egg,build
[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=
sphinx-build -W -b html doc/source doc/build/html