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: I82049ec777b78a4b6d8a9a1818bd7d4192deea6f
This commit is contained in:
OpenStack Release Bot 2024-06-04 08:55:02 +00:00
parent 05fc83d24c
commit a5593c54a5

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/2024.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/2024.1}
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html