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: I8614a6a6d4db1c4994c7dea1fe4f4cb31bdfe25e
This commit is contained in:
niuke 2022-07-26 11:06:43 +08:00
parent fd0bce8dab
commit 38f5ef6074
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ commands = bindep test
usedevelop = False
[testenv:docs]
deps = -c{env:UPPER_CONSTRAINTS_FILE:{toxinidir}/upper-constraints.txt}
deps = -c{env:TOX_CONSTRAINTS_FILE:{toxinidir}/upper-constraints.txt}
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -b html doc/source doc/build/html