Update TOX_CONSTRAINTS_FILE for stable/2026.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/2026.1 branch, tests will
continue to use the upper-constraints list on master.

Change-Id: I258272fccb5a3a3d5a0c39ffe2b510ae5cbc42e9
Signed-off-by: OpenStack Release Bot <infra-root@openstack.org>
Generated-By: openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/functions
This commit is contained in:
2026-03-06 13:53:57 +00:00
parent 4efa0a94f3
commit 994615ea80

View File

@@ -4,7 +4,7 @@ envlist = py3,pep8
[testenv]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2026.1}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands = stestr run --slowest {posargs}
@@ -38,7 +38,7 @@ commands = {posargs}
[testenv:docs]
allowlist_externals = 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/2026.1}
-r{toxinidir}/doc/requirements.txt
commands =
rm -fr doc/build