From c2b5ed9535d99692ffb2a2ea8873aafe33a369a1 Mon Sep 17 00:00:00 2001 From: wuchunyang Date: Fri, 27 Nov 2020 12:41:17 +0000 Subject: [PATCH] Replace deprecated UPPER_CONSTRAINTS_FILE variable UPPER_CONSTRAINTS_FILE is old name and deprecated -https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file This allows to use lower-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=. Change-Id: I25d4154797da0453f59e310d2392d30ca35e5258 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 3ac6131..6e83763 100644 --- a/tox.ini +++ b/tox.ini @@ -70,7 +70,7 @@ import_exceptions = cloudkittyclient.i18n [testenv:releasenotes] deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} + -c{env:TOX_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html