Skip to contentSkip to conversation

python3-httpcore2: Upgrade 2.16.0 -> 2.16.2

PATCH New Leon Anavi 1 participant 5 messages Nov 17

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/5 python3-httpcore2: Upgrade 2.16.0 -> 2.16.2

Upgrade to release 2.16.2:

Type aliases evaluate at runtime again:

httpx2 and httpcore2 2.16.2 are a patch release with one fix. You will notice it if your code, or a library you depend on, uses the aliases in httpx2._types inside a runtime typing construct. On 2.16.1, import mistralai.client failed on Python 3.11 to 3.13.

- Optional[QueryParamTypes] and QueryParamTypes | None work again. In 2.16.1 URLTypes, QueryParamTypes, HeaderTypes, CookieTypes, TimeoutTypes, ProxyTypes and AuthTypes were strings. Optional[...] raised SyntaxError for QueryParamTypes and HeaderTypes, and | None raised TypeError for all seven. They are Union[...] objects again, as in 2.16.0.

httpcore2 has no changes. It is bumped to stay in lockstep with httpx2.

---
 ...{python3-httpcore2_2.16.0.bb => python3-httpcore2_2.16.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-httpcore2_2.16.0.bb => python3-httpcore2_2.16.2.bb} (88%)
meta-python/recipes-devtools/python/python3-httpcore2_2.16.2.bb renamed from meta-python/recipes-devtools/python/python3-httpcore2_2.16.0.bb +1 -1
similarity index 88%
rename from meta-python/recipes-devtools/python/python3-httpcore2_2.16.0.bb
rename to meta-python/recipes-devtools/python/python3-httpcore2_2.16.2.bb
index 03718729c1..b2a72c3949 100644
@@ -5,7 +5,7 @@ HOMEPAGE = "https://github.com/pydantic/httpx2"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=77c5a523c15d4a5887b081bba41ca110"
 
-SRC_URI[sha256sum] = "c72cd0413563b17e1cd8354677dff887466f8ec2551679759e93126534428643"
+SRC_URI[sha256sum] = "6c519d0f7b44f7269fa9bbb4d2763db395a4a2370f046d8e8e0a4b38227815d2"
 
 inherit pypi python_hatchling
 
Signature · 1 line
2.47.3
author
#1 lore raw

PATCH 2/5 python3-httpx2: Upgrade 2.16.0 -> 2.16.2

Upgrade to release 2.16.2:

Type aliases evaluate at runtime again:

httpx2 and httpcore2 2.16.2 are a patch release with one fix. You will notice it if your code, or a library you depend on, uses the aliases in httpx2._types inside a runtime typing construct. On 2.16.1, import mistralai.client failed on Python 3.11 to 3.13.

- Optional[QueryParamTypes] and QueryParamTypes | None work again (#1346). In 2.16.1 URLTypes, QueryParamTypes, HeaderTypes, CookieTypes, TimeoutTypes, ProxyTypes and AuthTypes were strings. Optional[...] raised SyntaxError for QueryParamTypes and HeaderTypes, and | None raised TypeError for all seven. They are Union[...] objects again, as in 2.16.0.

httpcore2 has no changes. It is bumped to stay in lockstep with httpx2.

---
 .../{python3-httpx2_2.16.0.bb => python3-httpx2_2.16.2.bb}      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-httpx2_2.16.0.bb => python3-httpx2_2.16.2.bb} (86%)
meta-python/recipes-devtools/python/python3-httpx2_2.16.2.bb renamed from meta-python/recipes-devtools/python/python3-httpx2_2.16.0.bb +1 -1
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-httpx2_2.16.0.bb
rename to meta-python/recipes-devtools/python/python3-httpx2_2.16.2.bb
index 5478522592..7469a914d2 100644
@@ -2,7 +2,7 @@ SUMMARY = "The next generation HTTP client."
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=166cfc32dc0986f87a7e950553b52e5e"
 
-SRC_URI[sha256sum] = "0d54c98128e8f2ff7fbbde0fca8c359e5f032edeaaaac443cdb7f31f685bcd7f"
+SRC_URI[sha256sum] = "748b615678f07d8e3b183efe81ad13b655ca88bfc56ce4589219b2d442860574"
 
 inherit pypi python_hatchling
 
Signature · 1 line
2.47.3
author
#2 lore raw

PATCH 3/5 python3-imageio: Upgrade 2.38.1 -> 2.38.2

In reply to Leon Anavi

Upgrade to release 2.38.2:

Bug fix:

- Read OME metadata in tifffile

Maintenance:

- Write 16-bit PNGs on Pillow 13 and test PyPy 8

---
 .../{python3-imageio_2.38.1.bb => python3-imageio_2.38.2.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-imageio_2.38.1.bb => python3-imageio_2.38.2.bb} (83%)
meta-python/recipes-devtools/python/python3-imageio_2.38.2.bb renamed from meta-python/recipes-devtools/python/python3-imageio_2.38.1.bb +1 -1
similarity index 83%
rename from meta-python/recipes-devtools/python/python3-imageio_2.38.1.bb
rename to meta-python/recipes-devtools/python/python3-imageio_2.38.2.bb
index d0d3166f2f..5d2f8fbdc3 100644
@@ -5,7 +5,7 @@ SECTION = "devel/python"
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=6c492278d46e42af592aa26d7cab1e54"
 
-SRC_URI[sha256sum] = "6769f1f01c4dd46448307863a787c9a22fa4dbe11c0c88f525c6e410fdfd7983"
+SRC_URI[sha256sum] = "62e338ea5c19a5547521b3b590a8a9ed1177e5d6c3fd1df076029053eacc73ca"
 
 inherit pypi python_setuptools_build_meta
 
Signature · 1 line
2.47.3
author
#3 lore raw

PATCH 4/5 python3-python-multipart: Upgrade 0.0.33 -> 0.0.34

In reply to Leon Anavi

Upgrade to release 0.0.34:

Faster form parsing:

This release reduces parser overhead for forms with many fields and corrects multipart boundary and header handling. Parsers created without callbacks also no longer share callback registrations.

- Faster query-string parsing. The parser reuses separator positions and starts the next field directly when its data is already available.
- Less overhead for multipart forms. Complete CRLF sequences are consumed without stepping through each intermediate parser state, and mark-helper functions are no longer created on each write.

More predictable multipart handling:

- Padded boundaries no longer merge adjacent parts. Spaces and tabs after delimiters between parts are recognized as transport padding. Malformed padding now raises MultipartParseError instead of being returned as part data. Padded opening boundaries remain unsupported.
- Non-ASCII parameter bytes are preserved. parse_options_header trims only spaces and tabs, rather than all Unicode whitespace. This avoids changing parameter values such as names ending in the UTF-8 bytes for a with a grave accent.
- Whitespace around part header values is ignored by FormParser . For example, Content-Transfer-Encoding: base64 is recognized and decoded despite the trailing space. Low-level MultipartParser callbacks still receive the raw header value bytes.

Isolated callbacks and clearer security scope:

- Callback registrations stay with their parser. Parsers constructed without callbacks now get separate dictionaries, so calling set_callback() on one no longer changes another parser's handlers.
- A documented threat model. The threat model defines trust boundaries, application responsibilities, and vulnerability scope. Bugs in deprecated Content-Transfer-Encoding decoding are handled as public bug reports rather than security reports.

---
 ...n-multipart_0.0.33.bb => python3-python-multipart_0.0.34.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-python-multipart_0.0.33.bb => python3-python-multipart_0.0.34.bb} (76%)
meta-python/recipes-devtools/python/python3-python-multipart_0.0.34.bb renamed from meta-python/recipes-devtools/python/python3-python-multipart_0.0.33.bb +1 -1
similarity index 76%
rename from meta-python/recipes-devtools/python/python3-python-multipart_0.0.33.bb
rename to meta-python/recipes-devtools/python/python3-python-multipart_0.0.34.bb
index b196f40183..785f8105b9 100644
@@ -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] = "b8112424a6abd162ec08d390565dd113ad699f2fe6fef3c987b8bbcbfe9e390d"
+SRC_URI[sha256sum] = "b998ae90ca6e1e363261ce2e0e230281b8af53867b757970abd69ee9edcd843a"
 
 inherit pypi python_hatchling ptest-python-pytest
 
Signature · 1 line
2.47.3
author
#4 lore raw

PATCH 5/5 python3-regex: Upgrade 2026.11.9 -> 2026.11.15

In reply to Leon Anavi

Upgrade to release 2026.11.15:

- Fix out-of-bounds read in the partial-match string search
- \X splits Indic conjuncts since 2026.11.7 (GB9c never applies)

---
 .../{python3-regex_2026.11.9.bb => python3-regex_2026.11.15.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-regex_2026.11.9.bb => python3-regex_2026.11.15.bb} (80%)
meta-python/recipes-devtools/python/python3-regex_2026.11.15.bb renamed from meta-python/recipes-devtools/python/python3-regex_2026.11.9.bb +1 -1
similarity index 80%
rename from meta-python/recipes-devtools/python/python3-regex_2026.11.9.bb
rename to meta-python/recipes-devtools/python/python3-regex_2026.11.15.bb
index e6a2e97ce1..7543845702 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7b5751ddd6b643203c31ff873051d069"
 
 inherit pypi python_setuptools_build_meta
 
-SRC_URI[sha256sum] = "316a70fbd70e999c9664681cb0eb5b4982b2cc0f623c7c86a8a112e1bd4c6277"
+SRC_URI[sha256sum] = "d6ec7e29e62ebf93ab2a593d1137022b6025497d8610e5cb666d52f9ee5bb0ce"
 
 RDEPENDS:${PN} += " \
 	python3-stringold \
Signature · 1 line
2.47.3