diff mbox series

[3/3] python3: fix packaging of zipimport.pyc and sysconfig_vars.json

Message ID 20261030173010.4102708-3-ross.burton@arm.com
State New
Headers show
Series [1/3] python3: clean up recompilation of sysconfigdata.py | expand

Commit Message

Ross Burton Oct. 30, 2026, 5:30 p.m. UTC
Neither of these files were explicitly packaged, so they ended up in
python3-misc.

The JSON sysconfig data should be packaged in -core alongside the Python
sysconfigdata.

zipimport.py is now in core, so zipimport.pyc should also be in core.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/python/python3/python3-manifest.json | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 008d41e5654..50fdf5d0eae 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -201,6 +201,7 @@ 
             "${libdir}/python${PYTHON_MAJMIN}/_pyrepl/pager.py",
             "${libdir}/python${PYTHON_MAJMIN}/_sitebuiltins.py",
             "${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py",
+            "${libdir}/python${PYTHON_MAJMIN}/_sysconfig_vars*.json",
             "${libdir}/python${PYTHON_MAJMIN}/_weakrefset.py",
             "${libdir}/python${PYTHON_MAJMIN}/abc.py",
             "${libdir}/python${PYTHON_MAJMIN}/annotationlib.py",
@@ -402,6 +403,7 @@ 
             "${libdir}/python${PYTHON_MAJMIN}/__pycache__/typing.*.pyc",
             "${libdir}/python${PYTHON_MAJMIN}/__pycache__/warnings.*.pyc",
             "${libdir}/python${PYTHON_MAJMIN}/__pycache__/weakref.*.pyc",
+            "${libdir}/python${PYTHON_MAJMIN}/__pycache__/zipimport.*.pyc",
             "${libdir}/python${PYTHON_MAJMIN}/_pyrepl/__pycache__",
             "${libdir}/python${PYTHON_MAJMIN}/_pyrepl/__pycache__/pager.*.pyc",
             "${libdir}/python${PYTHON_MAJMIN}/collections/__pycache__",