diff mbox series

[blacksail,37/60] python3-sphinxcontrib-applehelp: Add missing runtime dependencies

Message ID c15c227adc7c34ead491a1791bab54d640c94400.1793867929.git.yoann.congal@smile.fr
State RFC, archived
Delegated to: Yoann Congal
Headers show
Series [blacksail,01/60] gstreamer1.0-plugins-bad: use gtk+3 dependency name | expand

Commit Message

Yoann Congal Nov. 5, 2026, 8:42 a.m. UTC
From: Khem Raj <raj.khem@gmail.com>

The applehelp builder imports plistlib and shlex, and sphinx loads it
by default, so any sphinx app fails to initialize on target:

  ModuleNotFoundError: No module named 'plistlib'

Seen in python3-breathe ptests.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1762c51d2411b1640a0d469a75e53ffd20c0caf2)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
 .../python/python3-sphinxcontrib-applehelp_2.0.0.bb          | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_2.0.0.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_2.0.0.bb
index 686a4a17ae2..66b835fee59 100644
--- a/meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_2.0.0.bb
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_2.0.0.bb
@@ -9,4 +9,9 @@  PYPI_PACKAGE = "sphinxcontrib_applehelp"
 
 inherit pypi python_flit_core
 
+RDEPENDS:${PN} += "\
+    python3-plistlib \
+    python3-shell \
+"
+
 BBCLASSEXTEND = "native nativesdk"