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>.

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

Change-Id: Ic52698b4147d451e0b5ce25dbbf83083ccd69115
This commit is contained in:
likui 2020-11-03 13:42:12 +08:00 committed by Martin Chacon Piza
parent 041f295b6a
commit 2d520d5099
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ passenv = *_proxy
usedevelop = True
install_command = pip install {opts} {packages}
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
-r{toxinidir}/requirements.txt
.[influxdb,cassandra]