From 32b9a0d992336d8a7e1e65460bfb38811fee6144 Mon Sep 17 00:00:00 2001 From: likui Date: Mon, 27 Jun 2022 16:27:45 +0800 Subject: [PATCH] Replace deprecated UPPER_CONSTRAINTS_FILE variable UPPER_CONSTRAINTS_FILE is old name and deprecated [1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file Change-Id: I4622b293175369aa1d7681a8f710f80dc298b709 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index fb69d64..0de729d 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,8 @@ envlist = docs,linters,functional [testenv] usedevelop = False install_command = - pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/queens} {opts} {packages} + pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages} + deps = -r{toxinidir}/test-requirements.txt commands =