Skip to contentSkip to conversation

python3-aiohttp: Upgrade 3.9.5 -> 3.10.0

PATCH New Leon Anavi 1 participant 5 messages Aug 2, 2024

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/5 python3-aiohttp: Upgrade 3.9.5 -> 3.10.0

Upgrade to version 3.10.0:

- Fixed server response headers for Content-Type and Content-Encoding for static compressed files
- Fixed duplicate cookie expiration calls in the CookieJar implementation
- Adjusted FileResponse to check file existence and access when preparing the response
- Fixed AsyncResolver to match ThreadedResolver behavior
- Fixed ws_connect not respecting receive_timeout` on WS(S) connection
- Removed blocking I/O in the event loop for static resources and refactored exception handling
- Added a Request.wait_for_disconnection() method, as means of allowing request handlers to be notified of premature client disconnections
- Added a feature to retry closed connections automatically for idempotent methods
- Added server capability to check for static files with Brotli compression via a .br extension

---
 .../{python3-aiohttp_3.9.5.bb => python3-aiohttp_3.10.0.bb}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-aiohttp_3.9.5.bb => python3-aiohttp_3.10.0.bb} (86%)
meta-python/recipes-devtools/python/python3-aiohttp_3.10.0.bb renamed from meta-python/recipes-devtools/python/python3-aiohttp_3.9.5.bb +1 -1
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-aiohttp_3.9.5.bb
rename to meta-python/recipes-devtools/python/python3-aiohttp_3.10.0.bb
index 57adb1eeb..68494a05d 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/aio-libs/aiohttp"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=748073912af33aa59430d3702aa32d41"
 
-SRC_URI[sha256sum] = "edea7d15772ceeb29db4aff55e482d4bcfb6ae160ce144f2682de02f6d693551"
+SRC_URI[sha256sum] = "e8dd7da2609303e3574c95b0ec9f1fd49647ef29b94701a2862cceae76382e1d"
 
 PYPI_PACKAGE = "aiohttp"
 inherit python_setuptools_build_meta pypi
Signature · 1 line
2.39.2
author
#1 lore raw

PATCH 2/5 python3-aiosignal: switch to PEP-517 build backend

The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.

Fixes:
WARNING: python3-aiosignal-1.3.1-r0 do_check_backend:
QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]

---
 meta-python/recipes-devtools/python/python3-aiosignal_1.3.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-aiosignal_1.3.1.bb +1 -1
index fd4ec767c..029f13cd4 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cf056e8e7a0a5477451af18b7b5aa98c"
 
 SRC_URI[sha256sum] = "54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 BBCLASSEXTEND = "native nativesdk"
 
Signature · 1 line
2.39.2
author
#2 lore raw

PATCH 3/5 python3-pycares: switch to PEP-517 build backend

In reply to Leon Anavi

The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.

Fixes:
WARNING: python3-pycares-4.4.0-r0 do_check_backend:
QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]

---
 meta-python/recipes-devtools/python/python3-pycares_4.4.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pycares_4.4.0.bb +1 -1
index b6b0de880..13ccaf99f 100644
@@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "f47579d508f2f56eddd16ce72045782ad3b1b3b678098699e2b6a1b307
 
 PYPI_PACKAGE = "pycares"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 DEPENDS += "python3-cffi-native"
 
Signature · 1 line
2.39.2
author
#3 lore raw

PATCH 4/5 python3-multidict: switch to PEP-517 build backend

In reply to Leon Anavi

The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.

Fixes:
WARNING: python3-multidict-6.0.5+git-r0 do_check_backend:
QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]

---
 meta-python/recipes-devtools/python/python3-multidict_6.0.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-multidict_6.0.5.bb +1 -1
index b12e180d0..6346152ae 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/aio-libs/multidict/"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b4fef6e4b0828c2401fb983363985b39"
 
-inherit pypi setuptools3 ptest
+inherit pypi python_setuptools_build_meta ptest
 
 PV .= "+git"
 
Signature · 1 line
2.39.2
author
#4 lore raw

PATCH 5/5 python3-cachetools: Upgrade 5.3.3 -> 5.4.0

In reply to Leon Anavi

Upgrade to version 5.4.0:

- Add the keys.typedmethodkey decorator.
- Deprecate MRUCache class.
- Deprecate @func.mru_cache decorator.
- Update CI environment.

---
 ...{python3-cachetools_5.3.3.bb => python3-cachetools_5.4.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-cachetools_5.3.3.bb => python3-cachetools_5.4.0.bb} (89%)
meta-python/recipes-devtools/python/python3-cachetools_5.4.0.bb renamed from meta-python/recipes-devtools/python/python3-cachetools_5.3.3.bb +1 -1
similarity index 89%
rename from meta-python/recipes-devtools/python/python3-cachetools_5.3.3.bb
rename to meta-python/recipes-devtools/python/python3-cachetools_5.4.0.bb
index 3ef75d470..94d899db1 100644
@@ -28,6 +28,6 @@ do_install_ptest() {
 	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
 }
 
-SRC_URI[sha256sum] = "ba29e2dfa0b8b556606f097407ed1aa62080ee108ab0dc5ec9d6a723a007d105"
+SRC_URI[sha256sum] = "b8adc2e7c07f105ced7bc56dbb6dfbe7c4a00acce20e2227b3f355be89bc6827"
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2