CVS commit: pkgsrc/www/py-multipart
"Adam Ciarcinski" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: pkgsrc Committed By: adam Date: Tue Aug 11 15:56:10 UTC 2026 Modified Files: pkgsrc/www/py-multipart: Makefile distinfo Log Message: py-multipart: updated to 2.0.0 2.0 This release drops EOL python versions, improves error handling and includes multiple performance improvements that can result in up to 30% faster file uploads and 50% faster text field handling. * change: Dropped support for Python 3.8 and 3.9 (both EOL), added support for Python 3.14 * change: Accessing :attr:`MultipartSegment.size` before the segment is complete now raises :exc:`ParserStateError`. The new attribute :attr:`MultipartSegment.bytes_received` provides the in-progress segment body byte count previously exposed by :attr:`MultipartSegment.size`. * change: :class:`PushMultipartParser` now emits :class:`bytes` instead of :class:`bytearray` for part body chunks. Update your ``isinstance`` checks if you have any. * change: Enforce ``part_limit`` (128 by default) for url-encoded data in ``parse_form_data()``. This is consistent with multipart handling and an important safeguard against denial of service attacks. * change: New strict-mode check to reject extremely large boundaries. * change: Raise more helpful :exc:`ParserStateError` instead of implicit :exc:`AssertionError` or :exc:`TypeError` when the parser is used incorrectly. * change: The boundary delimiter must not appear inside a segment body (RFC-7578 4.1). This triggers a fatal error now. * feat: Hardened (and faster) header validation. * build: Change default branch to ``main``. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/py-multipart/Makefile cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-multipart/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
(unnamed)
(text/x-diff, 1.5 KB)
Modified files:
Index: pkgsrc/www/py-multipart/Makefile
diff -u pkgsrc/www/py-multipart/Makefile:1.10 pkgsrc/www/py-multipart/Makefile:1.11
--- pkgsrc/www/py-multipart/Makefile:1.10 Sat Mar 7 11:39:42 2026
+++ pkgsrc/www/py-multipart/Makefile Tue Aug 11 15:56:10 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2026/03/07 11:39:42 adam Exp $
+# $NetBSD: Makefile,v 1.11 2026/08/11 15:56:10 adam Exp $
-DISTNAME= multipart-1.3.1
+DISTNAME= multipart-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/multipart/}
Index: pkgsrc/www/py-multipart/distinfo
diff -u pkgsrc/www/py-multipart/distinfo:1.6 pkgsrc/www/py-multipart/distinfo:1.7
--- pkgsrc/www/py-multipart/distinfo:1.6 Sat Mar 7 11:39:43 2026
+++ pkgsrc/www/py-multipart/distinfo Tue Aug 11 15:56:10 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2026/03/07 11:39:43 adam Exp $
+$NetBSD: distinfo,v 1.7 2026/08/11 15:56:10 adam Exp $
-BLAKE2s (multipart-1.3.1.tar.gz) = 9cc915c8c127b9f06ae138ac6cab4e20fbadf30f1dfcc6973d9ba170eff439f3
-SHA512 (multipart-1.3.1.tar.gz) = a8292c63ec312777e58a36e308f69949ae9ac86a8f4dd543de2f5bbdde510753f33904b100173efba07d85eed32f7bc53d743d51824b7a362b8438059714efff
-Size (multipart-1.3.1.tar.gz) = 38929 bytes
+BLAKE2s (multipart-2.0.0.tar.gz) = b3fdfc2d0d4668e8181c51d68464b325d65f47442b1f51c5875de0a6090e8b18
+SHA512 (multipart-2.0.0.tar.gz) = 637a6224e83284d38c35a6615157463f08d7e9a95d6d71e0943d71e313cb7d5249b32eace22f064a93ecb86fc68a47fd2e65288c272acfc7d9cb692c3606a281
+Size (multipart-2.0.0.tar.gz) = 42606 bytes