From 1a667e3d511da0e4e98a8c8da6451b002a1c5600 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Wed, 11 Nov 2020 09:08:36 +0800 Subject: [PATCH] Replace deprecated UPPER_CONSTRAINTS_FILE variable UPPER_CONSTRAINTS_FILE is deprecated and TOX_CONSTRAINTS_FILE is the new environment variable name that replaces it [1]. This allows to use upper-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 [2] https://review.opendev.org/#/c/722814/ Change-Id: Iab29ef9fe5dda5722d5ea09cdc8bddb94e77ad20 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 5099a0d3..90eea2ed 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,7 @@ ignore_basepython_conflict = True [testenv] basepython = python3 -install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages} +install_command = pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages} [testenv:releasenotes] deps = -r{toxinidir}/doc/requirements.txt