diff mbox series

[meta-python,16/22] python3-python-multipart: Upgrade 0.0.32 -> 0.0.33

Message ID 20261103102350.1952237-16-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,01/22] python3-anyio: Upgrade 4.15.1 -> 4.16.0 | expand

Commit Message

Leon Anavi Nov. 3, 2026, 10:23 a.m. UTC
Upgrade to release 0.0.33:

This release lets you cap URL-encoded form fields as they stream in, and
fixes several upload and decoding edge cases. It also drops Python 3.10
and adds Python 3.15.

- Limit URL-encoded fields while streaming. The new opt-in
  MAX_FIELDS and MAX_FIELD_SIZE options for FormParser raise
  FormParserError before oversized data is buffered. Both default
  to no limit, and multipart forms are unaffected.
- Nameless uploads no longer crash when spilled to disk.
  Uploads without a filename used to raise AttributeError when
  UPLOAD_KEEP_EXTENSIONS or UPLOAD_KEEP_FILENAME was set.
- UPLOAD_DIR accepts str with UPLOAD_KEEP_FILENAME. A str
  upload directory used to fail on the first write to disk.
- Decoded data is complete before callbacks run (#336, #355).
  Content-Transfer-Encoding decoders are finalized at the end of
  each part, and quoted-printable escapes split across writes
  decode correctly.
- parse_options_header lowercases content types with parameters
 . Multipart/Form-Data; boundary=abc now returns
  multipart/form-data, the same as headers without parameters.
- Faster opening boundary matching. Complete boundaries are
  matched in one step.
- Faster parser state lookups. Parser states are
  module-level enum members, so their repr is now multipart.END
  instead of <MultipartState.END: 12>.
- Faster querystring callback dispatch.
- Python 3.10 is no longer supported. Python 3.11 is now the
  minimum.
- Python 3.15 is supported.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...n-multipart_0.0.32.bb => python3-python-multipart_0.0.33.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-python-multipart_0.0.32.bb => python3-python-multipart_0.0.33.bb} (76%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-python-multipart_0.0.32.bb b/meta-python/recipes-devtools/python/python3-python-multipart_0.0.33.bb
similarity index 76%
rename from meta-python/recipes-devtools/python/python3-python-multipart_0.0.32.bb
rename to meta-python/recipes-devtools/python/python3-python-multipart_0.0.33.bb
index 97b68c82e4..b196f40183 100644
--- a/meta-python/recipes-devtools/python/python3-python-multipart_0.0.32.bb
+++ b/meta-python/recipes-devtools/python/python3-python-multipart_0.0.33.bb
@@ -2,7 +2,7 @@  SUMMARY = "A streaming multipart parser for Python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRC_URI[sha256sum] = "be54b7f3fa167bb83e4fcd936b887b708f4e57fe75911c02aebf53efaf8d938e"
+SRC_URI[sha256sum] = "b8112424a6abd162ec08d390565dd113ad699f2fe6fef3c987b8bbcbfe9e390d"
 
 inherit pypi python_hatchling ptest-python-pytest