From: Trevor Gamblin Date: Tue, 13 Jan 2026 17:57:57 +0000 (-0500) Subject: python3: add _ast_unparse to core X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dfe1e7722fc6c2f798ba7aad2934210f325aee0;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git python3: add _ast_unparse to core Without this, we will see import errors for modules that use annotationlib like so: |../../python3.14/annotationlib.py:487: in __repr__\n' | return ast.unparse(self.__ast_node__)\n' | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n' |../../python3.14/ast.py:622: in unparse\n' | from _ast_unparse import Unparser as _Unparser\n' |E ModuleNotFoundError: No module named '_ast_unparse'\n" Signed-off-by: Trevor Gamblin Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json index 691fb22202..ff84f2d305 100644 --- a/meta/recipes-devtools/python/python3/python3-manifest.json +++ b/meta/recipes-devtools/python/python3/python3-manifest.json @@ -188,6 +188,7 @@ "${libdir}/python${PYTHON_MAJMIN}/UserString.py", "${libdir}/python${PYTHON_MAJMIN}/__future__.py", "${libdir}/python${PYTHON_MAJMIN}/_abcoll.py", + "${libdir}/python${PYTHON_MAJMIN}/_ast_unparse.py", "${libdir}/python${PYTHON_MAJMIN}/_bootlocale.py", "${libdir}/python${PYTHON_MAJMIN}/_collections_abc.py", "${libdir}/python${PYTHON_MAJMIN}/_colorize.py",