diff mbox series

[meta-python,4/5] python3-pytest-benchmark: add missing runtime dependencies

Message ID 20261015043859.3073445-4-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-networking,1/5] openl2tp: fix rpcbind status check in run-ptest | expand

Commit Message

Khem Raj Oct. 15, 2026, 4:38 a.m. UTC
The plugin imports modules from the datetime, json, misc, netclient,
numbers, profile and statistics python3 packages, so ptests of recipes
using it fail on images that don't pull those in otherwise.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../python/python3-pytest-benchmark_5.1.0.bb       | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb b/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb
index 791e6df3f0..0aa2c24d30 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb
@@ -9,6 +9,18 @@  inherit pypi setuptools3

 PYPI_PACKAGE_SDIST = "pytest-benchmark"

-RDEPENDS:${PN} += "python3-core python3-py-cpuinfo python3-pytest python3-aspectlib"
+RDEPENDS:${PN} += "\
+    python3-aspectlib \
+    python3-core \
+    python3-datetime \
+    python3-json \
+    python3-misc \
+    python3-netclient \
+    python3-numbers \
+    python3-profile \
+    python3-py-cpuinfo \
+    python3-pytest \
+    python3-statistics \
+"

 BBCLASSEXTEND = "native nativesdk"