meta-openembedded/meta-python/recipes-devtools/python/python3-httpx_0.28.0.bb
Wang Mingyu ce8621d866
python3-httpx: upgrade 0.27.2 -> 0.28.0
Changelog:
=============
- The following cases of configuration API have been deprecated:
  The verify argument as a string argument is now deprecated and will raise warnings.
  The cert argument is now deprecated and will raise warnings.
- The deprecated proxies argument has now been removed.
- The deprecated app argument has now been removed.
- JSON request bodies use a compact representation. (#3363)
- Review URL percent escape sets, based on WHATWG spec. (#3371, #3373)
- Ensure certifi and httpcore are only imported if required. (#3377)
- Treat socks5h as a valid proxy scheme. (#3178)
- Cleanup Request() method signature in line with client.request() and httpx.request(). (#3378)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-03 09:44:34 -08:00

49 lines
961 B
BlitzBasic

SUMMARY = "A next generation HTTP client for Python."
SECTION = "devel/python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c624803bdf6fc1c4ce39f5ae11d7bd05"
inherit pypi python_hatchling
SRC_URI[sha256sum] = "0858d3bab51ba7e386637f22a61d8ccddaeec5f3fe4209da3a6168dbb91573e0"
DEPENDS += "\
python3-hatch-fancy-pypi-readme-native \
"
PACKAGECONFIG ??= ""
PACKAGECONFIG[brotli] = ",,,python3-brotli"
PACKAGECONFIG[http2] = ",,,python3-h2"
PACKAGECONFIG[socks] = ",,,python3-socksio"
RDEPENDS:${PN} += "\
python3-anyio \
python3-certifi \
python3-httpcore \
python3-idna \
python3-sniffio \
python3-json \
python3-core \
python3-netclient \
python3-compression \
"
PACKAGES += "\
${PN}-cli \
"
RDEPENDS:${PN}-cli += "\
${PN} \
python3-click \
python3-pygments \
python3-rich \
"
FILES:${PN} = "\
${libdir}/${PYTHON_DIR} \
"
FILES:${PN}-cli = "\
${bindir}/httpx \
"