From 7bc0e3dc0486fcc06fd23c179bf25de041370f86 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Wed, 21 Oct 2026 05:54:20 +0000 Subject: [PATCH] python3-sphinx: upgrade 9.1.0 -> 9.2.0 ========== Sphinx 8.2 ========== Release 8.2.3 (released Mar 02, 2025) ===================================== Bugs fixed ---------- Release 8.2.2 (released Mar 02, 2025) ===================================== Bugs fixed ---------- Release 8.2.1 (released Feb 21, 2025) ===================================== Bugs fixed ---------- Release 8.2.0 (released Feb 18, 2025) ===================================== Dependencies ------------ Incompatible changes -------------------- Deprecated ---------- Features added -------------- Bugs fixed ---------- Testing ------- ========== Sphinx 9.0 ========== Release 9.0.4 (released Dec 04, 2025) ===================================== Bugs fixed ---------- Release 9.0.3 (released Dec 04, 2025) ===================================== Bugs fixed ---------- Release 9.0.2 (released Dec 03, 2025) ===================================== Bugs fixed ---------- Release 9.0.1 (released Dec 01, 2025) ===================================== Bugs fixed ---------- Release 9.0.0 (released Nov 30, 2025) ===================================== Dependencies ------------ .. _Docutils 0.22: https://docutils.sourceforge.io/RELEASE- NOTES.html#release-0-22-2026-07-29 Incompatible changes -------------------- Deprecated ---------- Features added -------------- Bugs fixed ---------- --- ...l-deprecate-the-fix_refuris-helper-f.patch | 14 +++++----- ...phinx_9.1.0.bb => python3-sphinx_9.2.0.bb} | 26 +++++++++++++++++-- 2 files changed, 31 insertions(+), 9 deletions(-) rename meta/recipes-devtools/python/{python3-sphinx_9.1.0.bb => python3-sphinx_9.2.0.bb} (51%) diff --git a/meta/recipes-devtools/python/python3-sphinx/0001-Revert-singlehtml-deprecate-the-fix_refuris-helper-f.patch b/meta/recipes-devtools/python/python3-sphinx/0001-Revert-singlehtml-deprecate-the-fix_refuris-helper-f.patch index 1adf82d7ef..6d36ecbe74 100644 --- a/meta/recipes-devtools/python/python3-sphinx/0001-Revert-singlehtml-deprecate-the-fix_refuris-helper-f.patch +++ b/meta/recipes-devtools/python/python3-sphinx/0001-Revert-singlehtml-deprecate-the-fix_refuris-helper-f.patch @@ -1,4 +1,4 @@ -From 323350c9c4df6be0935e7237ce20add8ccd1bb13 Mon Sep 17 00:00:00 2001 +From 1fba22d5be53dd6caf34b34021f54bc56684226a Mon Sep 17 00:00:00 2001 From: James Addison Date: Sun, 4 Jan 2026 20:51:55 +0000 Subject: [PATCH] Revert "singlehtml: deprecate the 'fix_refuris' helper @@ -19,10 +19,10 @@ Signed-off-by: Antonin Godard 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/sphinx/builders/singlehtml.py b/sphinx/builders/singlehtml.py -index 1888f6679..f895077df 100644 +index 387776d..4fd5510 100644 --- a/sphinx/builders/singlehtml.py +++ b/sphinx/builders/singlehtml.py -@@ -9,7 +9,6 @@ +@@ -9,7 +9,6 @@ from docutils import nodes from sphinx._cli.util.colour import darkgreen from sphinx.builders.html import StandaloneHTMLBuilder @@ -30,7 +30,7 @@ index 1888f6679..f895077df 100644 from sphinx.environment.adapters.toctree import global_toctree_for_doc from sphinx.locale import __ from sphinx.util import logging -@@ -52,14 +51,6 @@ def get_relative_uri(self, from_: str, to: str, typ: str | None = None) -> str: +@@ -52,14 +51,6 @@ class SingleFileHTMLBuilder(StandaloneHTMLBuilder): return self.get_target_uri(to, typ) def fix_refuris(self, tree: Node) -> None: @@ -45,7 +45,7 @@ index 1888f6679..f895077df 100644 # fix refuris with double anchor for refnode in tree.findall(nodes.reference): if 'refuri' not in refnode: -@@ -86,6 +77,8 @@ def _get_local_toctree( +@@ -86,6 +77,8 @@ class SingleFileHTMLBuilder(StandaloneHTMLBuilder): toctree = global_toctree_for_doc( self.env, docname, self, tags=self.tags, collapse=collapse, **kwargs ) @@ -54,7 +54,7 @@ index 1888f6679..f895077df 100644 return self.render_partial(toctree)['fragment'] def assemble_doctree(self) -> nodes.document: -@@ -95,6 +88,7 @@ def assemble_doctree(self) -> nodes.document: +@@ -95,6 +88,7 @@ class SingleFileHTMLBuilder(StandaloneHTMLBuilder): tree = inline_all_toctrees(self, set(), master, tree, darkgreen, [master]) tree['docname'] = master self.env.resolve_references(tree, master, self) @@ -62,7 +62,7 @@ index 1888f6679..f895077df 100644 return tree def assemble_toc_secnumbers(self) -> dict[str, dict[str, tuple[int, ...]]]: -@@ -145,6 +139,7 @@ def get_doc_context(self, docname: str, body: str, metatags: str) -> dict[str, A +@@ -145,6 +139,7 @@ class SingleFileHTMLBuilder(StandaloneHTMLBuilder): ) # if there is no toctree, toc is None if toctree: diff --git a/meta/recipes-devtools/python/python3-sphinx_9.1.0.bb b/meta/recipes-devtools/python/python3-sphinx_9.2.0.bb similarity index 51% rename from meta/recipes-devtools/python/python3-sphinx_9.1.0.bb rename to meta/recipes-devtools/python/python3-sphinx_9.2.0.bb index 44ed739fc9..b6a94f44d6 100644 --- a/meta/recipes-devtools/python/python3-sphinx_9.1.0.bb +++ b/meta/recipes-devtools/python/python3-sphinx_9.2.0.bb @@ -1,10 +1,32 @@ +# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'. +# The following is the difference between the old and the new license text. +# Please update the LICENSE value if needed, and summarize the changes in +# the commit message via 'License-Update:' tag. +# (example: 'License-Update: copyright years updated.') +# +# The changes: +# +# --- LICENSE.rst +# +++ LICENSE.rst +# @@ -4,7 +4,7 @@ +# Unless otherwise indicated, all code in the Sphinx project is licenced under the +# two clause BSD licence below. +# +# -Copyright (c) 2007-2025 by the Sphinx team (see AUTHORS file). +# +Copyright (c) 2007-2026 by the Sphinx team (see AUTHORS file). +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# +# + SUMMARY = "Python documentation generator" HOMEPAGE = "http://sphinx-doc.org/" SECTION = "devel/python" LICENSE = "BSD-2-Clause AND MIT" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=e30c37a2b7fb0afa3adc0d72b85e8b04" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=00d5910f77dc7db0f754b71c3c11317b" -SRC_URI[sha256sum] = "7741722357dd75f8190766926071fed3bdc211c74dd2d7d4df5404da95930ddb" +SRC_URI[sha256sum] = "90470459f3cab15d9dfed146c71cf77694b0445df17b2e0e69059cb9f7fc9ee4" SRC_URI += "file://0001-Revert-singlehtml-deprecate-the-fix_refuris-helper-f.patch" -- 2.47.1