pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-multipart
Module Name: pkgsrc
Committed By: adam
Date: Fri Oct 25 13:03:43 UTC 2024
Modified Files:
pkgsrc/www/py-multipart: Makefile PLIST distinfo
Log Message:
py-multipart: updated to 1.1.0
Release 1.1
This release could have been a patch release, but some of the fixes include change in behavior to match documentation or specification. None of them should be a surprise or have an impact on
real-world clients, though. Existing apps should be able to upgrade without issues.
fix: Fail faster on input with invalid line breaks
fix: Allow empty segment names
fix: Avoid ResourceWarning when using parse_form_data
fix: MultipartPart now always has a sensible content type.
fix: Actually check parser state on context manager exit.
fix: Honor Content-Length header, if present.
perf: Reduce overhead for small segments (-21%)
perf: Reduce write overhead for large uploads (-2%)
Release 1.0
This release introduces a completely new, fast, non-blocking PushMultipartParser parser, which now serves as the basis for all other parsers.
feat: new PushMultipartParser parser.
change: Parser is stricter by default and now rejects clearly broken input. This should not affect data sent by actual browsers or HTTP clients, but may break some artificial unit tests. * Fail on
invalid line-breaks in headers or around boundaries. * Fail on invalid header names.
change: Default charset for segment headers and text fields changed to utf8, as recommended by W3C HTTP.
change: Default disk and memory limits for MultipartParser increased, but multiple other limits were introduced to allow finer control. Check if the new defaults still fit your needs.
change: Several undocumented APIs were deprecated or removed, some of which were not strictly private but should only be used by the parser itself, not by applications.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-multipart/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-multipart/PLIST \
pkgsrc/www/py-multipart/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-multipart/Makefile
diff -u pkgsrc/www/py-multipart/Makefile:1.5 pkgsrc/www/py-multipart/Makefile:1.6
--- pkgsrc/www/py-multipart/Makefile:1.5 Wed Jun 19 05:03:05 2024
+++ pkgsrc/www/py-multipart/Makefile Fri Oct 25 13:03:43 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2024/06/19 05:03:05 adam Exp $
+# $NetBSD: Makefile,v 1.6 2024/10/25 13:03:43 adam Exp $
-DISTNAME= multipart-0.2.5
+DISTNAME= multipart-1.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/multipart/}
@@ -10,12 +10,9 @@ HOMEPAGE= https://github.com/defnull/mul
COMMENT= Parser for multipart/form-data
LICENSE= mit
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
-TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.9:../../devel/py-flit_core
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-multipart/PLIST
diff -u pkgsrc/www/py-multipart/PLIST:1.2 pkgsrc/www/py-multipart/PLIST:1.3
--- pkgsrc/www/py-multipart/PLIST:1.2 Wed Jun 19 05:03:05 2024
+++ pkgsrc/www/py-multipart/PLIST Fri Oct 25 13:03:43 2024
@@ -1,9 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2024/06/19 05:03:05 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/10/25 13:03:43 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
-${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/multipart.py
${PYSITELIB}/multipart.pyc
${PYSITELIB}/multipart.pyo
Index: pkgsrc/www/py-multipart/distinfo
diff -u pkgsrc/www/py-multipart/distinfo:1.2 pkgsrc/www/py-multipart/distinfo:1.3
--- pkgsrc/www/py-multipart/distinfo:1.2 Wed Jun 19 05:03:05 2024
+++ pkgsrc/www/py-multipart/distinfo Fri Oct 25 13:03:43 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2024/06/19 05:03:05 adam Exp $
+$NetBSD: distinfo,v 1.3 2024/10/25 13:03:43 adam Exp $
-BLAKE2s (multipart-0.2.5.tar.gz) = 6bf460474084cf894b68c2128b4e10644ebca936a3eaa0a4bea5d712adb0bcfe
-SHA512 (multipart-0.2.5.tar.gz) = 9500212ec160dbc51c0d36d22bdf85ad50b2a2080d06151ff2aacb80b29991b69c83329a81d66a1c098cad949d161498392534fdc9bbda7136c1ed733b218204
-Size (multipart-0.2.5.tar.gz) = 22536 bytes
+BLAKE2s (multipart-1.1.0.tar.gz) = b94e9f9ebe9d19acb1f5b97e3bfe019a07381872d4b08d797bb2c7c6e7c3400b
+SHA512 (multipart-1.1.0.tar.gz) = 308b3080b2085315b3d080c976be26df8f9028862c9bea14069ddc3a5aad3b5f60cb75fdd387b943e5f555f6aecfbc865a1e9aa457bf06b9a7f08e13aaaba449
+Size (multipart-1.1.0.tar.gz) = 34622 bytes
Home |
Main Index |
Thread Index |
Old Index