Apply upper constraints to build documentation

... to avoid problems caused by the latest libraries.

Change-Id: Ibfccb2aca12a5f25e5179143f95dac63bde1e5e1
This commit is contained in:
Takashi Kajinami 2025-04-16 18:42:03 +09:00
parent 310b25afd0
commit 21782d332b

View File

@ -42,7 +42,9 @@ commands =
commands = oslo_debug_helper -t keystonemiddleware/tests {posargs}
[testenv:docs]
deps = -r{toxinidir}/doc/requirements.txt
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands=
doc8 doc/source
sphinx-build -W -b html doc/source doc/build/html
@ -58,7 +60,9 @@ commands =
make -C doc/build/pdf
[testenv:releasenotes]
deps = -r{toxinidir}/doc/requirements.txt
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html