pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-mistune



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Oct 29 12:11:39 UTC 2026

Modified Files:
        pkgsrc/textproc/py-mistune: Makefile PLIST distinfo

Log Message:
py-mistune: updated to 3.4.0

3.4.0

* Add Python 3.15 support and include it in the CI test matrix.
* Require Python 3.10 or later.
* Parse inline links with an opening-bracket stack and replace per-syntax
  failure caches with source-local delimiter scanning.
* Share one inline nesting budget across images, links, emphasis, and plugins.
  Expose ``InlineParser.max_nested_level``; the older ``max_emphasis_depth``
  and ``max_image_depth`` settings configure the same limit.
* Preserve later valid syntax when a candidate fails or reaches a nesting
  limit, rather than treating the remaining input as unparsed text.
* Enforce CommonMark's 999-character reference label limit, balanced and
  bounded destination parentheses, and link title constraints.
* Improve performance for unclosed inline HTML, unmatched code delimiters,
  deeply nested images, and repeated text fragments.
* Recognize inline HTML comments permitted by CommonMark 0.31.2.
* Parse links containing full reference images without treating the image's
  reference label as a nested link.
* Preserve reference definitions parsed inside multi-paragraph footnotes.
* Accept definition-list markers indented by up to three spaces.
* Prefer longer registered abbreviation matches over shorter prefixes.
* Require at least one digit in ordered list continuation markers.
* Add Markdown rendering for strikethrough, mark, and insert plugins.
* Preserve escaped pipes in table code spans, literal trailing heading hashes,
  meaningful code span edge spaces, and leading blank lines in Markdown output.
* Keep images whose alt text matches their URL from becoming autolinks.
* Preserve non-line-break separator characters in rendered lists and hard line
  breaks in tight ReST list items.
* Document per-document renderer context and correct the custom Markdown
  renderer example.
* Preserve literal backslashes, image introducers, HTML delimiters and entity
  prefixes when rendering Markdown for a round trip.
* Only recognize task list markers in a list item's leading paragraph,
  preserving literal markers in headings.
* Bound the global convenience-parser cache and avoid retaining caller-owned
  renderers and plugin objects.
* Add public HTML output helpers for raw HTML, attributes, and URL policy.
* Share collision-safe default heading IDs between both TOC APIs.
* Add explicit start-character hints for custom inline rules; unhinted custom
  rules now use the correctness-first regular-expression scanner.
* Consolidate adversarial parser growth tests and document the security model.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/textproc/py-mistune/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/py-mistune/PLIST
cvs rdiff -u -r1.21 -r1.22 pkgsrc/textproc/py-mistune/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-mistune/Makefile
diff -u pkgsrc/textproc/py-mistune/Makefile:1.26 pkgsrc/textproc/py-mistune/Makefile:1.27
--- pkgsrc/textproc/py-mistune/Makefile:1.26    Fri Oct 16 18:31:11 2026
+++ pkgsrc/textproc/py-mistune/Makefile Thu Oct 29 12:11:38 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2026/10/16 18:31:11 adam Exp $
+# $NetBSD: Makefile,v 1.27 2026/10/29 12:11:38 adam Exp $
 
-DISTNAME=      mistune-3.3.4
+DISTNAME=      mistune-3.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mistune/}

Index: pkgsrc/textproc/py-mistune/PLIST
diff -u pkgsrc/textproc/py-mistune/PLIST:1.9 pkgsrc/textproc/py-mistune/PLIST:1.10
--- pkgsrc/textproc/py-mistune/PLIST:1.9        Thu Jul 23 12:30:55 2026
+++ pkgsrc/textproc/py-mistune/PLIST    Thu Oct 29 12:11:38 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2026/07/23 12:30:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2026/10/29 12:11:38 adam Exp $
 bin/mistune-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -15,6 +15,9 @@ ${PYSITELIB}/mistune/__main__.pyo
 ${PYSITELIB}/mistune/_inline/__init__.py
 ${PYSITELIB}/mistune/_inline/__init__.pyc
 ${PYSITELIB}/mistune/_inline/__init__.pyo
+${PYSITELIB}/mistune/_inline/delimiters.py
+${PYSITELIB}/mistune/_inline/delimiters.pyc
+${PYSITELIB}/mistune/_inline/delimiters.pyo
 ${PYSITELIB}/mistune/_inline/emphasis.py
 ${PYSITELIB}/mistune/_inline/emphasis.pyc
 ${PYSITELIB}/mistune/_inline/emphasis.pyo

Index: pkgsrc/textproc/py-mistune/distinfo
diff -u pkgsrc/textproc/py-mistune/distinfo:1.21 pkgsrc/textproc/py-mistune/distinfo:1.22
--- pkgsrc/textproc/py-mistune/distinfo:1.21    Thu Jul 23 12:30:55 2026
+++ pkgsrc/textproc/py-mistune/distinfo Thu Oct 29 12:11:38 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.21 2026/07/23 12:30:55 adam Exp $
+$NetBSD: distinfo,v 1.22 2026/10/29 12:11:38 adam Exp $
 
-BLAKE2s (mistune-3.3.4.tar.gz) = 8606bed5f0bc737b74ddcc42159b1b470a14d5c21e23f65d9a68966d63303fac
-SHA512 (mistune-3.3.4.tar.gz) = 45b6c7182145e3114609fefb7f00f3e006708995a4e646819dfc7ec8ac6419fa6267203bbfa71c83670bb8b16f9f64da24fa86b1bb0142ff6f5db35ddaff379e
-Size (mistune-3.3.4.tar.gz) = 121426 bytes
+BLAKE2s (mistune-3.4.0.tar.gz) = dff65d5b729318ca2178693991bd5b69bbc31e6f5bb9cfa2f675c4988d81d1d4
+SHA512 (mistune-3.4.0.tar.gz) = 998b2d31544aaf50ef2ea7898f60436e54d298211d8614713eae66d7abff15dc6bfe98f976915cca515f6fc575a0b9090f2da9b07de1d174a87d8736eb65a69a
+Size (mistune-3.4.0.tar.gz) = 136772 bytes



Home | Main Index | Thread Index | Old Index