Revert RTD (docs) tooling to Python 3.10, Sphinx 4.2.0 95/141495/1
authorToineSiebelink <toine.siebelink@est.tech>
Tue, 8 Jul 2025 14:22:26 +0000 (15:22 +0100)
committerToineSiebelink <toine.siebelink@est.tech>
Tue, 8 Jul 2025 14:25:40 +0000 (15:25 +0100)
- Also restored dependency constraints
- Temporary, will request LNF IT to support new toolchain

Issue-ID: CPS-2864
Change-Id: Iacc5a4366356ea0914de32166a219ddf5b2391a3
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
docs/requirements-docs.txt
docs/tox.ini

index 7cbc160..b95c29f 100644 (file)
@@ -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
index df19bc0..97012a2 100644 (file)
@@ -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