From b59e54fd07d5c82c35792381b878284bbf50b34e Mon Sep 17 00:00:00 2001
From: OpenStack Release Bot <infra-root@openstack.org>
Date: Fri, 6 Sep 2024 13:19:02 +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: Ibd02e27954d12a6b57d5d26a10c61d22a77cd5f0
---
 tox.ini | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tox.ini b/tox.ini
index a1e27a3d..ec191c31 100644
--- a/tox.ini
+++ b/tox.ini
@@ -19,7 +19,7 @@ passenv =
   no_proxy
   NO_PROXY
 deps =
-    -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
+    -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.2}
     -r{toxinidir}/requirements.txt
     -r{toxinidir}/test-requirements.txt
 commands =
@@ -55,7 +55,7 @@ commands = {posargs}
 
 [testenv:docs]
 deps =
-    -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
+    -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.2}
     -r{toxinidir}/doc/requirements.txt
 commands =
     rm -rf doc/html doc/build
@@ -72,7 +72,7 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
 
 [testenv:releasenotes]
 deps =
-    -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
+    -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.2}
     -r{toxinidir}/doc/requirements.txt
 commands =
   rm -rf releasenotes/build