Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated -https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file This allows to use lower-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. [1] https://review.opendev.org/#/c/722814/ Change-Id: Ie06d4e049e5e82fc0f75b8f3791b0b39594782b3
This commit is contained in:
parent
c3d054c827
commit
ee19c59a9b
2
tox.ini
2
tox.ini
|
@ -14,7 +14,7 @@ setenv =
|
|||
OS_STDERR_CAPTURE=1
|
||||
OS_TEST_TIMEOUT=60
|
||||
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}/test-requirements.txt
|
||||
# TODO(hongbin): this is the way Ryu runs unit tests and we inherit
|
||||
# this approach as a start. In the future, we should migrate to stestr
|
||||
|
|
Loading…
Reference in New Issue