diff mbox series

[meta-oe,1/3] librelp: Add python3-datetime to the ptest dependencies

Message ID 20261204063821.2452951-2-khem.raj@oss.qualcomm.com
State New
Headers show
Series meta-oe: ptest and packaging fixes | expand

Commit Message

Khem Raj Dec. 4, 2026, 6:38 a.m. UTC
tests/dummyserver.py imports datetime, which python3-core does not
provide, so send-dummyserver-no-waitstate-errmsg.sh failed in the
qemux86-64 musl ptest image with

  ModuleNotFoundError: Standard library module 'datetime' was not found

before the dummy server could start. The other modules the Python test
helpers import (errno, os, socket, sys, time) are already installed.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-oe/recipes-extended/rsyslog/librelp_1.15.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/rsyslog/librelp_1.15.0.bb b/meta-oe/recipes-extended/rsyslog/librelp_1.15.0.bb
index 3ee31be3ec..9002cc2579 100644
--- a/meta-oe/recipes-extended/rsyslog/librelp_1.15.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/librelp_1.15.0.bb
@@ -84,7 +84,7 @@  do_install_ptest() {
 
 RDEPENDS:${PN}-ptest += "\
   make bash coreutils libgcc util-linux gawk grep \
-  python3-core python3-io \
+  python3-core python3-datetime python3-io \
 "
 RRECOMMENDS:${PN}-ptest += "${@bb.utils.filter('PACKAGECONFIG', 'valgrind', d)}"