From 1414aacf80179f74c247f36a90dd01e65e0b11440c6f944e2b68717b5d4b2dec Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 18 Jul 2024 07:31:20 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=207.4.5:=20=20=20*=20#12593,=20?= =?UTF-8?q?#12600:=20Revert=20coercing=20the=20type=20of=20selected=20=20?= =?UTF-8?q?=20=20=20:confval:`html=5Fsidebars`=20values=20to=20a=20list.?= =?UTF-8?q?=20Log=20an=20error=20=20=20=20=20message=20when=20string=20val?= =?UTF-8?q?ues=20are=20detected.=20Patch=20by=20Adam=20=20=20=20=20Turner.?= =?UTF-8?q?=20=20=20*=20#12594:=20LaTeX:=20since=207.4.0,=20:rst:dir:`seea?= =?UTF-8?q?lso`=20and=20other=20=20=20=20=20"light"=20admonitions=20now=20?= =?UTF-8?q?break=20PDF=20builds=20if=20they=20contain=20a=20=20=20=20=20:d?= =?UTF-8?q?udir:`figure`=20directive;=20and=20also=20if=20they=20are=20con?= =?UTF-8?q?tained=20in=20=20=20=20=20a=20table=20cell=20(rendered=20by=20t?= =?UTF-8?q?abulary).=20Patch=20by=20Jean-Fran=C3=A7ois=20=20=20=20=20B.=20?= =?UTF-8?q?=20=20*=20#12585,=20#12586:=20Do=20not=20warn=20when=20an=20int?= =?UTF-8?q?ersphinx=20inventory=20=20=20=20=20contains=20case-insensitivel?= =?UTF-8?q?y=20ambiguous=20duplicate=20items.=20Patch=20=20=20=20=20by=20J?= =?UTF-8?q?ames=20Addison.=20=20=20*=20#12582:=20Restore=20support=20for?= =?UTF-8?q?=20list-styled=20=20=20=20=20:confval:`source=5Fsuffix`=20value?= =?UTF-8?q?s=20with=20extensions=20that=20register=20=20=20=20=20parsers.?= =?UTF-8?q?=20Patch=20by=20Adam=20Turner.=20=20=20*=20#12580,=20#12583:=20?= =?UTF-8?q?Resolve=20failures=20with=20the=20C=20domain=20on=20=20=20=20?= =?UTF-8?q?=20incremental=20builds=20with=20Sphinx=207.3.7=20and=20earlier?= =?UTF-8?q?.=20Patch=20by=20=20=20=20=20Adam=20Turner.=20=20=20*=20Fix=20i?= =?UTF-8?q?nvalid=20HTML=20when=20a=20rubric=20node=20with=20invalid=20hea?= =?UTF-8?q?ding-=20=20=20=20=20level=20is=20used.=20Patch=20by=20Adam=20Tu?= =?UTF-8?q?rner.=20=20=20*=20#12579,=20#12581:=20Restore=20support=20for?= =?UTF-8?q?=20typing.ParamSpec=20in=20=20=20=20=20autodoc.=20Patch=20by=20?= =?UTF-8?q?Adam=20Turner.=20=20=20*=20#12555:=20Drop=20Docutils=200.18.1?= =?UTF-8?q?=20and=20Docutils=200.19=20support.=20Patch=20=20=20=20=20by=20?= =?UTF-8?q?Adam=20Turner.=20=20=20*=20LaTeX:=20the=20xcolor=20package=20is?= =?UTF-8?q?=20now=20required=20(but=20is=20for=20example=20=20=20=20=20par?= =?UTF-8?q?t=20of=20Ubuntu=20texlive-latex-recommended=20which=20has=20alw?= =?UTF-8?q?ays=20=20=20=20=20been=20required).=20=20=20*=20LaTeX:=20the=20?= =?UTF-8?q?fontawesome5=20LaTeX=20package=20is=20needed=20for=20the=20=20?= =?UTF-8?q?=20=20=20default=20choices=20of=20icons=20now=20used=20in=20adm?= =?UTF-8?q?onition=20titles=20in=20PDF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=268 --- python-Sphinx.changes | 240 ++++++++++++++++++++++++++++++++++++++++++ python-Sphinx.spec | 2 +- sphinx-7.3.7.tar.gz | 3 - sphinx-7.4.5.tar.gz | 3 + 4 files changed, 244 insertions(+), 4 deletions(-) delete mode 100644 sphinx-7.3.7.tar.gz create mode 100644 sphinx-7.4.5.tar.gz diff --git a/python-Sphinx.changes b/python-Sphinx.changes index 2c63130..8a8762c 100644 --- a/python-Sphinx.changes +++ b/python-Sphinx.changes @@ -1,3 +1,243 @@ +------------------------------------------------------------------- +Thu Jul 18 07:27:41 UTC 2024 - Dirk Müller + +- update to 7.4.5: + * #12593, #12600: Revert coercing the type of selected + :confval:`html_sidebars` values to a list. Log an error + message when string values are detected. Patch by Adam + Turner. + * #12594: LaTeX: since 7.4.0, :rst:dir:`seealso` and other + "light" admonitions now break PDF builds if they contain a + :dudir:`figure` directive; and also if they are contained in + a table cell (rendered by tabulary). Patch by Jean-François + B. + * #12585, #12586: Do not warn when an intersphinx inventory + contains case-insensitively ambiguous duplicate items. Patch + by James Addison. + * #12582: Restore support for list-styled + :confval:`source_suffix` values with extensions that register + parsers. Patch by Adam Turner. + * #12580, #12583: Resolve failures with the C domain on + incremental builds with Sphinx 7.3.7 and earlier. Patch by + Adam Turner. + * Fix invalid HTML when a rubric node with invalid heading- + level is used. Patch by Adam Turner. + * #12579, #12581: Restore support for typing.ParamSpec in + autodoc. Patch by Adam Turner. + * #12555: Drop Docutils 0.18.1 and Docutils 0.19 support. Patch + by Adam Turner. + * LaTeX: the xcolor package is now required (but is for example + part of Ubuntu texlive-latex-recommended which has always + been required). + * LaTeX: the fontawesome5 LaTeX package is needed for the + default choices of icons now used in admonition titles in PDF + output; but if unavailable the PDF build will simply silently + omit rendering such icons. Check the documentation of the + iconpackage key of :ref:`'sphinxsetup' ` + for more. + * LaTeX: the sphinxlightbox environment is not used anymore, + all types of admonitions use (by default) only + sphinxheavybox. + * #11165: Support the officially recommended .jinja suffix for + template files. Patch by James Addison and Adam Turner + * #11165: Support the officially recommended .jinja suffix for + template files. Patch by James Addison and Adam Turner + * #12325: Flatten Union[Literal[T], Literal[U], ...] to + Literal[T, U, ...] when turning annotations into strings. + Patch by Adam Turner. + * #12325: Flatten Union[Literal[T], Literal[U], ...] to + Literal[T, U, ...] when turning annotations into strings. + Patch by Adam Turner. + * #12319: sphinx.ext.extlinks: Add extlink-{name} CSS class to + links. Patch by Hugo van Kemenade. + * #12319: sphinx.ext.extlinks: Add extlink-{name} CSS class to + links. Patch by Hugo van Kemenade. + * #12387: Improve CLI progress message, when copying assets. + Patch by INADA Nakoi and Bénédikt Tran. + * #12387: Improve CLI progress message, when copying assets. + Patch by INADA Nakoi and Bénédikt Tran. + * #12361: Add :attr:`.BuildEnvironment.parser`. Patch by Chris + Sewell. + * #12361: Add :attr:`.BuildEnvironment.parser`. Patch by Chris + Sewell. + * #12358: Add :attr:`.Sphinx.fresh_env_used`. Patch by Chris + Sewell. + * #12358: Add :attr:`.Sphinx.fresh_env_used`. Patch by Chris + Sewell. + * #12329: Add detection of ambiguous std:label and std:term + references during loading and resolution of Intersphinx + targets. Patch by James Addison. + * #12329: Add detection of ambiguous std:label and std:term + references during loading and resolution of Intersphinx + targets. Patch by James Addison. + * #12422: Do not duplicate "navigation" in aria-label of built- + in themes. Patch by Thomas Weißschuh + * #12422: Do not duplicate "navigation" in aria-label of built- + in themes. Patch by Thomas Weißschuh + * #12421: Include project name in logo_alt of built-in themes. + Patch by Thomas Weißschuh + * #12421: Include project name in logo_alt of built-in themes. + Patch by Thomas Weißschuh + * #12448: Add :option:`sphinx-apidoc --remove-old` option. + Patch by Chris Sewell. + * #12448: Add :option:`sphinx-apidoc --remove-old` option. + Patch by Chris Sewell. + * #12456: Add :option:`sphinx-autogen --remove-old` option. + Patch by Chris Sewell. + * #12456: Add :option:`sphinx-autogen --remove-old` option. + Patch by Chris Sewell. + * #12479: Add warning subtype toc.no_title. Patch by Ondřej + Navrátil. + * #12479: Add warning subtype toc.no_title. Patch by Ondřej + Navrátil. + * #12492: Add helper methods for parsing reStructuredText + content into nodes from within a directive. :py:meth:`~sphin + x.util.docutils.SphinxDirective.parse_content_to_nodes()` + parses the directive's content and returns a list of Docutils + nodes. :py:meth:`~sphinx.util.docutils.SphinxDirective.parse_ + text_to_nodes()` parses the provided text and returns a list + of Docutils nodes. :py:meth:`~sphinx.util.docutils.SphinxDire + ctive.parse_inline()` parses the provided text into inline + elements and text nodes. Patch by Adam Turner. + * #12492: Add helper methods for parsing reStructuredText + content into nodes from within a directive. + * :py:meth:`~sphinx.util.docutils.SphinxDirective.parse_content + _to_nodes()` parses the directive's content and returns a + list of Docutils nodes. + * :py:meth:`~sphinx.util.docutils.SphinxDirective.parse_text_to + _nodes()` parses the provided text and returns a list of + Docutils nodes. + * :py:meth:`~sphinx.util.docutils.SphinxDirective.parse_inline( + )` parses the provided text into inline elements and text + nodes. + * Patch by Adam Turner. + * #12258: Support typing_extensions.Unpack Patch by Bénédikt + Tran and Adam Turner. + * #12258: Support typing_extensions.Unpack Patch by Bénédikt + Tran and Adam Turner. + * #12524: Add a class option to the :rst:dir:`toctree` + directive. Patch by Tim Hoffmann. + * #12524: Add a class option to the :rst:dir:`toctree` + directive. Patch by Tim Hoffmann. + * #12536: Add the :rst:dir:`confval` directive. Patch by Adam + Turner. + * #12536: Add the :rst:dir:`confval` directive. Patch by Adam + Turner. + * #12537: :confval:`c_id_attributes`, + :confval:`c_paren_attributes`, :confval:`cpp_id_attributes`, + and :confval:`cpp_paren_attributes` can now be a tuple of + strings. :confval:`c_extra_keywords`, + :confval:`gettext_additional_targets`, + :confval:`html_domain_indices`, + :confval:`latex_domain_indices`, and + :confval:`texinfo_domain_indices`, can now be a set of + strings. Patch by Adam Turner. + * #12537: :confval:`c_id_attributes`, + :confval:`c_paren_attributes`, :confval:`cpp_id_attributes`, + and :confval:`cpp_paren_attributes` can now be a tuple of + strings. :confval:`c_extra_keywords`, + :confval:`gettext_additional_targets`, + :confval:`html_domain_indices`, + :confval:`latex_domain_indices`, and + :confval:`texinfo_domain_indices`, can now be a set of + strings. Patch by Adam Turner. + * #12523: Added configuration option, :confval:`math_numsep`, + to define the separator for math numbering. Patch by Thomas + Fanning + * #12523: Added configuration option, :confval:`math_numsep`, + to define the separator for math numbering. Patch by Thomas + Fanning + * #11592: Add :confval:`coverage_modules` to the coverage + builder to allow explicitly specifying which modules should + be documented. Patch by Stephen Finucane. + * #11592: Add :confval:`coverage_modules` to the coverage + builder to allow explicitly specifying which modules should + be documented. Patch by Stephen Finucane. + * #7896, #11989: Add a :rst:dir:`py:type` directive for + documenting type aliases, and a :rst:role:`py:type` role for + linking to them. Patch by Ashley Whetter. + * #7896, #11989: Add a :rst:dir:`py:type` directive for + documenting type aliases, and a :rst:role:`py:type` role for + linking to them. Patch by Ashley Whetter. + * #12549: Add optional description argument to + :meth:`.Sphinx.add_config_value`. Patch by Chris Sewell. + * #12549: Add optional description argument to + :meth:`.Sphinx.add_config_value`. Patch by Chris Sewell. + * #6792: Prohibit module import cycles in + :mod:`sphinx.ext.autosummary`. Patch by Trevor Bekolay. + * #6792: Prohibit module import cycles in + :mod:`sphinx.ext.autosummary`. Patch by Trevor Bekolay. + * #12508: LaTeX: Revamped styling of all admonitions, with + addition of a title row with icon. Patch by Jean-François B. + * #12508: LaTeX: Revamped styling of all admonitions, with + addition of a title row with icon. Patch by Jean-François B. + * #11773: Display :py:class:`~typing.Annotated` annotations + with their metadata in the Python domain. Patch by Adam + Turner and David Stansby. + * #11773: Display :py:class:`~typing.Annotated` annotations + with their metadata in the Python domain. Patch by Adam + Turner and David Stansby. + * #12506: Add heading-level option to :rst:dir:`rubric` + directive. Patch by Chris Sewell. + * #12506: Add heading-level option to :rst:dir:`rubric` + directive. Patch by Chris Sewell. + * #12567: Add the :event:`write-started` event. Patch by Chris + Sewell. + * #12567: Add the :event:`write-started` event. Patch by Chris + Sewell. + * #12314: Properly format collections.abc.Callable in + annotations. Patch by Adam Turner. + * #12162: Fix a performance regression in the C domain that has + been present since version 3.0.0. Patch by Donald Hunter. + * #12320: Fix removal of anchors from search summaries + (regression in 7.3.0). Patch by Will Lachance. + * #12251: Fix merge_domaindata() in sphinx.ext.duration. Patch + by Matthias Geier. + * #12224: Properly detect WebP files. Patch by Benjamin Cabé. + * #12380: LaTeX: Footnote mark sometimes indicates Page N where + N is the current page number and the footnote does appear on + that same page. Patch by Jean-François B. + * #12410: LaTeX: for French and 'lualatex' as + :confval:`latex_engine` polyglossia and not babel is used + (contrarily to 'xelatex'). Patch by Jean-François B. + * #12416: Ensure that configuration setting aliases are always + synchronised when one value or the other is modified. Patch + by Bénédikt Tran. + * #12220: Fix loading custom template translations for en + locale. Patch by Nicolas Peugnet. + * #12459: Add valid-type arguments to the + linkcheck_rate_limit_timeout configuration setting. Patch by + James Addison. + * #12331: Resolve data-URI-image-extraction regression from + v7.3.0 affecting builders without native support for data- + URIs in their output format. Patch by James Addison. + * #12494: Fix invalid genindex.html file produced with + translated docs (regression in 7.1.0). Patch by Nicolas + Peugnet. + * #11961: Omit anchor references from document title entries in + the search index, removing duplication of search results. + Patch by James Addison. + * #12425: Use Docutils' SVG processing in the HTML builder and + remove Sphinx's custom logic. Patch by Tunç Başar Köse. + * #12391: Adjust scoring of matches during HTML search so that + document main titles tend to rank higher than subsection + titles. In addition, boost matches on the name of programming + domain objects relative to title/subtitle matches. Patch by + James Addison and Will Lachance. + * #9634: Do not add a fallback language by stripping the + country code. Patch by Alvin Wong. + * #12352: Add domain objects to the table of contents in the + same order as defined in the document. Previously, each + domain used language-specific nesting rules, which removed + control from document authors. Patch by Jakob Lykke Andersen + and Adam Turner. + * #11041: linkcheck: Ignore URLs that respond with non-Unicode + content. Patch by James Addison. + * #12543: Fix PEP 695 formatting for LaTeX output. Patch by + Bénédikt Tran. + * karma: refactor HTML search tests to use fixtures generated + by Sphinx. Patch by James Addison. + ------------------------------------------------------------------- Sat Jun 29 07:05:01 UTC 2024 - Dirk Müller diff --git a/python-Sphinx.spec b/python-Sphinx.spec index 864e400..7932c16 100644 --- a/python-Sphinx.spec +++ b/python-Sphinx.spec @@ -26,7 +26,7 @@ %endif %{?sle15_python_module_pythons} Name: python-Sphinx%{psuffix} -Version: 7.3.7 +Version: 7.4.5 Release: 0 Summary: Python documentation generator License: BSD-2-Clause diff --git a/sphinx-7.3.7.tar.gz b/sphinx-7.3.7.tar.gz deleted file mode 100644 index c95e9a1..0000000 --- a/sphinx-7.3.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a4a7db75ed37531c05002d56ed6948d4c42f473a36f46e1382b0bd76ca9627bc -size 7094808 diff --git a/sphinx-7.4.5.tar.gz b/sphinx-7.4.5.tar.gz new file mode 100644 index 0000000..598f8d6 --- /dev/null +++ b/sphinx-7.4.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4abe5385bf856df094c1e6cadf24a2351b12057be3670b99a12c05a01d209f5 +size 8115101