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: Ie0440ab04538952a0d2e857520b434951e56d242
This commit is contained in:
OpenStack Release Bot 2024-09-13 11:11:27 +00:00
parent 7fc6b8008a
commit 5b58f34534

View File

@ -15,7 +15,7 @@ setenv =
# TODO(stephenfin): Remove once we bump our upper-constraint to SQLAlchemy 2.0 # TODO(stephenfin): Remove once we bump our upper-constraint to SQLAlchemy 2.0
SQLALCHEMY_WARN_20=1 SQLALCHEMY_WARN_20=1
deps = 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}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
commands = commands =
@ -24,7 +24,7 @@ commands =
[testenv:releasenotes] [testenv:releasenotes]
deps = 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 -r{toxinidir}/doc/requirements.txt
commands = commands =
rm -rf releasenotes/build rm -rf releasenotes/build
@ -35,7 +35,7 @@ allowlist_externals = rm
[testenv:newnote] [testenv:newnote]
allowlist_externals = reno allowlist_externals = reno
deps = 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 -r{toxinidir}/doc/requirements.txt
commands = reno new {posargs} commands = reno new {posargs}
@ -76,7 +76,7 @@ exclude = tests,tegile,hitachi,glusterfs,vnx,ssh_utils.py
# dependencies are installed during 'develop-inst' tox phase without # dependencies are installed during 'develop-inst' tox phase without
# constraints which could cause failures in stable branches. # constraints which could cause failures in stable branches.
deps = 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}/requirements.txt
-r{toxinidir}/doc/requirements.txt -r{toxinidir}/doc/requirements.txt
commands = commands =