public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Trevor Gamblin <tgamblin@baylibre.com>
To: openembedded-core@lists.openembedded.org
Subject: [OE-core][PATCH 6/6 v3] python3: add _ast_unparse to core
Date: Fri,  9 Jan 2026 10:06:51 -0500	[thread overview]
Message-ID: <20260109150651.469332-7-tgamblin@baylibre.com> (raw)
In-Reply-To: <20260109150651.469332-1-tgamblin@baylibre.com>

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 <tgamblin@baylibre.com>
---
 meta/recipes-devtools/python/python3/python3-manifest.json | 1 +
 1 file changed, 1 insertion(+)

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",
-- 
2.52.0



      parent reply	other threads:[~2026-01-09 15:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-09 15:06 [OE-core][PATCH 0/6 v3] python3: upgrade 3.13.11 -> 3.14.2 Trevor Gamblin
2026-01-09 15:06 ` [OE-core][PATCH 1/6 v3] python3: upgrade 3.13.11 -> 3.14.0 Trevor Gamblin
2026-01-09 15:06 ` [OE-core][PATCH 2/6 v3] python3targetconfig: export _PYTHON_PROJECT_BASE Trevor Gamblin
2026-01-09 15:06 ` [OE-core][PATCH 3/6 v3] python_pep517: add --prefix to nativepython3 call Trevor Gamblin
2026-01-09 15:06 ` [OE-core][PATCH 4/6 v3] python3: upgrade 3.14.0 -> 3.14.2 Trevor Gamblin
2026-01-09 15:06 ` [OE-core][PATCH 5/6 v3] python3: add _py_warnings, annotationlib to core Trevor Gamblin
2026-01-09 15:06 ` Trevor Gamblin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260109150651.469332-7-tgamblin@baylibre.com \
    --to=tgamblin@baylibre.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox