From 1db0bfb3390b817765bd9b18f2dcac8b24ec0ae1 Mon Sep 17 00:00:00 2001
From: OpenStack Release Bot <infra-root@openstack.org>
Date: Thu, 14 Mar 2024 07:13:03 +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: I3c1398f6532843f22d3307c383fca0287f56a531
---
 tox.ini | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tox.ini b/tox.ini
index e55a69c21..79e9bde15 100644
--- a/tox.ini
+++ b/tox.ini
@@ -31,7 +31,7 @@ commands = stestr run --serial --slowest {posargs}
 
 [testenv:py{3,38,39,310,311}]
 install_command =
-  python -m pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
+  python -m pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1} {opts} {packages}
 
 [testenv:pep8]
 commands =
@@ -61,7 +61,7 @@ commands = {posargs}
 
 [testenv:docs]
 install_command =
-    python -m pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
+    python -m pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1} {opts} {packages}
 deps =
     -r{toxinidir}/requirements.txt
     -r{toxinidir}/doc/requirements.txt
@@ -75,7 +75,7 @@ commands =
 allowlist_externals = bash
                       rm
 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 api-ref/build
@@ -86,7 +86,7 @@ commands = oslo_debug_helper {posargs}
 
 [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 =
     doc8 releasenotes/source releasenotes/notes