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 <[email protected]>
---
 meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb | 1 +
 1 file changed, 1 insertion(+)

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 += " \
-- 
2.52.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#227321): 
https://lists.openembedded.org/g/openembedded-core/message/227321
Mute This Topic: https://lists.openembedded.org/mt/116616584/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to