14
0
forked from pool/python-Sphinx

Accepting request 1056250 from home:marxin:branches:devel:languages:python

- Update to version 6.1.1
  * #11091: Fix ``util.nodes.apply_source_workaround`` for ``literal_block`` nodes
    with no source information in the node or the node's parents.
  * Adopted the `Ruff`_ code linter.
    .. _Ruff: https://github.com/charliermarsh/ruff
  * #10979: gettext: Removed support for pluralisation in ``get_translation``.
    This was unused and complicated other changes to ``sphinx.locale``.
  * ``sphinx.util`` functions:
     * Renamed ``sphinx.util.typing.stringify()``
       to ``sphinx.util.typing.stringify_annotation()``
     * Moved ``sphinx.util.xmlname_checker()``
       to ``sphinx.builders.epub3._XML_NAME_PATTERN``
     Moved to ``sphinx.util.display``:
     * ``sphinx.util.status_iterator``
     * ``sphinx.util.display_chunk``
     * ``sphinx.util.SkipProgressMessage``
     * ``sphinx.util.progress_message``
     Moved to ``sphinx.util.http_date``:
     * ``sphinx.util.epoch_to_rfc1123``
     * ``sphinx.util.rfc1123_to_epoch``
     Moved to ``sphinx.util.exceptions``:
     * ``sphinx.util.save_traceback``
     * ``sphinx.util.format_exception_cut_frames``
  * Cache doctrees in the build environment during the writing phase.
  * Make all writing phase tasks support parallel execution.
  * #11072: Use PEP 604 (``X | Y``) display conventions for ``typing.Optional``
    and ``typing.Optional`` types within the Python domain and autodoc.
  * #10700: autodoc: Document ``typing.NewType()`` types as classes rather than
    'data'.
  * Cache doctrees between the reading and writing phases.

OBS-URL: https://build.opensuse.org/request/show/1056250
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=227
This commit is contained in:
2023-01-05 18:55:57 +00:00
committed by Git OBS Bridge
parent d143ea4ce1
commit 75b12d2e85
8 changed files with 74 additions and 134 deletions

View File

@@ -25,7 +25,7 @@
%bcond_with test
%endif
Name: python-Sphinx%{psuffix}
Version: 6.0.0
Version: 6.1.1
Release: 0
Summary: Python documentation generator
License: BSD-2-Clause
@@ -42,8 +42,6 @@ Source3: requests.inv
Source4: readthedocs.inv
Source5: update-intersphinx.sh
Source99: python-Sphinx.keyring
# PATCH-FIX-UPSTREAM pygments-2.14.patch gh#sphinx-doc/sphinx#11067
Patch0: pygments-2.14.patch
BuildRequires: %{python_module base}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}