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

- Update to version 5.0.0:
  * #10164: Support `Docutils 0.18`_. Patch by Adam Turner.
  * #10031: autosummary: ``sphinx.ext.autosummary.import_by_name()`` now raises
    ``ImportExceptionGroup`` instead of ``ImportError`` when it failed to import
    target object.  Please handle the exception if your extension uses the
    function to import Python object.  As a workaround, you can disable the
    behavior via ``grouped_exception=False`` keyword argument until v7.0.
  * #9962: texinfo: Customizing styles of emphasized text via ``@definfoenclose``
    command was not supported because the command was deprecated since texinfo 6.8
  * #2068: :confval:`intersphinx_disabled_reftypes` has changed default value
    from an empty list to ``['std:doc']`` as avoid too surprising silent
    intersphinx resolutions.
    To migrate: either add an explicit inventory name to the references
    intersphinx should resolve, or explicitly set the value of this configuration
    variable to an empty list.
  * #10197: html theme: Reduce ``body_min_width`` setting in basic theme to 360px
  * #9999: LaTeX: separate terms from their definitions by a CR (refs: #9985)
  * #10062: Change the default language to ``'en'`` if any language is not set in
    ``conf.py``
  * #10474: :confval:`language` does not accept ``None`` as it value.  The default
    value of ``language`` becomes to ``'en'`` now.
    * #10028: jQuery and underscore.js will no longer be automatically injected into
    themes from Sphinx 6.0. If you develop a theme or extension that uses the
    ``jQuery``, ``$``, or ``$u`` global objects, you need to update your
    JavaScript or use the mitigation below.
    To re-add jQuery and underscore.js, you will need to copy ``jquery.js`` and
    ``underscore.js`` from `the Sphinx repository`_ to your ``static`` directory,
    and add the following to your ``layout.html``:
    .. _the Sphinx repository: https://github.com/sphinx-doc/sphinx/tree/v4.3.2/sphinx/themes/basic/static
    .. code-block:: html+jinja

OBS-URL: https://build.opensuse.org/request/show/979826
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=208
This commit is contained in:
Markéta Machová 2022-05-30 09:59:33 +00:00 committed by Git OBS Bridge
parent bec2daec3d
commit ed440f67f6
9 changed files with 140 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7bf8ca9637a4ee15af412d1a1d9689fec70523a68ca9bb9127c2f3eeb344e2e6
size 6698212

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEihG3ml0NdJpm8KAwECwsF0mNa54FAmJAiTsACgkQECwsF0mN
a57/Fw//YXNipv2G03a65fUIRgXUhtQw3EHNfCF0P+0Gk2gLpdnFAT2SpA8rFAuc
NJX4wQKJKDIuPMD6MhPeuGHplVl0jFUBm+QhxP1lF4CjKo3TFZn70oY06u1UclC6
1fNAyKGwnEuPa2+l2hsU5gaXuRqsiOgWdsx62+IYCBZ0qfwwE21LqwhVpu7tixpY
0GYPzUveZtQcsKEUV1nwYGO1lZjlRzAuKrjwk3J7XySyVzy0Zi7hKRDrdP15FBjB
E6p0ihiP9kEiSXB2V0UpZHjhE9VlD8+CMntnZmX0c50NFyi+w4yTVzhzBfWBbuQA
gfZwUOQ7pj2xxQRTZzT+MYvaJxPyFbd4OMmDnRD1tGCpBRR1k6s4s81hjl5Wadud
U9382K7Ld4u5xjIJ4zddYj3NO+HRZtyR6EPBKDs8KDTxZXld+ZKgGZUlsQym6bNM
haZPz8F7oeX1FfSivBL+L/GxWmI5hr8XuxWgEw92mdMa82QCdJ9J/CS02kYnSz/U
HKQLKwWPjkk+tc7FXxuCx7iZxRaAnU8G2U2RGl8daE0wdm0M5wZSwj4L2u5GSrbf
/OFPinW+luGKZzqB6xdY79u+jFse+niYmHxson/Af9wQLwDqi8tx+Q653FYSycrL
o6JsQSaYYFjhXwoK+VYrt13c0J9zaDXlMI/7h4BxwABaqqMC6vU=
=Uz/2
-----END PGP SIGNATURE-----

3
Sphinx-5.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:464d9c1bd5613bcebe76b46658763f3f3dbb184da7406e632a84596d3cd8ee90
size 6726986

16
Sphinx-5.0.0.tar.gz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEihG3ml0NdJpm8KAwECwsF0mNa54FAmKTnSoACgkQECwsF0mN
a577jA//arwvdSzY7jB0QVd5PlvQGDUGnq4c85s7IbE5URW1vQ8yhiVnVKvj7EmV
KZOWK87mG+aL8AEztOH+YR5YuwxwRsSyFi2tzE1vJ8+14zLMipGt3F55PGuJuC0L
bLHwzJrwe+EkgaZ7RtbWso5Pv8TzgfNf7okXcmObE+89M3kmsFchTJOYsi8Nxg07
qIqsMTX35nm0+8GU1NoYeKWbh4i2jYCF3UzdIGEuMr+UqU6c7YQqzJcm40LIYZvC
YWJsAxmTahkobcuUpaPcYAhAbjJajj7AvclrpRMEqWqKIsuMgbcxaIaSWf4cx1ph
8qyjI4H5reFQ04ZESliVH4G6VA5aLHCobk3J0yZCAhrf5wSt6coOJ2SW5YpbE7pi
rKbfjvptlshBD8tXr9/sPJMT+6HUsGAqbIgm2vcN7wI/wsojS6ZM03Mnlo4sCcII
bZ92Lm1sV9iWYv6ngkj5+4zAnW6QhTWVK/dVJ0HV9iki6XNVzMWgtYS4GW3rMZCv
y9iX4hOZ6I1IrypaN6B3MOVb8pYQFBDY+GvVhu4A2DKlfrO+ReeUFG+brpzvF8NX
1FtaKaStNzMO6iNKqzssdPdrKDQhIFrMXhp0TO7XvkkfeSmU0YZ1wcRR+LjnRDsw
+AzfoB6ZrNw3vmS1fEhgP41VFJKI4Mlfnb3PHIpJA3EpRpdLBhE=
=NuwR
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,118 @@
-------------------------------------------------------------------
Mon May 30 09:20:27 UTC 2022 - Martin Liška <mliska@suse.cz>
- Update to version 5.0.0:
* #10164: Support `Docutils 0.18`_. Patch by Adam Turner.
* #10031: autosummary: ``sphinx.ext.autosummary.import_by_name()`` now raises
``ImportExceptionGroup`` instead of ``ImportError`` when it failed to import
target object. Please handle the exception if your extension uses the
function to import Python object. As a workaround, you can disable the
behavior via ``grouped_exception=False`` keyword argument until v7.0.
* #9962: texinfo: Customizing styles of emphasized text via ``@definfoenclose``
command was not supported because the command was deprecated since texinfo 6.8
* #2068: :confval:`intersphinx_disabled_reftypes` has changed default value
from an empty list to ``['std:doc']`` as avoid too surprising silent
intersphinx resolutions.
To migrate: either add an explicit inventory name to the references
intersphinx should resolve, or explicitly set the value of this configuration
variable to an empty list.
* #10197: html theme: Reduce ``body_min_width`` setting in basic theme to 360px
* #9999: LaTeX: separate terms from their definitions by a CR (refs: #9985)
* #10062: Change the default language to ``'en'`` if any language is not set in
``conf.py``
* #10474: :confval:`language` does not accept ``None`` as it value. The default
value of ``language`` becomes to ``'en'`` now.
* #10028: jQuery and underscore.js will no longer be automatically injected into
themes from Sphinx 6.0. If you develop a theme or extension that uses the
``jQuery``, ``$``, or ``$u`` global objects, you need to update your
JavaScript or use the mitigation below.
To re-add jQuery and underscore.js, you will need to copy ``jquery.js`` and
``underscore.js`` from `the Sphinx repository`_ to your ``static`` directory,
and add the following to your ``layout.html``:
.. _the Sphinx repository: https://github.com/sphinx-doc/sphinx/tree/v4.3.2/sphinx/themes/basic/static
.. code-block:: html+jinja
{%- block scripts %}
<script src="{{ pathto('_static/jquery.js', resource=True) }}"></script>
<script src="{{ pathto('_static/underscore.js', resource=True) }}"></script>
{{ super() }}
{%- endblock %}
* setuptools integration. The ``build_sphinx`` sub-command for setup.py is
marked as deprecated to follow the policy of setuptools team.
* The ``locale`` argument of ``sphinx.util.i18n:babel_format_date()`` becomes
required
* The ``language`` argument of ``sphinx.util.i18n:format_date()`` becomes
required
* ``sphinx.builders.html.html5_ready``
* ``sphinx.io.read_doc()``
* ``sphinx.util.docutils.__version_info__``
* ``sphinx.util.docutils.is_html5_writer_available()``
* ``sphinx.writers.latex.LaTeXWriter.docclasses``
* #9075: autodoc: The default value of :confval:`autodoc_typehints_format` is
changed to ``'smart'``. It will suppress the leading module names of
typehints (ex. ``io.StringIO`` -> ``StringIO``).
* #8417: autodoc: ``:inherited-members:`` option now takes multiple classes. It
allows to suppress inherited members of several classes on the module at once
by specifying the option to :rst:dir:`automodule` directive
* #9792: autodoc: Add new option for ``autodoc_typehints_description_target`` to
include undocumented return values but not undocumented parameters.
* #10285: autodoc: singledispatch functions having typehints are not documented
* autodoc: :confval:`autodoc_typehints_format` now also applies to attributes,
data, properties, and type variable bounds.
* #10258: autosummary: Recognize a documented attribute of a module as
non-imported
* #10028: Removed internal usages of JavaScript frameworks (jQuery and
underscore.js) and modernised ``doctools.js`` and ``searchtools.js`` to
EMCAScript 2018.
* #10302: C++, add support for conditional expressions (``?:``).
* #5157, #10251: Inline code is able to be highlighted via :rst:dir:`role`
directive
* #10337: Make sphinx-build faster by caching Publisher object during build
* #10200: apidoc: Duplicated submodules are shown for modules having both .pyx
and .so files
* #10279: autodoc: Default values for keyword only arguments in overloaded
functions are rendered as a string literal
* #10280: autodoc: :confval:`autodoc_docstring_signature` unexpectedly generates
return value typehint for constructors if docstring has multiple signatures
* #10266: autodoc: :confval:`autodoc_preserve_defaults` does not work for
mixture of keyword only arguments with/without defaults
* #10310: autodoc: class methods are not documented when decorated with mocked
function
* #10305: autodoc: Failed to extract optional forward-ref'ed typehints correctly
via :confval:`autodoc_type_aliases`
* #10421: autodoc: :confval:`autodoc_preserve_defaults` doesn't work on class
methods
* #10214: html: invalid language tag was generated if :confval:`language`
contains a country code (ex. zh_CN)
* #9974: html: Updated jQuery version from 3.5.1 to 3.6.0
* #10236: html search: objects are duplicated in search result
* #9962: texinfo: Deprecation message for ``@definfoenclose`` command on
bulding texinfo document
* #10000: LaTeX: glossary terms with common definition are rendered with
too much vertical whitespace
* #10188: LaTeX: alternating multiply referred footnotes produce a ``?`` in
pdf output
* #10363: LaTeX: make ``'howto'`` title page rule use ``\linewidth`` for
compatibility with usage of a ``twocolumn`` class option
* #10318: ``:prepend:`` option of :rst:dir:`literalinclude` directive does not
work with ``:dedent:`` option
* #9575: autodoc: The annotation of return value should not be shown when
``autodoc_typehints="description"``
* #9648: autodoc: ``*args`` and ``**kwargs`` entries are duplicated when
``autodoc_typehints="description"``
* #8180: autodoc: Docstring metadata ignored for attributes
* #10443: epub: EPUB builder can't detect the mimetype of .webp file
* #10104: gettext: Duplicated locations are shown if 3rd party extension does
not provide correct information
* #10456: py domain: ``:meta:`` fields are displayed if docstring contains two
or more meta-field
* #9096: sphinx-build: the value of progress bar for paralle build is wrong
* #10110: sphinx-build: exit code is not changed when error is raised on
builder-finished event
-------------------------------------------------------------------
Mon Mar 28 08:29:11 UTC 2022 - Martin Liška <mliska@suse.cz>

View File

@ -27,7 +27,7 @@
%endif
%define skip_python2 1
Name: python-Sphinx%{psuffix}
Version: 4.5.0
Version: 5.0.0
Release: 0
Summary: Python documentation generator
License: BSD-2-Clause
@ -38,7 +38,7 @@ Source1: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%
# Provide intersphinx inventory offline
# https://docs.python.org/3/objects.inv#/python3.inv
Source2: python3.inv
# https://docs.python-requests.org/en/master/objects.inv#/requests.inv
# https://requests.readthedocs.io/en/stable/objects.inv#/requests.inv
Source3: requests.inv
# https://docs.readthedocs.io/en/stable/objects.inv#/readthedocs.inv
Source4: readthedocs.inv

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a0a0dee7e4d0ff0bb0ea2f0dd7fada442d6840a4d1ce3e1633e231803863e1c0
size 112877
oid sha256:e75c859a4e5b962d4838db2f3fddce705b22ca44beabba126cc8d1420db9f2aa
size 125361

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c2744abf3a1deccd97ca85896764d33737d462f9cc52dc5f385e1974eaa62ec3
size 19692
oid sha256:b2440fdae25354a89ef8d0db153c1238225535a207d2949a0f03fccec1712018
size 20301

Binary file not shown.