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: Ia0449207b7763c7f6dde72400a24a038df513fe4
This commit is contained in:
niuke 2023-08-09 14:30:59 +08:00
parent 52353e3771
commit 4a16090267
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ setenv =
[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=
bash -c "rm -rf doc/build"