From a50db76a5d90b2bfde6d0bf261b6e1629f1ae7bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Wed, 4 Nov 2020 11:10:17 +0100 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: I80ad7c4fe18bb515bad33ad69e36402647e6ae9e --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index b17ab9c05..bc7e97630 100644 --- a/tox.ini +++ b/tox.ini @@ -47,7 +47,7 @@ skipsdist = True skip_install = True sitepackages = False setenv = - UPPER_CONSTRAINTS_FILE=file:///dev/null + TOX_CONSTRAINTS_FILE=file:///dev/null deps = pre-commit>=2.7.1 virtualenv>=20.0.31