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: I72de9a8ad05ec11ec87347631a81320e9c6c471a
This commit is contained in:
parent
6725696d1b
commit
d622b326d2
2
tox.ini
2
tox.ini
|
@ -8,7 +8,7 @@ skipsdist = True
|
|||
basepython = python3
|
||||
whitelist_externals = bash
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
|
||||
|
|
Loading…
Reference in New Issue