diff mbox series

[3/3] python3-sphinxcontrib-applehelp: Add missing runtime dependencies

Message ID 20261017182513.3727673-3-khem.raj@oss.qualcomm.com
State New
Headers show
Series [1/3] python3-sphinx: Add python3-compile to RDEPENDS | expand

Commit Message

Khem Raj Oct. 17, 2026, 6:25 p.m. UTC
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>
---
 .../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 544b5ffc09..7be829a0d3 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
@@ -7,4 +7,9 @@  SRC_URI[sha256sum] = "2f29ef331735ce958efa4734873f084941970894c6090408b079c61b2e
 
 inherit pypi python_flit_core
 
+RDEPENDS:${PN} += "\
+    python3-plistlib \
+    python3-shell \
+"
+
 BBCLASSEXTEND = "native nativesdk"