pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-sphinx py-sphinx: updated to 4.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6a248bf6bd47
branches:  trunk
changeset: 769281:6a248bf6bd47
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Nov 11 08:59:09 2021 +0000

description:
py-sphinx: updated to 4.3.0

Release 4.3.0

Dependencies
Support Python 3.10

Incompatible changes
* searchindex.js: the embedded data has changed format to allow objects with the same name in different domains.
* The rendering of Python domain declarations is implemented with more docutils nodes to allow better CSS styling. It may break existing styling.
* the signature of domains.py.PyObject.get_signature_prefix() has changed to return a list of nodes instead of a plain string.
* domains.js.JSObject.display_prefix has been changed into a method get_display_prefix which now returns a list of nodes instead of a plain string.
* The rendering of Javascript domain declarations is implemented with more docutils nodes to allow better CSS styling. It may break existing styling.
* mathjax: Load MathJax via “defer” strategy

Deprecated
sphinx.ext.autodoc.AttributeDocumenter._datadescriptor
sphinx.writers.html.HTMLTranslator._fieldlist_row_index
sphinx.writers.html.HTMLTranslator._table_row_index
sphinx.writers.html5.HTML5Translator._fieldlist_row_index
sphinx.writers.html5.HTML5Translator._table_row_index

Features added
* autodoc: Support asynchronous generator functions
* autodoc: autodoc-process-bases supports to inject reST snippet as a base class
* C, added new info-field retval for c:function and c:macro.
C++, added new info-field retval for cpp:function.
* i18n: Add gettext_allow_fuzzy_translations to allow “fuzzy” messages for translation
* More CSS classes on Python domain descriptions
* More CSS classes on Javascript domain descriptions
* Revert the removal of add_stylesheet() API. It will be kept until the Sphinx-6.0 release
* add intersphinx_disabled_reftypes for disabling interphinx resolution of cross-references that do not have an explicit inventory specification. Specific types of cross-references can be disabled, 
e.g., std:doc or all cross-references in a specific domain, e.g., std:*.
* Allow to suppress “toctree contains reference to excluded document” warnings using suppress_warnings

Bugs fixed
* autodoc: Failed to build cross references if primary_domain is not ‘py’
* autodoc: Crashed on getting source info from problematic object
* autodoc: mocked object having doc comment is warned unexpectedly
* autodoc: return type field is not generated even if autodoc_typehints_description_target is set to “documented” when its info-field-list contains :returns: field
* autodoc: The base class for a subclass of mocked object is incorrect
* autodoc: Incorrect base class detection for the subclasses of the generic class
* autodoc: memory addresses are shown for aliases
* autodoc: Failed to detect type annotation for slots attribute
* autodoc: Crashed if classmethod does not have __func__ attribute
* autodoc: autodoc_inherit_docstrings does not effect to overriden classmethods
* autodoc: autodoc_preserve_defaults does not support hexadecimal numeric
* autosummary: Failed to build summary table if primary_domain is not ‘py’
* html: Fix download file with special characters
* html: Wrong styles for even/odd rows in nested tables
* html: parameter name and its type annotation are not separated in HTML
* HTML search: when objects have the same name but in different domains, return all of them as result instead of just one.
* intersphinx: references on the file in sub directory are broken
* LaTeX: hlist is rendered as a list containing “aggedright” text
* linkcheck: file extension was shown twice in warnings
* py domain: An index entry with parens was registered for py:method directive with :property: option
* py domain: Literal typehint was converted to a cross reference when autodoc_typehints='description'
* needs_extension failed to check double-digit version correctly
* Fix code` does not recognize :class: option
* Fix for logging handler flushing warnings in the middle of the docs build
* Fix warnings without subtype being incorrectly suppressed
Intersphinx, for unresolved references with an explicit inventory, e.g., proj:myFunc, leave the inventory prefix in the unresolved text.

diffstat:

 textproc/py-sphinx/Makefile |  8 ++++----
 textproc/py-sphinx/distinfo |  9 ++++-----
 2 files changed, 8 insertions(+), 9 deletions(-)

diffs (37 lines):

diff -r 0a7b785d1313 -r 6a248bf6bd47 textproc/py-sphinx/Makefile
--- a/textproc/py-sphinx/Makefile       Thu Nov 11 08:57:26 2021 +0000
+++ b/textproc/py-sphinx/Makefile       Thu Nov 11 08:59:09 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.77 2021/10/29 16:16:41 adam Exp $
+# $NetBSD: Makefile,v 1.78 2021/11/11 08:59:09 adam Exp $
 
-DISTNAME=      Sphinx-4.2.0
+DISTNAME=      Sphinx-4.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=S/Sphinx/}
@@ -24,8 +24,8 @@
 DEPENDS+=      ${PYPKGPREFIX}-sphinxcontrib-applehelp-[0-9]*:../../textproc/py-sphinxcontrib-applehelp
 DEPENDS+=      ${PYPKGPREFIX}-sphinxcontrib-devhelp-[0-9]*:../../textproc/py-sphinxcontrib-devhelp
 DEPENDS+=      ${PYPKGPREFIX}-sphinxcontrib-jsmath-[0-9]*:../../textproc/py-sphinxcontrib-jsmath
-DEPENDS+=      ${PYPKGPREFIX}-sphinxcontrib-htmlhelp-[0-9]*:../../textproc/py-sphinxcontrib-htmlhelp
-DEPENDS+=      ${PYPKGPREFIX}-sphinxcontrib-serializinghtml-[0-9]*:../../textproc/py-sphinxcontrib-serializinghtml
+DEPENDS+=      ${PYPKGPREFIX}-sphinxcontrib-htmlhelp>=2.0.0:../../textproc/py-sphinxcontrib-htmlhelp
+DEPENDS+=      ${PYPKGPREFIX}-sphinxcontrib-serializinghtml>=1.1.5:../../textproc/py-sphinxcontrib-serializinghtml
 DEPENDS+=      ${PYPKGPREFIX}-sphinxcontrib-qthelp-[0-9]*:../../textproc/py-sphinxcontrib-qthelp
 TEST_DEPENDS+= ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
diff -r 0a7b785d1313 -r 6a248bf6bd47 textproc/py-sphinx/distinfo
--- a/textproc/py-sphinx/distinfo       Thu Nov 11 08:57:26 2021 +0000
+++ b/textproc/py-sphinx/distinfo       Thu Nov 11 08:59:09 2021 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.55 2021/10/29 16:16:41 adam Exp $
+$NetBSD: distinfo,v 1.56 2021/11/11 08:59:09 adam Exp $
 
-BLAKE2s (Sphinx-4.2.0.tar.gz) = 1f1d54e6a70bf5a123c7e02bcc010fc2d1d8875345254331553d6083da36ca19
-SHA512 (Sphinx-4.2.0.tar.gz) = 6c6a2424362805b758c43136a9293dcfb02d45af6e6dc2dd7ed9382f6ae04ecfbd416efeecb42219b67d026a4a0b007500e87b20d81847ab48e2ccfcdca52e75
-Size (Sphinx-4.2.0.tar.gz) = 6503692 bytes
-SHA1 (patch-setup.py) = 6e34e3917deaa935180f52ef340f41601c7e717b
+BLAKE2s (Sphinx-4.3.0.tar.gz) = 5c1a93ac77e16debc5482648a44f4e63c64d4de1a918fc7ecb649b092f7112c5
+SHA512 (Sphinx-4.3.0.tar.gz) = ba3463135dc578024819d9c70b3707d4465c4a71aa305474f7b34b14e276ee491e029bb8bc93c05ed1463a6bc63a82e0507c16ede7046fd1216e31553027e449
+Size (Sphinx-4.3.0.tar.gz) = 6657624 bytes


Home | Main Index | Thread Index | Old Index