From 5e7671dac6e0ca5fdd3a56d193db20dc4615415c Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Fri, 13 Feb 2026 08:16:16 +0100 Subject: [PATCH] Fix read the docs validation job - adjust the requirements-docs.txt to declare a sphinx version that is compatible with the externally required 4.4.0 version of sphinx Issue-ID: OOM-3381 Change-Id: I3f79bf6c453f6bd8d3fb2c65e8f5d30e2dbda344 Signed-off-by: Fiete Ostkamp --- docs/requirements-docs.txt | 4 ++-- docs/tox.ini | 7 +++---- requirements.txt | 4 ++-- tox.ini | 14 +++++++------- 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt index b1cb5cafaf..60b1780526 100644 --- a/docs/requirements-docs.txt +++ b/docs/requirements-docs.txt @@ -1,5 +1,5 @@ -sphinx>=4.2.0 # BSD -sphinx-rtd-theme>=1.0.0 # MIT +sphinx>=7.1.2 +sphinx-rtd-theme>=2.0.0 # MIT sphinxcontrib-blockdiag # BSD sphinxcontrib-seqdiag # BSD sphinxcontrib-spelling diff --git a/docs/tox.ini b/docs/tox.ini index b0a7bbafa3..cdad99dcae 100644 --- a/docs/tox.ini +++ b/docs/tox.ini @@ -7,7 +7,7 @@ skipsdist = true basepython = python3.8 deps = -r{toxinidir}/requirements-docs.txt - -chttps://releases.openstack.org/constraints/upper/yoga + ; -chttps://releases.openstack.org/constraints/upper/yoga -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master allowlist_externals = sudo commands = @@ -18,7 +18,7 @@ commands = basepython = python3.8 deps = -r{toxinidir}/requirements-docs.txt - -chttps://releases.openstack.org/constraints/upper/yoga + ; -chttps://releases.openstack.org/constraints/upper/yoga -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master allowlist_externals = sudo commands = @@ -29,10 +29,9 @@ commands = basepython = python3.8 deps = -r{toxinidir}/requirements-docs.txt - -chttps://releases.openstack.org/constraints/upper/yoga + ; -chttps://releases.openstack.org/constraints/upper/yoga -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master allowlist_externals = sudo commands = sudo apt install graphviz sphinx-build -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck - diff --git a/requirements.txt b/requirements.txt index 46557ea9e7..0f66fd17e7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -sphinx -sphinx-rtd-theme>=1.0.0 # MIT +sphinx>=7.1.2 +sphinx-rtd-theme>=2.0.0 # MIT doc8 docutils six diff --git a/tox.ini b/tox.ini index 050a9b09f0..22139bc53d 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,7 @@ ignore-path-errors=docs/sections/resources/helm/helm-search.txt;D001 basepython = python3.8 deps = -r{toxinidir}/requirements.txt - -chttps://releases.openstack.org/constraints/upper/yoga + ; ; -chttps://releases.openstack.org/constraints/upper/yoga -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt commands = - doc8 docs/ @@ -24,7 +24,7 @@ commands = basepython = python3.8 deps = -r{toxinidir}/requirements.txt - -chttps://releases.openstack.org/constraints/upper/yoga + ; -chttps://releases.openstack.org/constraints/upper/yoga -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt allowlist_externals = sudo commands = @@ -35,7 +35,7 @@ commands = basepython = python3.8 deps = -r{toxinidir}/requirements.txt - -chttps://releases.openstack.org/constraints/upper/yoga + ; -chttps://releases.openstack.org/constraints/upper/yoga -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt allowlist_externals = sudo commands = @@ -49,7 +49,7 @@ allowlist_externals = sudo deps = -r{toxinidir}/requirements.txt - -chttps://releases.openstack.org/constraints/upper/yoga + ; -chttps://releases.openstack.org/constraints/upper/yoga -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt changedir={toxinidir}/docs commands = @@ -61,7 +61,7 @@ commands = basepython = python3.8 deps = -r{toxinidir}/requirements.txt - -chttps://releases.openstack.org/constraints/upper/yoga + ; -chttps://releases.openstack.org/constraints/upper/yoga -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt commands = gitlint @@ -84,7 +84,7 @@ commands = basepython = python3.8 deps = -r{toxinidir}/requirements.txt - -chttps://releases.openstack.org/constraints/upper/yoga + ; -chttps://releases.openstack.org/constraints/upper/yoga -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt commands = autopep8 --max-line-length 120 --in-place --recursive kubernetes/ TOSCA/ docs/ @@ -93,7 +93,7 @@ commands = basepython = python3.8 deps = -r{toxinidir}/requirements.txt - -chttps://releases.openstack.org/constraints/upper/yoga + ; -chttps://releases.openstack.org/constraints/upper/yoga -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt allowlist_externals = find commands = -- 2.16.6