python3-pyroute2: Upgrade 0.9.6 -> 0.9.7
PATCH v2 1/4 python3-pyroute2: Upgrade 0.9.6 -> 0.9.7
Upgrade to release 0.9.7:
- ndb: basic support for XFRM interfaces
- ndb: basic support for object preload hooks
- ndb: basic support for prometheus metrics
- taskstats: fix name unregister_mask() -> deregister_mask()
- plan9: fids per session & inodes per FS
- ethtool: fix the off flags
- dhcp: support option 41 NIS servers
- wirouting: link features
- rtnl: support RTAX_CC_ALGO on route metrics
- rtnl: add missing NFT flags
Fix ptest-runner errors.
---
...thon3-pyroute2_0.9.6.bb => python3-pyroute2_0.9.7.bb} | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python3-pyroute2_0.9.6.bb => python3-pyroute2_0.9.7.bb} (75%)meta-python/recipes-devtools/python/python3-pyroute2_0.9.7.bb renamed from meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb +7 -2
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=dccbff78d7d79ae7e53953d43445c6e6 \ file://LICENSE.GPL-2.0-or-later;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://LICENSE.Apache-2.0;md5=34281e312165f843a2b7d1f114fe65ce" -SRC_URI[sha256sum] = "6bc5e2ea9a372ded682b4ede4028ba00236bd6e35b42d833f39a96b219ef1db2" +SRC_URI[sha256sum] = "a678b098478c46ec51d6bf9a03c3cd2ac0172dffa590e9e8c1eeab633d0c17c6" inherit python_setuptools_build_meta pypi ptest-python-pytest
@@ -35,6 +35,11 @@ RDEPENDS:${PN}-ptest += " \ do_install_ptest:append () { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + # Remove test_frozen.py because it is missing some components + # and is not present in the project's upstream GitHub repository. + rm ${D}${PTEST_PATH}/tests/test_unit/test_frozen.py + # Fix paths sed -e "s|'test_unit|'tests/test_unit|g" -i ${D}${PTEST_PATH}/tests/test_unit/test_nlmsg/test_marshal.py \ - ${D}${PTEST_PATH}/tests/test_unit/test_iproute_match/test_match.py + ${D}${PTEST_PATH}/tests/test_unit/test_iproute_match/test_match.py \ + ${D}${PTEST_PATH}/tests/test_unit/test_nlmsg/test_nl80211_station.py }
Signature · 1 line
2.47.3
PATCH v2 2/4 python3-platformdirs: Upgrade 4.10.1 -> 4.13.5
Upgrade to release 4.13.5:
- Publish a GitHub Release with changelog notes, a PyPI link, and a version comparison after each PyPI release.
Deselect failing tests from the run-ptest script for ptest-runner.
---
.../recipes-devtools/python/python3-platformdirs/run-ptest | 4 ++++
...-platformdirs_4.10.1.bb => python3-platformdirs_4.13.5.bb} | 4 +++-
2 files changed, 7 insertions(+), 1 deletion(-)
create mode 100644 meta-python/recipes-devtools/python/python3-platformdirs/run-ptest
rename meta-python/recipes-devtools/python/{python3-platformdirs_4.10.1.bb => python3-platformdirs_4.13.5.bb} (80%)meta-python/recipes-devtools/python/python3-platformdirs/run-ptest new file +4 -0
@@ -0,0 +1,4 @@ +#!/bin/sh + +pytest --automake \ + --deselect tests/test_pytest_plugin.py::test_import_before_pytest_main
meta-python/recipes-devtools/python/python3-platformdirs_4.13.5.bb renamed from meta-python/recipes-devtools/python/python3-platformdirs_4.10.1.bb +3 -1
@@ -3,10 +3,12 @@ HOMEPAGE = "https://github.com/platformdirs/platformdirs" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a" -SRC_URI[sha256sum] = "ceab4084426fe6319ce18e86deada8ab1b7487c7aee7040c55e277c9ae793695" +SRC_URI[sha256sum] = "05831adf87d392760f4b5c3a0a95579ab5a10b18b9b9bd43680dcb47544788a0" inherit pypi python_hatchling ptest-python-pytest +SRC_URI += "file://run-ptest" + DEPENDS += " \ python3-hatch-vcs-native \ "
Signature · 1 line
2.47.3
PATCH v2 3/4 python3-multidict: Upgrade 6.7.1 -> 7.2.1
In reply to Leon AnaviUpgrade 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.
--- .../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
meta-python/recipes-devtools/python/python3-multidict_6.7.1.bb deleted +0 -18
@@ -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"
meta-python/recipes-devtools/python/python3-multidict_7.2.1.bb new file +38 -0
@@ -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"
Signature · 1 line
2.47.3
PATCH v2 4/4 python3-jsonpatch: Upgrade 1.33 -> 1.37
In reply to Leon AnaviUpgrade to release 1.37:
- Clean up in-place output after write errors
- Reject invalid patch document containers
- Use UTF-8 for JSON command-line file I/O
- Handle source pointer objects in move location helpers
Fixes:
WARNING: python3-jsonpatch-1.37-r0 do_check_backend: QA Issue:
inherits setuptools3 but has pyproject.toml specifying backend setuptools.build_meta, use the correct class [pep517-backend]
---
.../{python3-jsonpatch_1.33.bb => python3-jsonpatch_1.37.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python3-jsonpatch_1.33.bb => python3-jsonpatch_1.37.bb} (72%)meta-python/recipes-devtools/python/python3-jsonpatch_1.37.bb renamed from meta-python/recipes-devtools/python/python3-jsonpatch_1.33.bb +2 -2
@@ -3,9 +3,9 @@ HOMEPAGE = "https://github.com/stefankoegl/python-json-patch" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=4f81c84f9a053e31fe9402a2a4e78864" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "9fcd4009c41e6d12348b4a0ff2563ba56a2923a7dfee731d004e212e1ee5030c" +SRC_URI[sha256sum] = "04288ef93e60084bcb118101cd9d53424e627b91bb47ec5a95c02ec3795f6d23" RDEPENDS:${PN} += " \ python3-json \
Signature · 1 line
2.47.3