- update to 3.3.1:
* #8372: autodoc: autoclass directive became slower than Sphinx-3.2 * #7727: autosummary: raise PycodeError when documenting python package * #8350: autosummary: autosummary_mock_imports causes slow down builds * #8364: C, properly initialize attributes in empty symbols. * #8399: i18n: Put system locale path after the paths specified by configuration * #8100: html: Show a better error message for failures on copying html_static_files * #8141: C: added a ``maxdepth`` option to :rst:dir:`c:alias` to insert nested declarations. * #8081: LaTeX: Allow to add LaTeX package via ``app.add_latex_package()`` until just before writing .tex file * #7996: manpage: Add :confval:`man_make_section_directory` to make a section directory on build man page * #8289: epub: Allow to suppress "duplicated ToC entry found" warnings from epub builder using :confval:`suppress_warnings`. * #8298: sphinx-quickstart: Add :option:`sphinx-quickstart --no-sep` option * #8304: sphinx.testing: Register public markers in sphinx.testing.fixtures * #8051: napoleon: use the obj role for all See Also items * #8050: napoleon: Apply :confval:`napoleon_preprocess_types` to every field * C and C++, show line numbers for previous declarations when duplicates are detected. * #8183: Remove substitution_reference nodes from doctree only on LaTeX builds * bugfixes - remove sphinx-pygments-compat.patch (obsolete) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=167
This commit is contained in:
parent
1fe482d81c
commit
f1bb26e3fa
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:321d6d9b16fa381a5306e5a0b76cd48ffbc588e6340059a729c6fdd66087e0e8
|
||||
size 5970067
|
@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEEihG3ml0NdJpm8KAwECwsF0mNa54FAl82bVIACgkQECwsF0mN
|
||||
a55rIw//ROMAwRz9tmLbtcw/r9J4uBzzCIof36TTHwDXt8ZGS2hGJ8Fql32VXS5v
|
||||
1wNMhbthgDSJTfeztSZKQVwmXz6e9q2ignQwUpd/9RvFk/Zf51+v2z6Qtt+Qozn9
|
||||
DC094CiTrsnKmAW4ZHCb6xuxyYV1bj1KXbnDdECERFt9QNssi2cnKmf72bCX/cae
|
||||
Kw/hKxeYiVDjax6zdggPKuTxZ8zOikCEnoo43iwXxF+OQWitz20y0hk8bR74NBR7
|
||||
l2KEJTlAQ/YhsYh7HlRzGU1wT37u5TO0JzzZW7jdbj+j74aeml6w2/67sTSxLNjj
|
||||
PF3xEDz9YTF1yT9AM1STxV6Aso8y4yfTI1aH23l86gn+f6sx2DA3wxYAWcn/Qvtu
|
||||
Y7uqZEaIT1glvhZg3ya+5SOwFvznNiZ/nLOE1BgWH3iIzfEOtU3ZbDOU8H/Wne4r
|
||||
uQGnD3cwvKzZ0cqO3r3XwU98WNU6EFTo3oYWA1k9Pkv9Sb4XhUEKL2RZNbHpGhqQ
|
||||
9ykJavutrqvyrMoGi5dADZ74YRXGNaQbCX03W6cOg+DLN2buZWevqxclixxz5uXK
|
||||
SmjSD68jIMH2Qe2d95W8L6hg2vvspenRIhtRped9qkYbzALkgeIHIzpBVfXwKCHx
|
||||
48jtVh7CgZim57GUfwAGfqDGy2M+V4f49CCf4GNBBK7wAgQ0arc=
|
||||
=Fh8q
|
||||
-----END PGP SIGNATURE-----
|
3
Sphinx-3.3.1.tar.gz
Normal file
3
Sphinx-3.3.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1e8d592225447104d1172be415bc2972bd1357e3e12fdc76edf2261105db4300
|
||||
size 5979919
|
16
Sphinx-3.3.1.tar.gz.asc
Normal file
16
Sphinx-3.3.1.tar.gz.asc
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEEihG3ml0NdJpm8KAwECwsF0mNa54FAl+tRRMACgkQECwsF0mN
|
||||
a55jUw//e60TRGNBMUYvVlgjCYqPIyyoT2CjUL0YxuB1z4IeYPnkRGuaD1fTjEAt
|
||||
UAHl0LV7/HrqLeLk/9HsZcxSbRYZ1D0Z7Ifwoi+/1lg8R+E8AJcpdZbsUkMpRiiz
|
||||
xw2MibHQ+V5CiggqD2slTtJRsdGXnQwyNLD2MSRzPJpNd1cJgyZnrZHvO3hRc//u
|
||||
80Zl1vyrwP8GhQzJeHN1xT4EbhhdBiw+VeWnbeNoMJQky0JgC/xTMhoYMoyxhP1q
|
||||
DzeiqOuwnAngk0tlV5NUaqpV3Mw1SR9L/u1WnaKsq1KdXZbc8Rue2rEBbbbcXhqv
|
||||
P7SsIRxLxobpTayAwiiUE+HPcQLuX+/W9ZaV7J/kE8H7k4+37GRhneX8bZoD+zGi
|
||||
Gd7rMBCo2uM0IZQyc6FidGurl/IpN5hOJoe47yP0VbRjox+K1lsYxiSrxZMNifyY
|
||||
0U7wyNnjYpE8sZMgahd4VlHWC4sTNsCFYliG2uKUrO1BEwSVeAslm8fJj5M/0AjR
|
||||
kwP2kS1owEapFckeJ2P0N+7VBfFY8hdDnCi0lEdZZ8ZVxzoMjgUnb/nbbYl5aCPF
|
||||
B1Srqbz8SLk2r87RlpC2l/ZHmeryrebIJ1QGLAOFEx4hj2rvrBmd8o8AHBO6pFCw
|
||||
DQT4KOpSSb5Fp3EIWCHQ3PiKwpWiB9DfxMvOiwWhh/9BrXVufPE=
|
||||
=yB97
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +1,32 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 26 09:18:00 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
- update to 3.3.1:
|
||||
* #8372: autodoc: autoclass directive became slower than Sphinx-3.2
|
||||
* #7727: autosummary: raise PycodeError when documenting python package
|
||||
* #8350: autosummary: autosummary_mock_imports causes slow down builds
|
||||
* #8364: C, properly initialize attributes in empty symbols.
|
||||
* #8399: i18n: Put system locale path after the paths specified by configuration
|
||||
* #8100: html: Show a better error message for failures on copying
|
||||
html_static_files
|
||||
* #8141: C: added a ``maxdepth`` option to :rst:dir:`c:alias` to insert
|
||||
nested declarations.
|
||||
* #8081: LaTeX: Allow to add LaTeX package via ``app.add_latex_package()`` until
|
||||
just before writing .tex file
|
||||
* #7996: manpage: Add :confval:`man_make_section_directory` to make a section
|
||||
directory on build man page
|
||||
* #8289: epub: Allow to suppress "duplicated ToC entry found" warnings from epub
|
||||
builder using :confval:`suppress_warnings`.
|
||||
* #8298: sphinx-quickstart: Add :option:`sphinx-quickstart --no-sep` option
|
||||
* #8304: sphinx.testing: Register public markers in sphinx.testing.fixtures
|
||||
* #8051: napoleon: use the obj role for all See Also items
|
||||
* #8050: napoleon: Apply :confval:`napoleon_preprocess_types` to every field
|
||||
* C and C++, show line numbers for previous declarations when duplicates are
|
||||
detected.
|
||||
* #8183: Remove substitution_reference nodes from doctree only on LaTeX builds
|
||||
* bugfixes
|
||||
- remove sphinx-pygments-compat.patch (obsolete)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 4 11:10:14 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
%endif
|
||||
%define skip_python2 1
|
||||
Name: python-Sphinx%{psuffix}
|
||||
Version: 3.2.1
|
||||
Version: 3.3.1
|
||||
Release: 0
|
||||
Summary: Python documentation generator
|
||||
License: BSD-2-Clause
|
||||
@ -38,8 +38,6 @@ Source: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%
|
||||
Source1: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz.asc
|
||||
Source2: python3.inv
|
||||
Source99: python-Sphinx-rpmlintrc
|
||||
# PATCH-FIX-UPSTREAM: https://patch-diff.githubusercontent.com/raw/sphinx-doc/sphinx/pull/8205.patch
|
||||
Patch0: sphinx-pygments-compat.patch
|
||||
BuildRequires: %{python_module base}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
|
@ -1,36 +0,0 @@
|
||||
From 85b24a2e88ea71edc728aff3b078d34c2f374f06 Mon Sep 17 00:00:00 2001
|
||||
From: Takeshi KOMIYA <i.tkomiya@gmail.com>
|
||||
Date: Sun, 13 Sep 2020 09:16:32 +0900
|
||||
Subject: [PATCH] Fix our test failed with pygments-2.7.0
|
||||
|
||||
Since pygments-2.7.0, it has changed the style of output HTML.
|
||||
That makes our test broken. This fixes it to pass with new pygments.
|
||||
---
|
||||
tests/test_build_html.py | 8 +++++++-
|
||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
|
||||
index e949f11572..1efc6c14a6 100644
|
||||
--- a/tests/test_build_html.py
|
||||
+++ b/tests/test_build_html.py
|
||||
@@ -10,8 +10,10 @@
|
||||
|
||||
import os
|
||||
import re
|
||||
+from distutils.version import LooseVersion
|
||||
from itertools import cycle, chain
|
||||
|
||||
+import pygments
|
||||
import pytest
|
||||
from html5lib import HTMLParser
|
||||
|
||||
@@ -1591,4 +1593,8 @@ def test_html_codeblock_linenos_style_inline(app):
|
||||
app.build()
|
||||
content = (app.outdir / 'index.html').read_text()
|
||||
|
||||
- assert '<span class="lineno">1 </span>' in content
|
||||
+ pygments_version = tuple(LooseVersion(pygments.__version__).version)
|
||||
+ if pygments_version > (2, 7):
|
||||
+ assert '<span class="linenos">1</span>' in content
|
||||
+ else:
|
||||
+ assert '<span class="lineno">1 </span>' in content
|
Loading…
x
Reference in New Issue
Block a user