diff mbox series

[meta-python,2/5] python3-httpx2: Upgrade 2.16.0 -> 2.16.2

Message ID 20261117075259.3922364-2-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
  (#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.

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

Patch

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