python3-httpx2: Add recipe

Add recipe for release 2.4.0:

- Add HTTPXDeprecationWarning, a UserWarning subclass shown by default
  so deprecations are visible without enabling warnings.
- Limit the number of chained Content-Encoding decoders to 5.
- Allow version 15 of rich in the cli extra.
- Parse an empty Digest auth realm without crashing.
- Decode IDNA labels in non-leading host positions.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Leon Anavi
2026-06-12 18:34:03 +03:00
committed by Khem Raj
parent fbcb6c7a9b
commit 4e70899a54
@@ -0,0 +1,22 @@
SUMMARY = "The next generation HTTP client."
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=166cfc32dc0986f87a7e950553b52e5e"
SRC_URI[sha256sum] = "32e0734b61eb0824b3f56a9e98d6d92d381a3ef12c0045aa917ee63df6c411ef"
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 \
"
RDEPENDS:${PN} += " \
python3-core \
python3-logging \
python3-h2 \
python3-idna \
"