mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-26 08:07:06 +00:00
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> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
27 lines
798 B
BlitzBasic
27 lines
798 B
BlitzBasic
SUMMARY = "A minimal low-level HTTP client"
|
|
DESCRIPTION = "The HTTP core package of httpx2: connection pooling, \
|
|
HTTP/1.1 and HTTP/2 transport and proxy support."
|
|
HOMEPAGE = "https://github.com/pydantic/httpx2"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=77c5a523c15d4a5887b081bba41ca110"
|
|
|
|
SRC_URI[sha256sum] = "6c519d0f7b44f7269fa9bbb4d2763db395a4a2370f046d8e8e0a4b38227815d2"
|
|
|
|
inherit pypi python_hatchling
|
|
|
|
DEPENDS += "\
|
|
python3-uv-dynamic-versioning-native \
|
|
python3-hatch-fancy-pypi-readme-native \
|
|
python3-jinja2-native \
|
|
python3-tomlkit-native \
|
|
python3-dunamai-native \
|
|
"
|
|
|
|
# anyio comes from the "asyncio" extra, which httpx2 needs for its async
|
|
# client.
|
|
RDEPENDS:${PN} += "\
|
|
python3-anyio \
|
|
python3-h11 \
|
|
python3-truststore \
|
|
"
|