From 21782d332b6ceb781263e0c66152ea9d2c0692b0 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 16 Apr 2025 18:42:03 +0900 Subject: [PATCH] Apply upper constraints to build documentation ... to avoid problems caused by the latest libraries. Change-Id: Ibfccb2aca12a5f25e5179143f95dac63bde1e5e1 --- tox.ini | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 166ee229..7e0c42c0 100644 --- a/tox.ini +++ b/tox.ini @@ -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