diff mbox series

[6/6] python3-jsonpointer: add python3-misc to RDEPENDS

Message ID 20251204180945.3112334-7-tgamblin@baylibre.com
State New
Headers show
Series python3: upgrade to 3.14.0 | expand

Commit Message

Trevor Gamblin Dec. 4, 2025, 6:09 p.m. UTC
jsonpointer's ptest uses unittest, which depends on the internal
_py_warnings module. This is part of the python3-misc split. However,
there is also a warning displayed when simply trying to import
jsonpointer in an interpreter running on the target:

|warning: can't use pyrepl: No module named '_py_warnings'

Add python3-misc to the package RDEPENDS to deal with both issues.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
 meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb b/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb
index 0a23dc3100..0fc2a6301d 100644
--- a/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb
+++ b/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb
@@ -17,6 +17,7 @@  do_install_ptest() {
 
 RDEPENDS:${PN} += " \
     python3-json \
+    python3-misc \
 "
 
 RDEPENDS:${PN}-ptest += " \