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

Change-Id: I78077b831a66ac157e30cf0e10ac773ce36437f2
This commit is contained in:
OpenStack Release Bot 2025-01-22 17:29:19 +00:00
parent 3393541972
commit d86956c9f6

View File

@ -33,7 +33,7 @@ setenv =
[testenv:docs]
deps =
-r{toxinidir}/doc/requirements.txt
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.1}
commands =
bash -c "rm -rf doc/build"
sphinx-build -W --keep-going -b html doc/source doc/build/html
@ -52,7 +52,7 @@ extensions = .rst
[testenv:releasenotes]
deps =
-r{toxinidir}/doc/requirements.txt
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.1}
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html