diff mbox series

[meta-python,1/5] python3-httpcore2: Upgrade 2.16.0 -> 2.16.2

Message ID 20261117075259.3922364-1-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,1/5] python3-httpcore2: Upgrade 2.16.0 -> 2.16.2 | expand

Commit Message

Leon Anavi Nov. 17, 2026, 7:52 a.m. UTC
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.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...{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%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-httpcore2_2.16.0.bb b/meta-python/recipes-devtools/python/python3-httpcore2_2.16.2.bb
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
--- a/meta-python/recipes-devtools/python/python3-httpcore2_2.16.0.bb
+++ b/meta-python/recipes-devtools/python/python3-httpcore2_2.16.2.bb
@@ -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