From c8f9881cc59e53e8569a75aa8979a5f3c3438a26 Mon Sep 17 00:00:00 2001
From: OpenStack Release Bot <infra-root@openstack.org>
Date: Fri, 6 Sep 2024 14:04:23 +0000
Subject: [PATCH] Update TOX_CONSTRAINTS_FILE for stable/2024.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/2024.2 branch, tests will
continue to use the upper-constraints list on master.

Change-Id: If9a825b4fa2d175ea8b32702c52f7d66ce3405cc
---
 tox.ini | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tox.ini b/tox.ini
index 097a9949..3aea5bb7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,7 +10,7 @@ setenv =
   LANG=en_US.utf-8
   VIRTUAL_ENV={envdir}
 
-deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
+deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.2}
        -r{toxinidir}/requirements.txt
        -r{toxinidir}/test-requirements.txt
 commands = sh -c '(find . -not \( -type d -name .?\* -prune \) \
@@ -60,7 +60,7 @@ commands =
 
 [testenv:docs]
 usedevelop = False
-deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
+deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.2}
        -r{toxinidir}/doc/requirements.txt
 commands=
     sphinx-build -W -b html doc/source doc/build/html -W