From: Tafil Avdyli <tafil@tafhub.de>
To: openembedded-core@lists.openembedded.org
Cc: Tafil Avdyli <tafil@tafhub.de>
Subject: [wrynose][PATCH 2/2] python3: fix stringold cache files
Date: Tue, 18 Aug 2026 22:00:37 +0200 [thread overview]
Message-ID: <20260818200037.7044-2-tafil@tafhub.de> (raw)
In-Reply-To: <20260818200037.7044-1-tafil@tafhub.de>
In the 3.14.0 upgrade the stringold package updated to the string module
directory but did not update the cache files. This resulted on targets
to generate `string/__pycache__/__init__.cpython-314.pyc`.
The packaging of the cache files can be only separated with a manual
edit but breaks do_create_manifest. Instead follow other packages and
bundle `string/__pycache__` in files.
Fixes: 56318067ab3e ("python3: upgrade 3.13.11 -> 3.14.0")
Signed-off-by: Tafil Avdyli <tafil@tafhub.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 90e44d557d9897bd5c73018825d74eb338273b58)
Signed-off-by: Tafil Avdyli <tafil@tafhub.de>
---
.../recipes-devtools/python/python3/python3-manifest.json | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 5d46e4e8b9..008d41e565 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -1047,12 +1047,10 @@
"core"
],
"files": [
- "${libdir}/python${PYTHON_MAJMIN}/string/__init__.py",
- "${libdir}/python${PYTHON_MAJMIN}/string/templatelib.py"
+ "${libdir}/python${PYTHON_MAJMIN}/string",
+ "${libdir}/python${PYTHON_MAJMIN}/string/__pycache__"
],
- "cached": [
- "${libdir}/python${PYTHON_MAJMIN}/__pycache__/string.*.pyc"
- ]
+ "cached": []
},
"syslog": {
"summary": "Python syslog interface",
prev parent reply other threads:[~2026-08-18 20:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-18 20:00 [wrynose][PATCH 1/2] python3: add missing pyc files to core Tafil Avdyli
2026-08-18 20:00 ` Tafil Avdyli [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=20260818200037.7044-2-tafil@tafhub.de \
--to=tafil@tafhub.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.