From 57b559b38bfe0b2a6a7e489ccb3b07e56008b63d Mon Sep 17 00:00:00 2001 From: wuchunyang Date: Fri, 27 Nov 2020 12:36:09 +0000 Subject: Replace deprecated UPPER_CONSTRAINTS_FILE variable 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=. Change-Id: I54126f6aae313b28e54293d362b1cd81e19807b9 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index f5284de..9bc5d12 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ setenv = PYTHON=coverage run --source barbicanclient --parallel-mode VIRTUAL_ENV={envdir} deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -c{env:TOX_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -- cgit v1.2.1