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=<lower-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
This commit is contained in:
Hervé Beraud 2020-11-04 11:10:17 +01:00
parent 0f6aae588c
commit a50db76a5d
1 changed files with 1 additions and 1 deletions

View File

@ -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