diff mbox series

[meta-python,01/10] python3-pyroute2: Add missing python3-resource runtime dependency

Message ID 20261031035748.2130261-1-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python,01/10] python3-pyroute2: Add missing python3-resource runtime dependency | expand

Commit Message

Khem Raj Oct. 31, 2026, 3:57 a.m. UTC
From: Khem Raj <raj.khem@gmail.com>

pyroute2/ndb/task_manager.py imports the resource module and it is
pulled in when importing pyroute2, so every ptest module failed to
import with:

ModuleNotFoundError: No module named 'resource'

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-python/recipes-devtools/python/python3-pyroute2_0.9.7.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.9.7.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.9.7.bb
index d83b65f6da..a0abcd2514 100644
--- a/meta-python/recipes-devtools/python/python3-pyroute2_0.9.7.bb
+++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.9.7.bb
@@ -20,6 +20,7 @@  RDEPENDS:${PN} += " \
     python3-pickle \
     python3-pkgutil \
     python3-pprint \
+    python3-resource \
     python3-shell \
     python3-sqlite3 \
     python3-unittest \