From 91c4415c42c5d9164d6c646c6436e60c5a28322f Mon Sep 17 00:00:00 2001 From: Manpreet Kaur Date: Fri, 29 Jan 2021 00:04:57 +0530 Subject: [PATCH] Update TOX_CONSTRAINTS_FILE UPPER_CONSTRAINTS_FILE is an old and deprecated name, refer [1]. This allows to use lower-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=. [1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file Change-Id: Ib4dd97f427a0c364e2679c229bda9df6c3155d48 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index d31a0e91..bc8992e6 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,7 @@ setenv = PYTHONWARNINGS=default::DeprecationWarning passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY 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}/requirements.txt -r{toxinidir}/test-requirements.txt commands = python setup.py test --slowest --testr-args='{posargs}'