From ed440f67f6283bf31e512f0a9013970864cee4c30f4c106d8d0eacf6d94a60d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 30 May 2022 09:59:33 +0000 Subject: [PATCH] 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 --- Sphinx-4.5.0.tar.gz | 3 -- Sphinx-4.5.0.tar.gz.asc | 16 ------ Sphinx-5.0.0.tar.gz | 3 ++ Sphinx-5.0.0.tar.gz.asc | 16 ++++++ python-Sphinx.changes | 115 ++++++++++++++++++++++++++++++++++++++++ python-Sphinx.spec | 4 +- python3.inv | 4 +- readthedocs.inv | 4 +- requests.inv | Bin 2059 -> 2208 bytes 9 files changed, 140 insertions(+), 25 deletions(-) delete mode 100644 Sphinx-4.5.0.tar.gz delete mode 100644 Sphinx-4.5.0.tar.gz.asc create mode 100644 Sphinx-5.0.0.tar.gz create mode 100644 Sphinx-5.0.0.tar.gz.asc diff --git a/Sphinx-4.5.0.tar.gz b/Sphinx-4.5.0.tar.gz deleted file mode 100644 index 4982704..0000000 --- a/Sphinx-4.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7bf8ca9637a4ee15af412d1a1d9689fec70523a68ca9bb9127c2f3eeb344e2e6 -size 6698212 diff --git a/Sphinx-4.5.0.tar.gz.asc b/Sphinx-4.5.0.tar.gz.asc deleted file mode 100644 index 5e336f2..0000000 --- a/Sphinx-4.5.0.tar.gz.asc +++ /dev/null @@ -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----- diff --git a/Sphinx-5.0.0.tar.gz b/Sphinx-5.0.0.tar.gz new file mode 100644 index 0000000..e1c3324 --- /dev/null +++ b/Sphinx-5.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:464d9c1bd5613bcebe76b46658763f3f3dbb184da7406e632a84596d3cd8ee90 +size 6726986 diff --git a/Sphinx-5.0.0.tar.gz.asc b/Sphinx-5.0.0.tar.gz.asc new file mode 100644 index 0000000..54ede77 --- /dev/null +++ b/Sphinx-5.0.0.tar.gz.asc @@ -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----- diff --git a/python-Sphinx.changes b/python-Sphinx.changes index 0afb06b..b69f18a 100644 --- a/python-Sphinx.changes +++ b/python-Sphinx.changes @@ -1,3 +1,118 @@ +------------------------------------------------------------------- +Mon May 30 09:20:27 UTC 2022 - Martin Liška + +- 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 %} + + + {{ 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 diff --git a/python-Sphinx.spec b/python-Sphinx.spec index 469b914..7415d75 100644 --- a/python-Sphinx.spec +++ b/python-Sphinx.spec @@ -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 diff --git a/python3.inv b/python3.inv index 48eef95..6ee1546 100644 --- a/python3.inv +++ b/python3.inv @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a0a0dee7e4d0ff0bb0ea2f0dd7fada442d6840a4d1ce3e1633e231803863e1c0 -size 112877 +oid sha256:e75c859a4e5b962d4838db2f3fddce705b22ca44beabba126cc8d1420db9f2aa +size 125361 diff --git a/readthedocs.inv b/readthedocs.inv index cb76918..c0f4b73 100644 --- a/readthedocs.inv +++ b/readthedocs.inv @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c2744abf3a1deccd97ca85896764d33737d462f9cc52dc5f385e1974eaa62ec3 -size 19692 +oid sha256:b2440fdae25354a89ef8d0db153c1238225535a207d2949a0f03fccec1712018 +size 20301 diff --git a/requests.inv b/requests.inv index df9ba40ed9433e71f47aabe4c6435ced4d705f7f28f10994b1020e12b2a65fe1..a45d40c72b7062defb85f53dc8e9f85999491bddfaf9b5f2c3304b0d86f10177 100644 GIT binary patch delta 2112 zcmV-G2*3A>5TFr|KLa-|F_A(%f6I2;HW1zOD|k+`rPOY->2V$B(I$;+JL!@KA|VM8 zNiYDYSi3Iz6W#XH@+F-i01Be`0LgA_iM;m$7z}0xfCT+oQK@8Do?hlWtuh+^7?P5$ zf6(8e7hx0#16tkkqM(U-VmalNLJoaSXsH-4!k;v)3lFdFgy3SF@b>BHf8G;%FK9^w zO&|0FBqSM;(g(cS@brWXqLg5pN>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