Replace deprecated UPPER_CONSTRAINTS_FILE variable
UPPER_CONSTRAINTS_FILE is deprecated and TOX_CONSTRAINTS_FILE is the new environment variable name that replaces it [1]. This allows to use upper-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. [1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file [2] https://review.opendev.org/#/c/722814/ Change-Id: I66730e9d6b515318cd2d4f69473ff1253b8b5d31
This commit is contained in:
parent
372e3b97a6
commit
23d63eaf2a
2
tox.ini
2
tox.ini
|
@ -32,7 +32,7 @@ passenv =
|
|||
SSL_CERT_FILE
|
||||
TERM
|
||||
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 = stestr run {posargs}
|
||||
|
|
Loading…
Reference in New Issue