From 89ff1631d97ded7b450983620f8b5af32e12cd9a Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Tue, 8 Jul 2025 15:22:26 +0100 Subject: [PATCH] Revert RTD (docs) tooling to Python 3.10, Sphinx 4.2.0 - Also restored dependency constraints - Temporary, will request LNF IT to support new toolchain Issue-ID: CPS-2864 Change-Id: Iacc5a4366356ea0914de32166a219ddf5b2391a3 Signed-off-by: ToineSiebelink --- docs/requirements-docs.txt | 2 +- docs/tox.ini | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt index 7cbc1602c3..b95c29fb2f 100644 --- a/docs/requirements-docs.txt +++ b/docs/requirements-docs.txt @@ -1,5 +1,5 @@ six -sphinx>=8.2.0 # BSD +sphinx>=4.2.0 # BSD sphinx-rtd-theme>=1.0.0 # MIT sphinxcontrib-blockdiag # BSD sphinxcontrib-seqdiag # BSD diff --git a/docs/tox.ini b/docs/tox.ini index df19bc06e6..97012a2f3c 100644 --- a/docs/tox.ini +++ b/docs/tox.ini @@ -21,20 +21,26 @@ minversion = 1.6 envlist = docs,docs-linkcheck,docs-spellcheck skipsdist = true [testenv:docs] -basepython = python3.12.3 +basepython = python3.10 deps = -r{toxinidir}/requirements-docs.txt + -chttps://releases.openstack.org/constraints/upper/yoga + -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master commands = sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html [testenv:docs-linkcheck] -basepython = python3.12.3 +basepython = python3.10 deps = -r{toxinidir}/requirements-docs.txt + -chttps://releases.openstack.org/constraints/upper/yoga + -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master commands = sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck [testenv:docs-spellcheck] -basepython = python3.12.3 +basepython = python3.10 deps = -r{toxinidir}/requirements-docs.txt + -chttps://releases.openstack.org/constraints/upper/yoga + -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master commands = sphinx-build -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck -- 2.16.6