From 2cdbe3133725b2475792d3ed18a3b65b79a7a68a Mon Sep 17 00:00:00 2001
From: OpenStack Release Bot <infra-root@openstack.org>
Date: Fri, 7 Mar 2025 14:29:44 +0000
Subject: [PATCH] Update TOX_CONSTRAINTS_FILE for stable/2025.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/2025.1 branch, tests will
continue to use the upper-constraints list on master.

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

diff --git a/tox.ini b/tox.ini
index fa14e74d..2fa40686 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/2025.1}
     -r{toxinidir}/requirements.txt
     -r{toxinidir}/test-requirements.txt
 commands =
@@ -56,7 +56,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/2025.1}
     -r{toxinidir}/doc/requirements.txt
 commands =
     rm -rf doc/html doc/build
@@ -73,7 +73,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/2025.1}
     -r{toxinidir}/doc/requirements.txt
 commands =
   rm -rf releasenotes/build