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>.
For more info. please refer [1].

[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file

Change-Id: I956f55f4c95c7ec892430a7fd0bfda4a6819aba9
This commit is contained in:
manchandavishal 2021-02-16 05:45:14 +00:00
parent eed67d5e8b
commit 851c78503a
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ skipsdist = True
basepython = python3
usedevelop = True
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}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
@ -70,7 +70,7 @@ commands =
[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}
# senlin-dashboard doc generated the module reference,
# so requirements.txt should be here to apply upper-constraints.
-r{toxinidir}/requirements.txt