Le 17/11/2023 à 10:18, Yoann Congal a écrit :
> python-native is not provided by meta-python anymore and this is clearly
> a python3 recipe.
> 
> Signed-off-by: Yoann Congal <[email protected]>
> ---
>  meta-python/recipes-extended/python-cson/python3-cson_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-python/recipes-extended/python-cson/python3-cson_git.bb 
> b/meta-python/recipes-extended/python-cson/python3-cson_git.bb
> index c4fcc61ec..da174ad55 100644
> --- a/meta-python/recipes-extended/python-cson/python3-cson_git.bb
> +++ b/meta-python/recipes-extended/python-cson/python3-cson_git.bb
> @@ -13,7 +13,7 @@ SRC_URI = 
> "git://github.com/gt3389b/python-cson.git;branch=master;protocol=https
>  S = "${WORKDIR}/git"
>  
>  RDEPENDS:${PN}:class-native = ""
> -DEPENDS:append:class-native = " python-native "
> +DEPENDS:append:class-native = " python3-native "
>  
>  inherit setuptools3
>  

It would be better to backport 
https://git.openembedded.org/meta-openembedded/commit/?id=40b4cf5a83098a5f1be873be5c29f26380bc7993
 instead of this patch
In the current state :
root@qemux86-64:~# python-cson
Traceback (most recent call last):
  File "/usr/bin/python-cson", line 5, in <module>
    from cson import main
  File "/usr/lib/python3.10/site-packages/cson.py", line 11, in <module>
    import argparse, copy, json, sys
ModuleNotFoundError: No module named 'json'

I'll send the backport.
-- 
Yoann Congal
Smile ECS - Tech Expert
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106880): 
https://lists.openembedded.org/g/openembedded-devel/message/106880
Mute This Topic: https://lists.openembedded.org/mt/102644490/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to