From: ZhongShengping Date: Wed, 11 Nov 2020 01:08:35 +0000 (+0800) Subject: Replace deprecated UPPER_CONSTRAINTS_FILE variable X-Git-Tag: 18.1.0~2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=3fc5ed291c4d1f644ecd937210af6a8ca059d68f;p=puppet-modules%2Fpuppet-ceilometer.git 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: I668ab8cdfb3ec49bb26d890630c823419c8cb3de --- diff --git a/tox.ini b/tox.ini index 5099a0d..90eea2e 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