From 114c0a6c377608b939614afd53ba1f7669cc7b64 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 28 Feb 2024 15:32:50 +0800 Subject: python3-urllib3: upgrade 2.1.0 -> 2.2.1 Changelog: =========== -Fixed issue where "InsecureRequestWarning" was emitted for HTTPS connections when using Emscripten. -Fixed "HTTPConnectionPool.urlopen" to stop automatically casting non-proxy headers to "HTTPHeaderDict". -Changed "InvalidChunkLength" to "ProtocolError" when response terminates before the chunk length is sent. -Changed "ProtocolError" to be more verbose on incomplete reads with excess content. -Added support for 'Emscripten and Pyodide -Added support for "HTTPResponse.read1()" method. -Added rudimentary support for HTTP/2. -Fixed issue where requests against urls with trailing dots were failing due to SSL errors when using proxy. -Fixed "HTTPConnection.proxy_is_verified" and "HTTPSConnection.proxy_is_verified" to be always set to a boolean after connecting to a proxy. It could be "None" in some cases previously. -Fixed an issue where "headers" passed in a request with "json=" would be mutated -Fixed "HTTPSConnection.is_verified" to be set to "False" when connecting from a HTTPS proxy to an HTTP target. It was set to "True" previously. -Fixed handling of new error message from OpenSSL 3.2.0 when configuring an HTTP proxy as HTTPS -Fixed TLS 1.3 post-handshake auth when the server certificate validation is disabled -Note for downstream distributors: To run integration tests, you now need to run the tests a second time with the "--integration" pytest flag. (From OE-Core rev: c1968ceeddbad57bc86aaa23a705093c353d3bc9) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../python/python3-urllib3_2.1.0.bb | 24 ---------------------- .../python/python3-urllib3_2.2.1.bb | 24 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-urllib3_2.1.0.bb create mode 100644 meta/recipes-devtools/python/python3-urllib3_2.2.1.bb (limited to 'meta/recipes-devtools/python') diff --git a/meta/recipes-devtools/python/python3-urllib3_2.1.0.bb b/meta/recipes-devtools/python/python3-urllib3_2.1.0.bb deleted file mode 100644 index ad6dc6d405..0000000000 --- a/meta/recipes-devtools/python/python3-urllib3_2.1.0.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more" -HOMEPAGE = "https://github.com/shazow/urllib3" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=52d273a3054ced561275d4d15260ecda" - -SRC_URI[sha256sum] = "df7aa8afb0148fa78488e7899b2c59b5f4ffcfa82e6c54ccb9dd37c1d7b52d54" - -inherit pypi python_hatchling - -RDEPENDS:${PN} += "\ - python3-certifi \ - python3-cryptography \ - python3-email \ - python3-idna \ - python3-json \ - python3-netclient \ - python3-pyopenssl \ - python3-threading \ - python3-logging \ -" - -CVE_PRODUCT = "urllib3" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-urllib3_2.2.1.bb b/meta/recipes-devtools/python/python3-urllib3_2.2.1.bb new file mode 100644 index 0000000000..fc1828b4ee --- /dev/null +++ b/meta/recipes-devtools/python/python3-urllib3_2.2.1.bb @@ -0,0 +1,24 @@ +SUMMARY = "Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more" +HOMEPAGE = "https://github.com/shazow/urllib3" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=52d273a3054ced561275d4d15260ecda" + +SRC_URI[sha256sum] = "d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19" + +inherit pypi python_hatchling + +RDEPENDS:${PN} += "\ + python3-certifi \ + python3-cryptography \ + python3-email \ + python3-idna \ + python3-json \ + python3-netclient \ + python3-pyopenssl \ + python3-threading \ + python3-logging \ +" + +CVE_PRODUCT = "urllib3" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf