From 0a2211b7159aafbb5d5d712a0298308fa22e00fa Mon Sep 17 00:00:00 2001
From: OpenStack Release Bot <infra-root@openstack.org>
Date: Thu, 21 Mar 2024 10:04:48 +0000
Subject: [PATCH] Update TOX_CONSTRAINTS_FILE for stable/2024.1

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.1 branch, tests will
continue to use the upper-constraints list on master.

Change-Id: Ib4a9d4b768545962613501c4365b0e831185c883
---
 tox.ini | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tox.ini b/tox.ini
index a1e27a3d..bce70e5b 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.1}
     -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.1}
     -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.1}
     -r{toxinidir}/doc/requirements.txt
 commands =
   rm -rf releasenotes/build