From eb069566f7cedbe83b2cc25d56c1d20390a02e7a Mon Sep 17 00:00:00 2001 From: manchandavishal Date: Tue, 16 Feb 2021 12:31:21 +0000 Subject: [PATCH] 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=. For more info. please refer [1]. [1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file Change-Id: I5403b96d4dd0faac9f1295d57a1680a7d452c7b1 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index a9af1dd8..a405c67a 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ passenv = http_proxy HTTPS_PROXY no_proxy NO_PROXY -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 install_command = pip install {opts} {packages}