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

- Update to version 6.0.0
  * #10468: Drop Python 3.6 support
  * #10470: Drop Python 3.7, Docutils 0.14, Docutils 0.15, Docutils 0.16, and
    Docutils 0.17 support. Patch by Adam Turner
  * #7405: Removed the jQuery and underscore.js JavaScript frameworks.
    These frameworks are 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 to modern standards, or use the mitigation below.
    The first option is to use the sphinxcontrib.jquery_ extension, which has been
    developed by the Sphinx team and contributors. To use this, add
    ``sphinxcontrib.jquery`` to the ``extensions`` list in ``conf.py``, or call
    ``app.setup_extension("sphinxcontrib.jquery")`` if you develop a Sphinx theme
    or extension.
    The second option is to manually ensure that the frameworks are present.
    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``:
    .. 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 %}
    .. _sphinxcontrib.jquery: https://github.com/sphinx-contrib/jquery/
    Patch by Adam Turner.
  * #10471, #10565: Removed deprecated APIs scheduled for removal in Sphinx 6.0. See
    :ref:`dev-deprecated-apis` for details. Patch by Adam Turner.
  * #10901: C Domain: Remove support for parsing pre-v3 style type directives and
    roles. Also remove associated configuration variables ``c_allow_pre_v3`` and

OBS-URL: https://build.opensuse.org/request/show/1045890
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=224
This commit is contained in:
Dirk Mueller 2023-01-02 09:24:35 +00:00 committed by Git OBS Bridge
parent 921ceb8e20
commit 4f3e8c57ee
8 changed files with 68 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:51026de0a9ff9fc13c05d74913ad66047e104f56a129ff73e174eb5c3ee794b5
size 6811365

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE01SRGb1RtK/mQ+WXUsj3KmHw+1IFAmNL1bUACgkQUsj3KmHw
+1LDyQ//SHB9US7Rjlovi8qWGr5ruQtw5QXYdrZo6XBSlcKEy0NQua+IKstVWYWO
GEhiUwqaNcRrHEZPEKqJIzUbV5HsooX57X/hxpK4rEakam6jN67xRSyf7hRbA4kg
dFIyfv570iE2LbpBZWlb+uTdoFkGLOaLVHWvZmsCsAQhrJWemoAC0RLMIpcASDw6
58kj5/6fpSqUgs12YNKmD5WiT8kV/m49AWSPUAALod46hLk7//kwkCF0VwKZx9Qy
5kIjcg7sdLb9CgyI6rGjkxZbn+7MYm2PyJyddEp3Vqm/QrBTe7mkrCrDW5aHb5YA
b8B9wevxjt8DN3WgRHheh+nvygJzBnCqZPoUTdIuDh2AlZfAd2q1kx7TWA9Gw+FF
r5zEhvSuaiDhd/FU8XnduaYJ9FobeIZgVClQ16hOOkdLTTa1nImGoA3RPW01cu2y
1eAeLupciIRyEx/CRVX160aTN7YnExCL/aaKTlEYzniqgab2ubH9F1V+0GfcuKJP
BhzKVtw0YVOR1TRf49d9VT5yITbEpI9wPRrn6zunWSk6BSj7Ee7yUXMKonMZyezR
p601cjRUmQitHJo25Kc1YNsmJ0DMNfV5YCBHrBwBRL8fZAulg1+L60MLK3hJ8hxs
hSdghlhUayz71OH9MQEQaEoaMzTbnTKci6sna5t7W6GmEhu//WE=
=YyU8
-----END PGP SIGNATURE-----

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58c140ecd9aa0abbc8ff6da48a266648eac9e5bfc8e49576efd2979bf46f5961
size 6658981

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

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE01SRGb1RtK/mQ+WXUsj3KmHw+1IFAmOtrGwACgkQUsj3KmHw
+1KeqBAAkkYG9B3MlmY75MHiPhPSYjakjHe4uuMrGFb59Tz/TCL4S/3NxZIeyd5R
Jr0S+BJrinQ1Z8RauIGTc0xAOPEaHyjgcC02FZa+I7JSFi85Fd5QnE+pxEB/n7Q3
hjjo0pNqMgfLklmSvy4NmZIoZ0Ra0wJEE54pnFNPs8m5W08MShUCPz2J/41Q0Q8N
fg8yij2a+OMBTKB9zO7NZSo/MjYeTy7x0DhFCeu708kx9e6zwGvxAhbQXYWBQz6l
Gujaa3PEvx7CWgk3wASnwIRcaZG3K3LxkjrqjF9pvMv59PUUTVnvyqeXB79QD+YJ
ngIvXcryxcBdWuAWtW0MUIyZMItrpYvm5xdwgBDCr+ypKfcTfeXxDtTJjy8qeCCC
bQQq6Z+pB27+/DCa+bOXC/wgaWlSER7RiiI9OOF0kpZv2w8xxFSBl6TuXrGBPhIg
BMsC0SdIvVjq95kKmg3hujIhkiPMolOLnWD6jsenIwQEPwRGAiRF8Na+U/dal86x
naCFTBMgT0L0uD7SThvXDgecfaBXYpLi6McdEZpGuV8SwMOEErjeerJzBQX6ughD
AjUhncmqtFqrlQEy3IOZPRnd5zGTwM5pWkV7NW5hpxYAEaXsGu+C+9duKkDf38UG
v+ZafcPqd4YQeZiRiqcpn/pqvJ02parN3i6nEFCyFBA0vao5Ivg=
=vOM0
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,47 @@
-------------------------------------------------------------------
Sat Dec 31 09:06:47 UTC 2022 - Martin Liška <mliska@suse.cz>
- Update to version 6.0.0
* #10468: Drop Python 3.6 support
* #10470: Drop Python 3.7, Docutils 0.14, Docutils 0.15, Docutils 0.16, and
Docutils 0.17 support. Patch by Adam Turner
* #7405: Removed the jQuery and underscore.js JavaScript frameworks.
These frameworks are 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 to modern standards, or use the mitigation below.
The first option is to use the sphinxcontrib.jquery_ extension, which has been
developed by the Sphinx team and contributors. To use this, add
``sphinxcontrib.jquery`` to the ``extensions`` list in ``conf.py``, or call
``app.setup_extension("sphinxcontrib.jquery")`` if you develop a Sphinx theme
or extension.
The second option is to manually ensure that the frameworks are present.
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``:
.. 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 %}
.. _sphinxcontrib.jquery: https://github.com/sphinx-contrib/jquery/
Patch by Adam Turner.
* #10471, #10565: Removed deprecated APIs scheduled for removal in Sphinx 6.0. See
:ref:`dev-deprecated-apis` for details. Patch by Adam Turner.
* #10901: C Domain: Remove support for parsing pre-v3 style type directives and
roles. Also remove associated configuration variables ``c_allow_pre_v3`` and
``c_warn_on_allowed_pre_v3``. Patch by Adam Turner.
* #10924: LaTeX: adopt better looking defaults for tables and code-blocks.
See :confval:`latex_table_style` and the ``pre_border-radius`` and
``pre_background-TeXcolor`` :ref:`additionalcss` for the former defaults
and how to re-enact them if desired.
* #10984: LaTeX: Document :confval:`latex_additional_files` behavior for files
with ``.tex`` extension.
-------------------------------------------------------------------
Sun Oct 16 14:43:01 UTC 2022 - Martin Liška <mliska@suse.cz>

View File

@ -25,7 +25,7 @@
%bcond_with test
%endif
Name: python-Sphinx%{psuffix}
Version: 5.3.0
Version: 6.0.0
Release: 0
Summary: Python documentation generator
License: BSD-2-Clause

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:17f68917f7acc8ad96a1e7db679e483f5056f72cfea2cff315b832223c4fae93
size 125960
oid sha256:491abb80a60aa3a5d2f3136bd3a17c22b49a4094c422ebdf1f4c2db56ddf13d4
size 129792

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59004bf1d334e73cf04bfbcd96cabc1d528a0f34a7ac7c046c6ed2574769a954
size 21611
oid sha256:bed51f9e10ff55470c8e5f9a0510a40e258b2f60604b3951c1d05cd0a581fc91
size 22074