diff mbox series

[meta-python,PATCHv2,1/4] python3-pyroute2: Upgrade 0.9.6 -> 0.9.7

Message ID 20261029092147.791220-1-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 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.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...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%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.9.7.bb
similarity index 75%
rename from meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb
rename to meta-python/recipes-devtools/python/python3-pyroute2_0.9.7.bb
index ec72b450ee..d83b65f6da 100644
--- a/meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb
+++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.9.7.bb
@@ -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
 }