- update to 3.4.1:
* #8105: autodoc: the signature of class constructor will be shown for decorated classes, not a signature of decorator * #8119: autodoc: Allow to determine whether a member not included in ``__all__`` attribute of the module should be documented or not via :event:`autodoc-skip-member` event * #8219: autodoc: Parameters for generic class are not shown when super class is a generic class and show-inheritance option is given (in Python 3.7 or above) * autodoc: Add ``Documenter.config`` as a shortcut to access the config object * autodoc: Add Optional[t] to annotation of function and method if a default value equal to None is set. * #8209: autodoc: Add ``:no-value:`` option to :rst:dir:`autoattribute` and :rst:dir:`autodata` directive to suppress the default value of the variable * #8460: autodoc: Support custom types defined by typing.NewType * #8285: napoleon: Add :confval:`napoleon_attr_annotations` to merge type hints on source code automatically if any type is specified in docstring * #8236: napoleon: Support numpydoc's "Receives" section * #6914: Add a new event :event:`warn-missing-reference` to custom warning messages when failed to resolve a cross-reference * #6914: Emit a detailed warning when failed to resolve a ``:ref:`` reference * #6629: linkcheck: The builder now handles rate limits. See :confval:`linkcheck_retry_on_rate_limit` for details. * Large number of bugfixes, see included NEWS - remove sphinx-pr8520-fix-AliasNode-copy.patch (upstream) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=170
This commit is contained in:
parent
1c3ee725be
commit
67c1788d75
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1e8d592225447104d1172be415bc2972bd1357e3e12fdc76edf2261105db4300
|
||||
size 5979919
|
@ -1,16 +0,0 @@
|
||||
-----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-----
|
3
Sphinx-3.4.1.tar.gz
Normal file
3
Sphinx-3.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e450cb205ff8924611085183bf1353da26802ae73d9251a8fcdf220a8f8712ef
|
||||
size 5997545
|
16
Sphinx-3.4.1.tar.gz.asc
Normal file
16
Sphinx-3.4.1.tar.gz.asc
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEEihG3ml0NdJpm8KAwECwsF0mNa54FAl/krg0ACgkQECwsF0mN
|
||||
a56/1A//VVu52wM5SOxwA2tSQysItc3kfQxDW8I7IKpsBaVF5RnUx5xkFgULNvsY
|
||||
PQj5RfLmAskTTWcZ9KeQj02cSIwwxCBqn8FPXMvegyIoMR+e8uLFmXregStD6ZL6
|
||||
11a/lrFIiF3B1JLG5uHpYI+8cITd8ZVpb4dfAP+IwE3KVoZXjbLtMKWos2j5Rx9r
|
||||
qsM9JZh3JbAkiXmsDT3eJJnju05FmUeyC7BHkw46o9IYr//9xFV8wDUy+gTZudNq
|
||||
Xj851obT/Bqf5o4RtfSA0tS1ENButbNePfcTXfzEaqXPbJRvxUTjEXjvlI1L8R93
|
||||
t/dymInSEnyiOIYDg/OzvUFjs3xgz1Irmd8fqZm5hTkOzXX9qZ2PWHx/pSHwHjue
|
||||
ticPe+tasKlfofcMdsgCmjgkdGf7hk+M1iPUDwwu4olPlFHhTdjnpaqRIPH9lStZ
|
||||
0b2tpTi0RGHOWvQOkkEEgKNN0TyhjroWgFOhjWTQUxFw6dxS/CuAC6hjtYm7eONg
|
||||
SICF0pVb75MSgZZYaSaAmIrbW/RpRAlFJMRfdcV3MA/5lf+P51lE34FXfqExMofh
|
||||
L5JLhoBWK1b+QfjaKZdGWCzrkIcUnHuRAeUL2uG18qSbFKyw7vChnei/XHIC5y0s
|
||||
u9he36+71Qb6g0Fiz27sdV9433N6B1MjHnUd8NGCEcnvtWCCZwc=
|
||||
=j/Fx
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +1,31 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 29 20:31:46 UTC 2020 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.4.1:
|
||||
* #8105: autodoc: the signature of class constructor will be shown for decorated
|
||||
classes, not a signature of decorator
|
||||
* #8119: autodoc: Allow to determine whether a member not included in
|
||||
``__all__`` attribute of the module should be documented or not via
|
||||
:event:`autodoc-skip-member` event
|
||||
* #8219: autodoc: Parameters for generic class are not shown when super class is
|
||||
a generic class and show-inheritance option is given (in Python 3.7 or above)
|
||||
* autodoc: Add ``Documenter.config`` as a shortcut to access the config object
|
||||
* autodoc: Add Optional[t] to annotation of function and method if a default
|
||||
value equal to None is set.
|
||||
* #8209: autodoc: Add ``:no-value:`` option to :rst:dir:`autoattribute` and
|
||||
:rst:dir:`autodata` directive to suppress the default value of the variable
|
||||
* #8460: autodoc: Support custom types defined by typing.NewType
|
||||
* #8285: napoleon: Add :confval:`napoleon_attr_annotations` to merge type hints
|
||||
on source code automatically if any type is specified in docstring
|
||||
* #8236: napoleon: Support numpydoc's "Receives" section
|
||||
* #6914: Add a new event :event:`warn-missing-reference` to custom warning
|
||||
messages when failed to resolve a cross-reference
|
||||
* #6914: Emit a detailed warning when failed to resolve a ``:ref:`` reference
|
||||
* #6629: linkcheck: The builder now handles rate limits. See
|
||||
:confval:`linkcheck_retry_on_rate_limit` for details.
|
||||
* Large number of bugfixes, see included NEWS
|
||||
- remove sphinx-pr8520-fix-AliasNode-copy.patch (upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 4 17:19:43 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
%endif
|
||||
%define skip_python2 1
|
||||
Name: python-Sphinx%{psuffix}
|
||||
Version: 3.3.1
|
||||
Version: 3.4.1
|
||||
Release: 0
|
||||
Summary: Python documentation generator
|
||||
License: BSD-2-Clause
|
||||
@ -39,8 +39,6 @@ Source1: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%
|
||||
# Provide intersphinx inventory offline
|
||||
Source2: https://docs.python.org/3/objects.inv#/python3.inv
|
||||
Source99: python-Sphinx-rpmlintrc
|
||||
# PATCH-FIX-UPSTREAM gh#sphinx-doc/sphinx#8520
|
||||
Patch0: https://github.com/sphinx-doc/sphinx/pull/8520.patch#/sphinx-pr8520-fix-AliasNode-copy.patch
|
||||
BuildRequires: %{python_module base}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:84d87706db08de202b66d8fb95cbf27dacd52378050c36e439a270eb5d0c3dc2
|
||||
size 109517
|
||||
oid sha256:129da3f51cec25e23f024542e9a01050041a62bc02a8b730d8b47e852db00b34
|
||||
size 109531
|
||||
|
@ -1,49 +0,0 @@
|
||||
From 3c5b05de514289c30130ef98fa796591e1acdb29 Mon Sep 17 00:00:00 2001
|
||||
From: Ben Greiner <code@bnavigator.de>
|
||||
Date: Fri, 4 Dec 2020 20:27:25 +0100
|
||||
Subject: [PATCH 1/2] Fix AliasNode.copy()
|
||||
|
||||
---
|
||||
sphinx/domains/c.py | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/sphinx/domains/c.py b/sphinx/domains/c.py
|
||||
index d18094217a..206d049f75 100644
|
||||
--- a/sphinx/domains/c.py
|
||||
+++ b/sphinx/domains/c.py
|
||||
@@ -3452,7 +3452,8 @@ def __init__(self, sig: str, maxdepth: int, document: Any, env: "BuildEnvironmen
|
||||
self.parentKey = parentKey
|
||||
|
||||
def copy(self: T) -> T:
|
||||
- return self.__class__(self.sig, env=None, parentKey=self.parentKey) # type: ignore
|
||||
+ return self.__class__(self.sig, self.maxdepth, self.document,
|
||||
+ env=None, parentKey=self.parentKey) # type: ignore
|
||||
|
||||
|
||||
class AliasTransform(SphinxTransform):
|
||||
|
||||
From a549d8ff2e0371531b8ec8af1d2133812d60b2bb Mon Sep 17 00:00:00 2001
|
||||
From: Ben Greiner <code@bnavigator.de>
|
||||
Date: Fri, 4 Dec 2020 20:48:02 +0100
|
||||
Subject: [PATCH 2/2] Fix mypy type error
|
||||
|
||||
---
|
||||
sphinx/domains/c.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/sphinx/domains/c.py b/sphinx/domains/c.py
|
||||
index 206d049f75..38b81e3fa6 100644
|
||||
--- a/sphinx/domains/c.py
|
||||
+++ b/sphinx/domains/c.py
|
||||
@@ -3451,9 +3451,9 @@ def __init__(self, sig: str, maxdepth: int, document: Any, env: "BuildEnvironmen
|
||||
assert parentKey is not None
|
||||
self.parentKey = parentKey
|
||||
|
||||
- def copy(self: T) -> T:
|
||||
+ def copy(self) -> 'AliasNode':
|
||||
return self.__class__(self.sig, self.maxdepth, self.document,
|
||||
- env=None, parentKey=self.parentKey) # type: ignore
|
||||
+ env=None, parentKey=self.parentKey)
|
||||
|
||||
|
||||
class AliasTransform(SphinxTransform):
|
Loading…
Reference in New Issue
Block a user