From ce8621d86672aeadee8a380cd225f18ce38848b3 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 3 Dec 2024 08:16:24 +0800 Subject: 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 Signed-off-by: Khem Raj --- .../python/python3-httpx_0.27.2.bb | 48 ---------------------- .../python/python3-httpx_0.28.0.bb | 48 ++++++++++++++++++++++ 2 files changed, 48 insertions(+), 48 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-httpx_0.27.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-httpx_0.28.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-httpx_0.27.2.bb b/meta-python/recipes-devtools/python/python3-httpx_0.27.2.bb deleted file mode 100644 index e4e1eeea73..0000000000 --- a/meta-python/recipes-devtools/python/python3-httpx_0.27.2.bb +++ /dev/null @@ -1,48 +0,0 @@ -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] = "f7c2be1d2f3c3c3160d441802406b206c2b76f5947b11115e6df10c6c65e66c2" - -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 \ -" diff --git a/meta-python/recipes-devtools/python/python3-httpx_0.28.0.bb b/meta-python/recipes-devtools/python/python3-httpx_0.28.0.bb new file mode 100644 index 0000000000..2b8c809c08 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-httpx_0.28.0.bb @@ -0,0 +1,48 @@ +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 \ +" -- cgit v1.2.3-54-g00ecf