From 30d851383e05640ab6c394d23be75436f4e2529d Mon Sep 17 00:00:00 2001 From: OpenStack Release Bot Date: Fri, 8 Sep 2023 14:57:33 +0000 Subject: [PATCH] Update TOX_CONSTRAINTS_FILE for stable/2023.2 Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/2023.2 branch, tests will continue to use the upper-constraints list on master. Change-Id: I634811a4e125e3f744e0b10483bb75d8157841a5 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 64a532e2..8be414d5 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ setenv = VIRTUAL_ENV={envdir} PYTHONWARNINGS=default::DeprecationWarning deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.2} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = @@ -20,7 +20,7 @@ commands = [testenv:bandit] basepython = python3 deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.2} -r{toxinidir}/test-requirements.txt commands = bandit -r magnumclient -x tests -n5 -ll