diff mbox series

[meta-python,PATCHv2,3/4] python3-multidict: Upgrade 6.7.1 -> 7.2.1

Message ID 20261029092147.791220-3-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,PATCHv2,1/4] python3-pyroute2: Upgrade 0.9.6 -> 0.9.7 | expand

Commit Message

Leon Anavi Oct. 29, 2026, 9:21 a.m. UTC
Upgrade to release 7.2.1:

- Fixed a regression in 7.2.0 where a subclass of MultiDictProxy or
  CIMultiDictProxy that converted its argument in its own
  __init__() raised TypeError before that __init__() ran; such a
  subclass got an empty multidict until its __init__() set the
  proxied one --.

Fix ptest-runner errors.

License-Update: Update LICENSE file. The license remains the same.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../python/python3-multidict_6.7.1.bb         | 18 ---------
 .../python/python3-multidict_7.2.1.bb         | 38 +++++++++++++++++++
 2 files changed, 38 insertions(+), 18 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-multidict_6.7.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-multidict_7.2.1.bb
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-multidict_6.7.1.bb b/meta-python/recipes-devtools/python/python3-multidict_6.7.1.bb
deleted file mode 100644
index 15848fefec..0000000000
--- a/meta-python/recipes-devtools/python/python3-multidict_6.7.1.bb
+++ /dev/null
@@ -1,18 +0,0 @@ 
-SUMMARY = "Multidicts are useful for working with HTTP headers, URL query args etc."
-HOMEPAGE = "https://github.com/aio-libs/multidict/"
-
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b4fef6e4b0828c2401fb983363985b39"
-
-inherit pypi python_setuptools_build_meta ptest-python-pytest
-
-SRC_URI[sha256sum] = "ec6652a1bee61c53a3e5776b6049172c53b6aaba34f18c9ad04f82712bac623d"
-
-RDEPENDS:${PN}-ptest += " \
-    python3-objgraph \
-    python3-psutil \
-    python3-pytest-cov \
-    python3-pytest-codspeed \
-"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-multidict_7.2.1.bb b/meta-python/recipes-devtools/python/python3-multidict_7.2.1.bb
new file mode 100644
index 0000000000..9ec7ea3eec
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-multidict_7.2.1.bb
@@ -0,0 +1,38 @@ 
+SUMMARY = "The multidict implementation"
+DESCRIPTION = "Multidicts are useful for working with HTTP headers, URL query args etc."
+HOMEPAGE = "https://github.com/aio-libs/multidict/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b5e9e27554f71f0f132919037cb967b2"
+
+inherit pypi python_setuptools_build_meta ptest-python-pytest
+
+SRC_URI[sha256sum] = "e8af3e6f1bdbc31fd762b094133b478b89988eaebc63cbe82b1d9e3bbd15cede"
+
+RDEPENDS:${PN}-ptest += " \
+    python3-objgraph \
+    python3-psutil \
+    python3-pytest-cov \
+    python3-pytest-codspeed \
+"
+
+do_install_ptest:append () {
+    install -d ${D}${PTEST_PATH}/tools/
+    install -m 0644 ${S}/tools/release_notes_md.py ${D}${PTEST_PATH}/tools/
+    install -m 0644 ${S}/benchmarks/callgrind_driver.py ${D}${PYTHON_SITEPACKAGES_DIR}/
+    install -m 0644 ${S}/benchmarks/benchmark.py ${D}${PYTHON_SITEPACKAGES_DIR}/
+    install -m 0644 ${S}/benchmarks/callgrind_child.py ${D}${PYTHON_SITEPACKAGES_DIR}/
+    install -m 0644 ${S}/benchmarks/istr.py ${D}${PYTHON_SITEPACKAGES_DIR}/
+    install -m 0644 ${S}/benchmarks/operations.py ${D}${PYTHON_SITEPACKAGES_DIR}/
+    install -m 0644 ${S}/benchmarks/render_tables.py ${D}${PYTHON_SITEPACKAGES_DIR}/
+}
+
+FILES:${PN}-ptest += "\
+    ${PYTHON_SITEPACKAGES_DIR}/callgrind_driver.py \
+    ${PYTHON_SITEPACKAGES_DIR}/benchmark.py \
+    ${PYTHON_SITEPACKAGES_DIR}/callgrind_child.py \
+    ${PYTHON_SITEPACKAGES_DIR}/istr.py \
+    ${PYTHON_SITEPACKAGES_DIR}/operations.py \
+    ${PYTHON_SITEPACKAGES_DIR}/render_tables.py \
+"
+
+BBCLASSEXTEND = "native nativesdk"