| Message ID | 20260815194948.124291-2-tafil@tafhub.de |
|---|---|
| State | New |
| Headers | show |
| Series | [1/2] python3: add missing pyc files to core | expand |
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",
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> --- .../recipes-devtools/python/python3/python3-manifest.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)