From d622b326d2c2980cdd39f68c2b6a25f04953ef7e Mon Sep 17 00:00:00 2001 From: likui Date: Sun, 1 Nov 2020 16:17:42 +0800 Subject: [PATCH] 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=. [1] https://review.opendev.org/#/c/722814/ Change-Id: I72de9a8ad05ec11ec87347631a81320e9c6c471a --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 2b951a5..3d0286b 100644 --- a/tox.ini +++ b/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'