All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/
@ 2026-11-25 16:39 Ross Burton
  2026-11-25 16:39 ` [PATCH 02/18] python3: remove non-existing and duplicate files from manifest Ross Burton
                   ` (17 more replies)
  0 siblings, 18 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

The manifest explicitly used ${prefix}/lib/ instead of ${libdir}, which
may have either been correct historically or a mistake.

Either way, if ${libdir} is not "lib" then this means config/ is packaged
into -misc instead of -core.  Use ${libdir} for reliable packaging.

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

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 3462b6e9b11..e425b3d4347 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -330,7 +330,7 @@
             "${libdir}/python${PYTHON_MAJMIN}/warnings.py",
             "${libdir}/python${PYTHON_MAJMIN}/weakref.py",
             "${libdir}/python${PYTHON_MAJMIN}/zipimport.py",
-            "${prefix}/lib/python${PYTHON_MAJMIN}/config*/*[!.a]"
+            "${libdir}/python${PYTHON_MAJMIN}/config*/*[!.a]"
         ]
     },
     "crypt": {
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 02/18] python3: remove non-existing and duplicate files from manifest
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-25 16:39 ` [PATCH 03/18] python3: hide stdout when importing modules during module dependency generation Ross Burton
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

These were always redundant (no .so in pycache, or duplicates) and are
more redundant now that .pyc packaging is automatic.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../python/python3/python3-manifest.json        | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index e425b3d4347..e48de787b0d 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -117,7 +117,6 @@
             "${libdir}/python${PYTHON_MAJMIN}/asyncio",
             "${libdir}/python${PYTHON_MAJMIN}/concurrent",
             "${libdir}/python${PYTHON_MAJMIN}/concurrent/futures",
-            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_asyncio.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_interpchannels.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_interpqueues.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_interpreters.*.so"
@@ -254,14 +253,9 @@
             "${libdir}/python${PYTHON_MAJMIN}/io.py",
             "${libdir}/python${PYTHON_MAJMIN}/ipaddress.py",
             "${libdir}/python${PYTHON_MAJMIN}/keyword.py",
-            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/__pycache__/_struct.*.so",
-            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/__pycache__/binascii.*.so",
-            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/__pycache__/time.*.so",
-            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/__pycache__/xreadlines.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_bisect.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_csv.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_heapq.*.so",
-            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_interpreters.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_math_integer.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_opcode.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_posixsubprocess.*.so",
@@ -711,7 +705,6 @@
             "${libdir}/python${PYTHON_MAJMIN}/ftplib.py",
             "${libdir}/python${PYTHON_MAJMIN}/hmac.py",
             "${libdir}/python${PYTHON_MAJMIN}/http",
-            "${libdir}/python${PYTHON_MAJMIN}/http/__pycache__",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_hmac.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_uuid.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/mimetypes.py",
@@ -790,7 +783,6 @@
             "${libdir}/python${PYTHON_MAJMIN}/profile.py",
             "${libdir}/python${PYTHON_MAJMIN}/profiling",
             "${libdir}/python${PYTHON_MAJMIN}/profiling/tracing",
-            "${libdir}/python${PYTHON_MAJMIN}/profiling/tracing/_utils.py",
             "${libdir}/python${PYTHON_MAJMIN}/pstats.py"
         ]
     },
@@ -853,8 +845,7 @@
             "core"
         ],
         "files": [
-            "${libdir}/python${PYTHON_MAJMIN}/string",
-            "${libdir}/python${PYTHON_MAJMIN}/string/__pycache__"
+            "${libdir}/python${PYTHON_MAJMIN}/string"
         ]
     },
     "syslog": {
@@ -921,8 +912,7 @@
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/unittest",
-            "${libdir}/python${PYTHON_MAJMIN}/unittest/",
-            "${libdir}/python${PYTHON_MAJMIN}/unittest/__pycache__"
+            "${libdir}/python${PYTHON_MAJMIN}/unittest/"
         ]
     },
     "unixadmin": {
@@ -978,8 +968,7 @@
             "xml"
         ],
         "files": [
-            "${libdir}/python${PYTHON_MAJMIN}/xmlrpc",
-            "${libdir}/python${PYTHON_MAJMIN}/xmlrpc/__pycache__"
+            "${libdir}/python${PYTHON_MAJMIN}/xmlrpc"
         ]
     },
     "zipapp": {
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 03/18] python3: hide stdout when importing modules during module dependency generation
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
  2026-11-25 16:39 ` [PATCH 02/18] python3: remove non-existing and duplicate files from manifest Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-25 16:39 ` [PATCH 04/18] python3: merge -stringold to -core Ross Burton
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

gen_module_deps3.py imports modules and prints to stdout the list of
dependencies. Some modules, such as this.py, also print to stdout. This
results in garbage dependencies, so hide stdout when importing to avoid
this problem.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/python/python3/get_module_deps3.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-devtools/python/python3/get_module_deps3.py b/meta/recipes-devtools/python/python3/get_module_deps3.py
index f26d9b20b4b..08c2d28feb7 100644
--- a/meta/recipes-devtools/python/python3/get_module_deps3.py
+++ b/meta/recipes-devtools/python/python3/get_module_deps3.py
@@ -50,11 +50,15 @@ def fix_path(dep_path):
 
 # Module to import was passed as an argument
 current_module =  str(sys.argv[1]).rstrip()
+
 if debug == True:
     log = open('temp/log_%s' % current_module.strip('.*'),'w')
     log.write('Module %s generated the following dependencies:\n' % current_module)
 try:
+    real_stdout = sys.stdout
+    sys.stdout = None
     m = importlib.import_module(current_module)
+
     # handle python packages which may not include all modules in the __init__
     if hasattr(m, '__file__') and os.path.basename(m.__file__) == "__init__.py":
         modulepath = os.path.dirname(m.__file__)
@@ -70,6 +74,8 @@ except ImportError as e:
     if debug == True:
         log.write('Module was not found\n')
     pass
+finally:
+    sys.stdout = real_stdout
 
 
 # Get current module dependencies, dif will contain a list of specific deps for this module
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 04/18] python3: merge -stringold to -core
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
  2026-11-25 16:39 ` [PATCH 02/18] python3: remove non-existing and duplicate files from manifest Ross Burton
  2026-11-25 16:39 ` [PATCH 03/18] python3: hide stdout when importing modules during module dependency generation Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-25 16:39 ` [PATCH 05/18] python3: move base64 into -core Ross Burton
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

The "stringold" module isn't actually "old", it's the original string
module with utility methods and templating code.

It's not deprecated and is small, so merge it into -core, add a RPROVIDES
to preserve existing dependencies, and refresh the manifest.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../python/python3/python3-manifest.json      | 38 +++++--------------
 1 file changed, 10 insertions(+), 28 deletions(-)

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index e48de787b0d..36bde979b24 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -110,8 +110,7 @@
             "io",
             "logging",
             "netclient",
-            "numbers",
-            "stringold"
+            "numbers"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/asyncio",
@@ -173,7 +172,8 @@
         "summary": "Python interpreter and core modules",
         "rprovides": [
             "fcntl",
-            "pkgutil"
+            "pkgutil",
+            "stringold"
         ],
         "rdepends": [],
         "skip_depends": {
@@ -306,6 +306,7 @@
             "${libdir}/python${PYTHON_MAJMIN}/sre_constants.py",
             "${libdir}/python${PYTHON_MAJMIN}/sre_parse.py",
             "${libdir}/python${PYTHON_MAJMIN}/stat.py",
+            "${libdir}/python${PYTHON_MAJMIN}/string",
             "${libdir}/python${PYTHON_MAJMIN}/stringprep.py",
             "${libdir}/python${PYTHON_MAJMIN}/struct.py",
             "${libdir}/python${PYTHON_MAJMIN}/subprocess.py",
@@ -401,8 +402,7 @@
             "netclient",
             "numbers",
             "pprint",
-            "shell",
-            "stringold"
+            "shell"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/bdb.py",
@@ -454,7 +454,6 @@
             "numbers",
             "pprint",
             "shell",
-            "stringold",
             "unittest"
         ],
         "files": [
@@ -469,8 +468,7 @@
             "io",
             "math",
             "mime",
-            "netclient",
-            "stringold"
+            "netclient"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/email",
@@ -558,7 +556,6 @@
             "io",
             "netserver",
             "pickle",
-            "stringold",
             "threading"
         ],
         "files": [
@@ -574,8 +571,7 @@
             "io",
             "math",
             "mime",
-            "netclient",
-            "stringold"
+            "netclient"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/mailbox.py"
@@ -652,7 +648,6 @@
             "shell",
             "sqlite3",
             "statistics",
-            "stringold",
             "syslog",
             "terminal",
             "threading",
@@ -697,8 +692,7 @@
             "email",
             "io",
             "math",
-            "mime",
-            "stringold"
+            "mime"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/base64.py",
@@ -839,15 +833,6 @@
             "${libdir}/python${PYTHON_MAJMIN}/statistics.py"
         ]
     },
-    "stringold": {
-        "summary": "Common string operations",
-        "rdepends": [
-            "core"
-        ],
-        "files": [
-            "${libdir}/python${PYTHON_MAJMIN}/string"
-        ]
-    },
     "syslog": {
         "summary": "Python syslog interface",
         "rdepends": [
@@ -907,8 +892,7 @@
             "logging",
             "netclient",
             "numbers",
-            "pprint",
-            "stringold"
+            "pprint"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/unittest",
@@ -931,8 +915,7 @@
             "compression",
             "core",
             "logging",
-            "shell",
-            "stringold"
+            "shell"
         ],
         "files": [
             "${bindir}/pyvenv*",
@@ -964,7 +947,6 @@
             "netserver",
             "numbers",
             "pydoc",
-            "stringold",
             "xml"
         ],
         "files": [
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 05/18] python3: move base64 into -core
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
                   ` (2 preceding siblings ...)
  2026-11-25 16:39 ` [PATCH 04/18] python3: merge -stringold to -core Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-25 16:39 ` [PATCH 06/18] python3: merge -mime " Ross Burton
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

There are a lot of dependencies on the netclient package (1.2MB) simply
for the base64 module (22K). Move this into core and refresh the
manifest.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../python/python3/python3-manifest.json          | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 36bde979b24..17477a54c72 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -109,7 +109,6 @@
             "debugger",
             "io",
             "logging",
-            "netclient",
             "numbers"
         ],
         "files": [
@@ -216,6 +215,7 @@
             "${libdir}/python${PYTHON_MAJMIN}/annotationlib.py",
             "${libdir}/python${PYTHON_MAJMIN}/argparse.py",
             "${libdir}/python${PYTHON_MAJMIN}/ast.py",
+            "${libdir}/python${PYTHON_MAJMIN}/base64.py",
             "${libdir}/python${PYTHON_MAJMIN}/bisect.py",
             "${libdir}/python${PYTHON_MAJMIN}/code.py",
             "${libdir}/python${PYTHON_MAJMIN}/codecs.py",
@@ -399,7 +399,6 @@
             "json",
             "logging",
             "math",
-            "netclient",
             "numbers",
             "pprint",
             "shell"
@@ -450,7 +449,6 @@
             "json",
             "logging",
             "math",
-            "netclient",
             "numbers",
             "pprint",
             "shell",
@@ -467,8 +465,7 @@
             "datetime",
             "io",
             "math",
-            "mime",
-            "netclient"
+            "mime"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/email",
@@ -526,8 +523,7 @@
         "rdepends": [
             "compression",
             "core",
-            "math",
-            "netclient"
+            "math"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/_pyio.py",
@@ -570,8 +566,7 @@
             "email",
             "io",
             "math",
-            "mime",
-            "netclient"
+            "mime"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/mailbox.py"
@@ -695,7 +690,6 @@
             "mime"
         ],
         "files": [
-            "${libdir}/python${PYTHON_MAJMIN}/base64.py",
             "${libdir}/python${PYTHON_MAJMIN}/ftplib.py",
             "${libdir}/python${PYTHON_MAJMIN}/hmac.py",
             "${libdir}/python${PYTHON_MAJMIN}/http",
@@ -890,7 +884,6 @@
             "difflib",
             "io",
             "logging",
-            "netclient",
             "numbers",
             "pprint"
         ],
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 06/18] python3: merge -mime into -core
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
                   ` (3 preceding siblings ...)
  2026-11-25 16:39 ` [PATCH 05/18] python3: move base64 into -core Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-25 16:39 ` [PATCH 07/18] python3: package turtle and turtledemo into their own package Ross Burton
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

The -mime package contains a single quopri.py file, that is just 7kb and
pulled into a number of common modules.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../python/python3/python3-manifest.json      | 22 +++++--------------
 1 file changed, 5 insertions(+), 17 deletions(-)

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 17477a54c72..2790851cf68 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -171,6 +171,7 @@
         "summary": "Python interpreter and core modules",
         "rprovides": [
             "fcntl",
+            "mime",
             "pkgutil",
             "stringold"
         ],
@@ -289,6 +290,7 @@
             "${libdir}/python${PYTHON_MAJMIN}/pkgutil.py",
             "${libdir}/python${PYTHON_MAJMIN}/platform.py",
             "${libdir}/python${PYTHON_MAJMIN}/posixpath.py",
+            "${libdir}/python${PYTHON_MAJMIN}/quopri.py",
             "${libdir}/python${PYTHON_MAJMIN}/re",
             "${libdir}/python${PYTHON_MAJMIN}/re/_casefix.py",
             "${libdir}/python${PYTHON_MAJMIN}/re/_compiler.py",
@@ -464,8 +466,7 @@
             "core",
             "datetime",
             "io",
-            "math",
-            "mime"
+            "math"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/email",
@@ -565,8 +566,7 @@
             "datetime",
             "email",
             "io",
-            "math",
-            "mime"
+            "math"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/mailbox.py"
@@ -583,15 +583,6 @@
             "${libdir}/python${PYTHON_MAJMIN}/random.py"
         ]
     },
-    "mime": {
-        "summary": "Python MIME handling APIs",
-        "rdepends": [
-            "core"
-        ],
-        "files": [
-            "${libdir}/python${PYTHON_MAJMIN}/quopri.py"
-        ]
-    },
     "mmap": {
         "summary": "Python memory-mapped file support",
         "rdepends": [
@@ -628,7 +619,6 @@
             "logging",
             "mailbox",
             "math",
-            "mime",
             "mmap",
             "multiprocessing",
             "netclient",
@@ -686,8 +676,7 @@
             "datetime",
             "email",
             "io",
-            "math",
-            "mime"
+            "math"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/ftplib.py",
@@ -935,7 +924,6 @@
             "email",
             "html",
             "io",
-            "mime",
             "netclient",
             "netserver",
             "numbers",
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 07/18] python3: package turtle and turtledemo into their own package
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
                   ` (4 preceding siblings ...)
  2026-11-25 16:39 ` [PATCH 06/18] python3: merge -mime " Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-25 16:39 ` [PATCH 08/18] python3: add test files from -misc to -tests Ross Burton
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

Instead of these sitting in -misc, put them into a -turtle package that
can only be installed if needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../python/python3/python3-manifest.json             | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 2790851cf68..fb21c493f2f 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -638,6 +638,7 @@
             "threading",
             "tkinter",
             "tomllib",
+            "turtle",
             "unittest",
             "unixadmin",
             "venv",
@@ -856,6 +857,17 @@
             "${libdir}/python${PYTHON_MAJMIN}/tkinter"
         ]
     },
+    "turtle": {
+        "summary": "Turtle graphics",
+        "rdepends": [
+            "core",
+            "tkinter"
+        ],
+        "files": [
+            "${libdir}/python${PYTHON_MAJMIN}/turtledemo/",
+            "${libdir}/python${PYTHON_MAJMIN}/turtle.py"
+        ]
+    },
     "tomllib": {
         "summary": "Provides an interface for parsing TOML",
         "rdepends": [
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 08/18] python3: add test files from -misc to -tests
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
                   ` (5 preceding siblings ...)
  2026-11-25 16:39 ` [PATCH 07/18] python3: package turtle and turtledemo into their own package Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-25 16:39 ` [PATCH 09/18] python3: package the codec binary modules into -codecs Ross Burton
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

These parts of the test suite were in -misc, package them in -tests
where they belong.

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

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index fb21c493f2f..9550cc61c14 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -98,7 +98,13 @@
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/*/test",
             "${libdir}/python${PYTHON_MAJMIN}/*/tests",
+            "${libdir}/python${PYTHON_MAJMIN}/__hello__.py",
+            "${libdir}/python${PYTHON_MAJMIN}/__phello__/",
+            "${libdir}/python${PYTHON_MAJMIN}/antigravity.py",
             "${libdir}/python${PYTHON_MAJMIN}/idlelib/idle_test/",
+            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_test*.so",
+            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_xx*.so",
+            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/xx*.so",
             "${libdir}/python${PYTHON_MAJMIN}/test"
         ]
     },
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 09/18] python3: package the codec binary modules into -codecs
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
                   ` (6 preceding siblings ...)
  2026-11-25 16:39 ` [PATCH 08/18] python3: add test files from -misc to -tests Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-25 16:39 ` [PATCH 10/18] python3: move more files from -misc to -core Ross Burton
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

This moves them out of -misc, into the same package as the other binary
codec modules.

Signed-off-by: Ross Burton <ross.burton@arm.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 9550cc61c14..8427b0fc101 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -141,6 +141,7 @@
             "core"
         ],
         "files": [
+            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_codecs_*.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_multibytecodec.*.so"
         ]
     },
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 10/18] python3: move more files from -misc to -core
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
                   ` (7 preceding siblings ...)
  2026-11-25 16:39 ` [PATCH 09/18] python3: package the codec binary modules into -codecs Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-25 16:39 ` [PATCH 11/18] python3: merge -math into -core Ross Burton
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

This is a selection of files that really should be in core, or are
sufficiently small that they don't need to be put into separate packages.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../python/python3/python3-manifest.json            | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 8427b0fc101..6d6ee0c146c 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -200,9 +200,11 @@
             "${bindir}/python${PYTHON_MAJMIN}.real",
             "${bindir}/python3",
             "${includedir}/python${PYTHON_MAJMIN}/pyconfig*.h",
+            "${libdir}/python${PYTHON_MAJMIN}/LICENSE.txt",
             "${libdir}/python${PYTHON_MAJMIN}/UserDict.py",
             "${libdir}/python${PYTHON_MAJMIN}/UserList.py",
             "${libdir}/python${PYTHON_MAJMIN}/UserString.py",
+            "${libdir}/python${PYTHON_MAJMIN}/_*_support.py",
             "${libdir}/python${PYTHON_MAJMIN}/__future__.py",
             "${libdir}/python${PYTHON_MAJMIN}/_abcoll.py",
             "${libdir}/python${PYTHON_MAJMIN}/_ast_unparse.py",
@@ -212,6 +214,7 @@
             "${libdir}/python${PYTHON_MAJMIN}/_markupbase.py",
             "${libdir}/python${PYTHON_MAJMIN}/_missing_stdlib_info.py",
             "${libdir}/python${PYTHON_MAJMIN}/_opcode_metadata.py",
+            "${libdir}/python${PYTHON_MAJMIN}/_py_abc.py",
             "${libdir}/python${PYTHON_MAJMIN}/_py_warnings.py",
             "${libdir}/python${PYTHON_MAJMIN}/_pyrepl",
             "${libdir}/python${PYTHON_MAJMIN}/_pyrepl/pager.py",
@@ -225,6 +228,7 @@
             "${libdir}/python${PYTHON_MAJMIN}/ast.py",
             "${libdir}/python${PYTHON_MAJMIN}/base64.py",
             "${libdir}/python${PYTHON_MAJMIN}/bisect.py",
+            "${libdir}/python${PYTHON_MAJMIN}/build-details.json",
             "${libdir}/python${PYTHON_MAJMIN}/code.py",
             "${libdir}/python${PYTHON_MAJMIN}/codecs.py",
             "${libdir}/python${PYTHON_MAJMIN}/codeop.py",
@@ -242,12 +246,14 @@
             "${libdir}/python${PYTHON_MAJMIN}/encodings/latin_1.py",
             "${libdir}/python${PYTHON_MAJMIN}/encodings/utf_8.py",
             "${libdir}/python${PYTHON_MAJMIN}/enum.py",
+            "${libdir}/python${PYTHON_MAJMIN}/fileinput.py",
             "${libdir}/python${PYTHON_MAJMIN}/fnmatch.py",
             "${libdir}/python${PYTHON_MAJMIN}/functools.py",
             "${libdir}/python${PYTHON_MAJMIN}/genericpath.py",
             "${libdir}/python${PYTHON_MAJMIN}/getopt.py",
             "${libdir}/python${PYTHON_MAJMIN}/gettext.py",
             "${libdir}/python${PYTHON_MAJMIN}/glob.py",
+            "${libdir}/python${PYTHON_MAJMIN}/graphlib.py",
             "${libdir}/python${PYTHON_MAJMIN}/heapq.py",
             "${libdir}/python${PYTHON_MAJMIN}/imp.py",
             "${libdir}/python${PYTHON_MAJMIN}/importlib",
@@ -282,8 +288,10 @@
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/xreadlines.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/linecache.py",
             "${libdir}/python${PYTHON_MAJMIN}/locale.py",
+            "${libdir}/python${PYTHON_MAJMIN}/modulefinder.py",
             "${libdir}/python${PYTHON_MAJMIN}/new.py",
             "${libdir}/python${PYTHON_MAJMIN}/ntpath.py",
+            "${libdir}/python${PYTHON_MAJMIN}/nturl2path.py",
             "${libdir}/python${PYTHON_MAJMIN}/opcode.py",
             "${libdir}/python${PYTHON_MAJMIN}/operator.py",
             "${libdir}/python${PYTHON_MAJMIN}/optparse.py",
@@ -297,6 +305,7 @@
             "${libdir}/python${PYTHON_MAJMIN}/pkgutil.py",
             "${libdir}/python${PYTHON_MAJMIN}/platform.py",
             "${libdir}/python${PYTHON_MAJMIN}/posixpath.py",
+            "${libdir}/python${PYTHON_MAJMIN}/pyclbr.py",
             "${libdir}/python${PYTHON_MAJMIN}/quopri.py",
             "${libdir}/python${PYTHON_MAJMIN}/re",
             "${libdir}/python${PYTHON_MAJMIN}/re/_casefix.py",
@@ -309,6 +318,7 @@
             "${libdir}/python${PYTHON_MAJMIN}/selectors.py",
             "${libdir}/python${PYTHON_MAJMIN}/shutil.py",
             "${libdir}/python${PYTHON_MAJMIN}/signal.py",
+            "${libdir}/python${PYTHON_MAJMIN}/site-packages/",
             "${libdir}/python${PYTHON_MAJMIN}/site.py",
             "${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py",
             "${libdir}/python${PYTHON_MAJMIN}/sre_compile.py",
@@ -320,9 +330,12 @@
             "${libdir}/python${PYTHON_MAJMIN}/struct.py",
             "${libdir}/python${PYTHON_MAJMIN}/subprocess.py",
             "${libdir}/python${PYTHON_MAJMIN}/symbol.py",
+            "${libdir}/python${PYTHON_MAJMIN}/symtable.py",
             "${libdir}/python${PYTHON_MAJMIN}/sysconfig",
             "${libdir}/python${PYTHON_MAJMIN}/sysconfig.py",
+            "${libdir}/python${PYTHON_MAJMIN}/tabnanny.py",
             "${libdir}/python${PYTHON_MAJMIN}/textwrap.py",
+            "${libdir}/python${PYTHON_MAJMIN}/this.py",
             "${libdir}/python${PYTHON_MAJMIN}/threading.py",
             "${libdir}/python${PYTHON_MAJMIN}/token.py",
             "${libdir}/python${PYTHON_MAJMIN}/tokenize.py",
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 11/18] python3: merge -math into -core
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
                   ` (8 preceding siblings ...)
  2026-11-25 16:39 ` [PATCH 10/18] python3: move more files from -misc to -core Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-25 16:39 ` [PATCH 12/18] python3: merge -io " Ross Burton
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

A large amount of the standard library uses this, so there's no real
point in splitting it out.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../python/python3/python3-manifest.json      | 35 +++++--------------
 1 file changed, 9 insertions(+), 26 deletions(-)

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 6d6ee0c146c..91064f23e8e 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -178,6 +178,7 @@
         "summary": "Python interpreter and core modules",
         "rprovides": [
             "fcntl",
+            "math",
             "mime",
             "pkgutil",
             "stringold"
@@ -273,10 +274,12 @@
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_math_integer.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_opcode.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_posixsubprocess.*.so",
+            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_random.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_struct.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_typing.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/array.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/binascii.*.so",
+            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/cmath.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/fcntl.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/grp.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/math.*.so",
@@ -307,6 +310,7 @@
             "${libdir}/python${PYTHON_MAJMIN}/posixpath.py",
             "${libdir}/python${PYTHON_MAJMIN}/pyclbr.py",
             "${libdir}/python${PYTHON_MAJMIN}/quopri.py",
+            "${libdir}/python${PYTHON_MAJMIN}/random.py",
             "${libdir}/python${PYTHON_MAJMIN}/re",
             "${libdir}/python${PYTHON_MAJMIN}/re/_casefix.py",
             "${libdir}/python${PYTHON_MAJMIN}/re/_compiler.py",
@@ -370,8 +374,7 @@
         "rdepends": [
             "compression",
             "core",
-            "io",
-            "math"
+            "io"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/ctypes",
@@ -420,7 +423,6 @@
             "io",
             "json",
             "logging",
-            "math",
             "numbers",
             "pprint",
             "shell"
@@ -470,7 +472,6 @@
             "io",
             "json",
             "logging",
-            "math",
             "numbers",
             "pprint",
             "shell",
@@ -485,8 +486,7 @@
         "rdepends": [
             "core",
             "datetime",
-            "io",
-            "math"
+            "io"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/email",
@@ -543,8 +543,7 @@
         "summary": "Python low-level I/O",
         "rdepends": [
             "compression",
-            "core",
-            "math"
+            "core"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/_pyio.py",
@@ -585,24 +584,12 @@
             "core",
             "datetime",
             "email",
-            "io",
-            "math"
+            "io"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/mailbox.py"
         ]
     },
-    "math": {
-        "summary": "Python math support",
-        "rdepends": [
-            "core"
-        ],
-        "files": [
-            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_random.*.so",
-            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/cmath.*.so",
-            "${libdir}/python${PYTHON_MAJMIN}/random.py"
-        ]
-    },
     "mmap": {
         "summary": "Python memory-mapped file support",
         "rdepends": [
@@ -638,7 +625,6 @@
             "json",
             "logging",
             "mailbox",
-            "math",
             "mmap",
             "multiprocessing",
             "netclient",
@@ -677,7 +663,6 @@
             "ctypes",
             "io",
             "json",
-            "math",
             "mmap",
             "netclient",
             "pickle",
@@ -696,8 +681,7 @@
             "crypt",
             "datetime",
             "email",
-            "io",
-            "math"
+            "io"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/ftplib.py",
@@ -829,7 +813,6 @@
         "summary": "Basic statistics module",
         "rdepends": [
             "core",
-            "math",
             "numbers"
         ],
         "files": [
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 12/18] python3: merge -io into -core
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
                   ` (9 preceding siblings ...)
  2026-11-25 16:39 ` [PATCH 11/18] python3: merge -math into -core Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-25 16:39 ` [PATCH 13/18] python3: merge -numbers " Ross Burton
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

A large amount of the standard library uses this, so there's no real
point in splitting it out.

Add a dependency exclude for tempfile -> compression, as tempfile
imports shutil which imports compression.  For now, compression can be
separated out as shutil's use of compression is optional.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../python/python3/python3-manifest.json      | 60 +++++++------------
 1 file changed, 22 insertions(+), 38 deletions(-)

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 91064f23e8e..68d0a1750f7 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -113,7 +113,6 @@
         "rdepends": [
             "core",
             "debugger",
-            "io",
             "logging",
             "numbers"
         ],
@@ -178,6 +177,7 @@
         "summary": "Python interpreter and core modules",
         "rprovides": [
             "fcntl",
+            "io",
             "math",
             "mime",
             "pkgutil",
@@ -194,6 +194,13 @@
                 "lzma",
                 "zlib",
                 "zstd"
+            ],
+            "tempfile": [
+                "compression",
+                "bz2",
+                "lzma",
+                "zlib",
+                "zstd"
             ]
         },
         "files": [
@@ -217,6 +224,7 @@
             "${libdir}/python${PYTHON_MAJMIN}/_opcode_metadata.py",
             "${libdir}/python${PYTHON_MAJMIN}/_py_abc.py",
             "${libdir}/python${PYTHON_MAJMIN}/_py_warnings.py",
+            "${libdir}/python${PYTHON_MAJMIN}/_pyio.py",
             "${libdir}/python${PYTHON_MAJMIN}/_pyrepl",
             "${libdir}/python${PYTHON_MAJMIN}/_pyrepl/pager.py",
             "${libdir}/python${PYTHON_MAJMIN}/_sitebuiltins.py",
@@ -275,6 +283,8 @@
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_opcode.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_posixsubprocess.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_random.*.so",
+            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_socket.*.so",
+            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_ssl.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_struct.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_typing.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/array.*.so",
@@ -286,6 +296,7 @@
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/parser.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/readline.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/select.*.so",
+            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/termios.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/time.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/unicodedata.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/xreadlines.*.so",
@@ -325,9 +336,11 @@
             "${libdir}/python${PYTHON_MAJMIN}/site-packages/",
             "${libdir}/python${PYTHON_MAJMIN}/site.py",
             "${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py",
+            "${libdir}/python${PYTHON_MAJMIN}/socket.py",
             "${libdir}/python${PYTHON_MAJMIN}/sre_compile.py",
             "${libdir}/python${PYTHON_MAJMIN}/sre_constants.py",
             "${libdir}/python${PYTHON_MAJMIN}/sre_parse.py",
+            "${libdir}/python${PYTHON_MAJMIN}/ssl.py",
             "${libdir}/python${PYTHON_MAJMIN}/stat.py",
             "${libdir}/python${PYTHON_MAJMIN}/string",
             "${libdir}/python${PYTHON_MAJMIN}/stringprep.py",
@@ -338,6 +351,7 @@
             "${libdir}/python${PYTHON_MAJMIN}/sysconfig",
             "${libdir}/python${PYTHON_MAJMIN}/sysconfig.py",
             "${libdir}/python${PYTHON_MAJMIN}/tabnanny.py",
+            "${libdir}/python${PYTHON_MAJMIN}/tempfile.py",
             "${libdir}/python${PYTHON_MAJMIN}/textwrap.py",
             "${libdir}/python${PYTHON_MAJMIN}/this.py",
             "${libdir}/python${PYTHON_MAJMIN}/threading.py",
@@ -373,8 +387,7 @@
         "summary": "Python C types support",
         "rdepends": [
             "compression",
-            "core",
-            "io"
+            "core"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/ctypes",
@@ -420,7 +433,6 @@
             "asyncio",
             "compression",
             "core",
-            "io",
             "json",
             "logging",
             "numbers",
@@ -469,7 +481,6 @@
             "core",
             "debugger",
             "difflib",
-            "io",
             "json",
             "logging",
             "numbers",
@@ -485,8 +496,7 @@
         "summary": "Python email support",
         "rdepends": [
             "core",
-            "datetime",
-            "io"
+            "datetime"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/email",
@@ -539,22 +549,6 @@
             "${libdir}/python${PYTHON_MAJMIN}/colorsys.py"
         ]
     },
-    "io": {
-        "summary": "Python low-level I/O",
-        "rdepends": [
-            "compression",
-            "core"
-        ],
-        "files": [
-            "${libdir}/python${PYTHON_MAJMIN}/_pyio.py",
-            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_socket.*.so",
-            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_ssl.*.so",
-            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/termios.*.so",
-            "${libdir}/python${PYTHON_MAJMIN}/socket.py",
-            "${libdir}/python${PYTHON_MAJMIN}/ssl.py",
-            "${libdir}/python${PYTHON_MAJMIN}/tempfile.py"
-        ]
-    },
     "json": {
         "summary": "Python JSON support",
         "rdepends": [
@@ -569,7 +563,6 @@
         "summary": "Python logging support",
         "rdepends": [
             "core",
-            "io",
             "netserver",
             "pickle",
             "threading"
@@ -583,8 +576,7 @@
         "rdepends": [
             "core",
             "datetime",
-            "email",
-            "io"
+            "email"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/mailbox.py"
@@ -621,7 +613,6 @@
             "html",
             "idle",
             "image",
-            "io",
             "json",
             "logging",
             "mailbox",
@@ -661,7 +652,6 @@
             "core",
             "crypt",
             "ctypes",
-            "io",
             "json",
             "mmap",
             "netclient",
@@ -680,8 +670,7 @@
             "core",
             "crypt",
             "datetime",
-            "email",
-            "io"
+            "email"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/ftplib.py",
@@ -700,8 +689,7 @@
     "netserver": {
         "summary": "Python Internet Protocol servers",
         "rdepends": [
-            "core",
-            "io"
+            "core"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/socketserver.py"
@@ -832,8 +820,7 @@
     "terminal": {
         "summary": "Python terminal controlling support",
         "rdepends": [
-            "core",
-            "io"
+            "core"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/pty.py",
@@ -886,7 +873,6 @@
             "asyncio",
             "core",
             "difflib",
-            "io",
             "logging",
             "numbers",
             "pprint"
@@ -899,8 +885,7 @@
     "unixadmin": {
         "summary": "Python Unix administration support",
         "rdepends": [
-            "core",
-            "io"
+            "core"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/getpass.py"
@@ -938,7 +923,6 @@
             "datetime",
             "email",
             "html",
-            "io",
             "netclient",
             "netserver",
             "numbers",
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 13/18] python3: merge -numbers into -core
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
                   ` (10 preceding siblings ...)
  2026-11-25 16:39 ` [PATCH 12/18] python3: merge -io " Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-25 16:39 ` [PATCH 14/18] python3: add wsgiref to -netserver Ross Burton
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

A large amount of the standard library uses this, so there's no real
point in splitting it out.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../python/python3/python3-manifest.json      | 33 ++++++-------------
 1 file changed, 10 insertions(+), 23 deletions(-)

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 68d0a1750f7..aee6fbe6432 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -113,8 +113,7 @@
         "rdepends": [
             "core",
             "debugger",
-            "logging",
-            "numbers"
+            "logging"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/asyncio",
@@ -180,6 +179,7 @@
             "io",
             "math",
             "mime",
+            "numbers",
             "pkgutil",
             "stringold"
         ],
@@ -224,7 +224,9 @@
             "${libdir}/python${PYTHON_MAJMIN}/_opcode_metadata.py",
             "${libdir}/python${PYTHON_MAJMIN}/_py_abc.py",
             "${libdir}/python${PYTHON_MAJMIN}/_py_warnings.py",
+            "${libdir}/python${PYTHON_MAJMIN}/_pydecimal.py",
             "${libdir}/python${PYTHON_MAJMIN}/_pyio.py",
+            "${libdir}/python${PYTHON_MAJMIN}/_pylong.py",
             "${libdir}/python${PYTHON_MAJMIN}/_pyrepl",
             "${libdir}/python${PYTHON_MAJMIN}/_pyrepl/pager.py",
             "${libdir}/python${PYTHON_MAJMIN}/_sitebuiltins.py",
@@ -245,10 +247,12 @@
             "${libdir}/python${PYTHON_MAJMIN}/collections/abc.py",
             "${libdir}/python${PYTHON_MAJMIN}/configparser.py",
             "${libdir}/python${PYTHON_MAJMIN}/contextlib.py",
+            "${libdir}/python${PYTHON_MAJMIN}/contextvars.py",
             "${libdir}/python${PYTHON_MAJMIN}/copy.py",
             "${libdir}/python${PYTHON_MAJMIN}/copyreg.py",
             "${libdir}/python${PYTHON_MAJMIN}/csv.py",
             "${libdir}/python${PYTHON_MAJMIN}/dataclasses.py",
+            "${libdir}/python${PYTHON_MAJMIN}/decimal.py",
             "${libdir}/python${PYTHON_MAJMIN}/dis.py",
             "${libdir}/python${PYTHON_MAJMIN}/encodings",
             "${libdir}/python${PYTHON_MAJMIN}/encodings/aliases.py",
@@ -257,6 +261,7 @@
             "${libdir}/python${PYTHON_MAJMIN}/enum.py",
             "${libdir}/python${PYTHON_MAJMIN}/fileinput.py",
             "${libdir}/python${PYTHON_MAJMIN}/fnmatch.py",
+            "${libdir}/python${PYTHON_MAJMIN}/fractions.py",
             "${libdir}/python${PYTHON_MAJMIN}/functools.py",
             "${libdir}/python${PYTHON_MAJMIN}/genericpath.py",
             "${libdir}/python${PYTHON_MAJMIN}/getopt.py",
@@ -278,6 +283,7 @@
             "${libdir}/python${PYTHON_MAJMIN}/keyword.py",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_bisect.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_csv.*.so",
+            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_decimal.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_heapq.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_math_integer.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_opcode.*.so",
@@ -306,6 +312,7 @@
             "${libdir}/python${PYTHON_MAJMIN}/new.py",
             "${libdir}/python${PYTHON_MAJMIN}/ntpath.py",
             "${libdir}/python${PYTHON_MAJMIN}/nturl2path.py",
+            "${libdir}/python${PYTHON_MAJMIN}/numbers.py",
             "${libdir}/python${PYTHON_MAJMIN}/opcode.py",
             "${libdir}/python${PYTHON_MAJMIN}/operator.py",
             "${libdir}/python${PYTHON_MAJMIN}/optparse.py",
@@ -435,7 +442,6 @@
             "core",
             "json",
             "logging",
-            "numbers",
             "pprint",
             "shell"
         ],
@@ -483,7 +489,6 @@
             "difflib",
             "json",
             "logging",
-            "numbers",
             "pprint",
             "shell",
             "unittest"
@@ -620,7 +625,6 @@
             "multiprocessing",
             "netclient",
             "netserver",
-            "numbers",
             "pickle",
             "plistlib",
             "pprint",
@@ -695,20 +699,6 @@
             "${libdir}/python${PYTHON_MAJMIN}/socketserver.py"
         ]
     },
-    "numbers": {
-        "summary": "Python number APIs",
-        "rdepends": [
-            "core"
-        ],
-        "files": [
-            "${libdir}/python${PYTHON_MAJMIN}/_pydecimal.py",
-            "${libdir}/python${PYTHON_MAJMIN}/contextvars.py",
-            "${libdir}/python${PYTHON_MAJMIN}/decimal.py",
-            "${libdir}/python${PYTHON_MAJMIN}/fractions.py",
-            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_decimal.*.so",
-            "${libdir}/python${PYTHON_MAJMIN}/numbers.py"
-        ]
-    },
     "pickle": {
         "summary": "Python serialisation/persistence support",
         "rdepends": [
@@ -800,8 +790,7 @@
     "statistics": {
         "summary": "Basic statistics module",
         "rdepends": [
-            "core",
-            "numbers"
+            "core"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_statistics.*.so",
@@ -874,7 +863,6 @@
             "core",
             "difflib",
             "logging",
-            "numbers",
             "pprint"
         ],
         "files": [
@@ -925,7 +913,6 @@
             "html",
             "netclient",
             "netserver",
-            "numbers",
             "pydoc",
             "xml"
         ],
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 14/18] python3: add wsgiref to -netserver
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
                   ` (11 preceding siblings ...)
  2026-11-25 16:39 ` [PATCH 13/18] python3: merge -numbers " Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-25 16:39 ` [PATCH 15/18] python3: move the rest of -misc to other packages Ross Burton
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

This was previously in -misc, but it's very related to network servers.

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

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index aee6fbe6432..e49216beefd 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -696,7 +696,8 @@
             "core"
         ],
         "files": [
-            "${libdir}/python${PYTHON_MAJMIN}/socketserver.py"
+            "${libdir}/python${PYTHON_MAJMIN}/socketserver.py",
+            "${libdir}/python${PYTHON_MAJMIN}/wsgiref/"
         ]
     },
     "pickle": {
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 15/18] python3: move the rest of -misc to other packages
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
                   ` (12 preceding siblings ...)
  2026-11-25 16:39 ` [PATCH 14/18] python3: add wsgiref to -netserver Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-25 16:39 ` [PATCH 16/18] python3: remove the -misc package Ross Burton
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

This empties the -misc package.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../python/python3/python3-manifest.json      | 20 ++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index e49216beefd..55a0672ccb9 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -419,6 +419,7 @@
             "core"
         ],
         "files": [
+            "${libdir}/python${PYTHON_MAJMIN}/_pydatetime.py",
             "${libdir}/python${PYTHON_MAJMIN}/_strptime.py",
             "${libdir}/python${PYTHON_MAJMIN}/calendar.py",
             "${libdir}/python${PYTHON_MAJMIN}/datetime.py"
@@ -448,7 +449,8 @@
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/bdb.py",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_remote_debugging.*.so",
-            "${libdir}/python${PYTHON_MAJMIN}/pdb.py"
+            "${libdir}/python${PYTHON_MAJMIN}/pdb.py",
+            "${libdir}/python${PYTHON_MAJMIN}/sched.py"
         ]
     },
     "dev": {
@@ -671,10 +673,12 @@
     "netclient": {
         "summary": "Python Internet Protocol clients",
         "rdepends": [
+            "compression",
             "core",
             "crypt",
             "datetime",
-            "email"
+            "email",
+            "shell"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/ftplib.py",
@@ -683,11 +687,13 @@
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_hmac.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_uuid.*.so",
             "${libdir}/python${PYTHON_MAJMIN}/mimetypes.py",
+            "${libdir}/python${PYTHON_MAJMIN}/netrc.py",
             "${libdir}/python${PYTHON_MAJMIN}/poplib.py",
             "${libdir}/python${PYTHON_MAJMIN}/secrets.py",
             "${libdir}/python${PYTHON_MAJMIN}/smtplib.py",
             "${libdir}/python${PYTHON_MAJMIN}/urllib",
-            "${libdir}/python${PYTHON_MAJMIN}/uuid.py"
+            "${libdir}/python${PYTHON_MAJMIN}/uuid.py",
+            "${libdir}/python${PYTHON_MAJMIN}/webbrowser.py"
         ]
     },
     "netserver": {
@@ -736,7 +742,8 @@
     "profile": {
         "summary": "Python basic performance profiling support",
         "rdepends": [
-            "core"
+            "core",
+            "pickle"
         ],
         "files": [
             "${libdir}/python${PYTHON_MAJMIN}/cProfile.py",
@@ -744,7 +751,10 @@
             "${libdir}/python${PYTHON_MAJMIN}/profile.py",
             "${libdir}/python${PYTHON_MAJMIN}/profiling",
             "${libdir}/python${PYTHON_MAJMIN}/profiling/tracing",
-            "${libdir}/python${PYTHON_MAJMIN}/pstats.py"
+            "${libdir}/python${PYTHON_MAJMIN}/pstats.py",
+            "${libdir}/python${PYTHON_MAJMIN}/timeit.py",
+            "${libdir}/python${PYTHON_MAJMIN}/trace.py",
+            "${libdir}/python${PYTHON_MAJMIN}/tracemalloc.py"
         ]
     },
     "pydoc": {
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 16/18] python3: remove the -misc package
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
                   ` (13 preceding siblings ...)
  2026-11-25 16:39 ` [PATCH 15/18] python3: move the rest of -misc to other packages Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-25 16:39 ` [PATCH 17/18] python3-pytest: add missing runtime dependencies Ross Burton
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

By removing the catch-all -misc package we ensure that new files added
to Python are explicitly packaged.  A provides is added to preserve
compatibility.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../python/python3/python3-manifest.json      |  1 +
 .../recipes-devtools/python/python3_3.15.2.bb | 20 -------------------
 2 files changed, 1 insertion(+), 20 deletions(-)

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 55a0672ccb9..b1c24ad24c0 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -179,6 +179,7 @@
             "io",
             "math",
             "mime",
+            "misc",
             "numbers",
             "pkgutil",
             "stringold"
diff --git a/meta/recipes-devtools/python/python3_3.15.2.bb b/meta/recipes-devtools/python/python3_3.15.2.bb
index 69902f15333..6eb7416375e 100644
--- a/meta/recipes-devtools/python/python3_3.15.2.bb
+++ b/meta/recipes-devtools/python/python3_3.15.2.bb
@@ -413,9 +413,6 @@ python(){
     pn = 'python3'
     rprovides = (d.getVar('RPROVIDES') or "").split()
 
-    # ${PN}-misc-native is not in the manifest
-    rprovides.append(pn + '-misc-native')
-
     for key in python_manifest:
         pypackage = pn + '-' + key + '-native'
         if pypackage not in rprovides:
@@ -438,8 +435,6 @@ python(){
         pypackage = pn + '-' + key
 
         if pypackage not in packages:
-            # We need to prepend, otherwise python-misc gets everything
-            # so we use a new variable
             newpackages.append(pypackage)
 
         # "Build" python's manifest FILES, RDEPENDS and SUMMARY
@@ -464,7 +459,6 @@ python(){
 
         d.setVar('SUMMARY:' + pypackage, python_manifest[key]['summary'])
 
-    # Prepending so to avoid python-misc getting everything
     packages = newpackages + packages
     d.setVar('PACKAGES', ' '.join(packages))
     d.setVar('ALLOW_EMPTY:${PN}-modules', '1')
@@ -517,21 +511,7 @@ FILES:libpython3-staticdev += "${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_
 INSANE_SKIP:${PN}-dev += "dev-elf"
 INSANE_SKIP:${PN}-ptest = "dev-deps"
 
-# catch all the rest (unsorted)
-PACKAGES += "${PN}-misc"
-RDEPENDS:${PN}-misc += "\
-    ${PN}-audio \
-    ${PN}-codecs \
-    ${PN}-core \
-    ${PN}-email \
-    ${PN}-numbers \
-    ${PN}-pickle \
-    ${PN}-pydoc \
-"
-RDEPENDS:${PN}-modules:append:class-target = " ${MLPREFIX}python3-misc"
-RDEPENDS:${PN}-modules:append:class-nativesdk = " ${MLPREFIX}python3-misc"
 RDEPENDS:${PN}-modules:append:class-target = " ${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '${MLPREFIX}python3-gdbm', '', d)}"
-FILES:${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MAJMIN}/lib-dynload"
 
 # catch manpage
 PACKAGES += "${PN}-man"
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 17/18] python3-pytest: add missing runtime dependencies
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
                   ` (14 preceding siblings ...)
  2026-11-25 16:39 ` [PATCH 16/18] python3: remove the -misc package Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-25 16:39 ` [PATCH 18/18] python3-pygobject: ptests need pydoc Ross Burton
  2026-11-26  6:54 ` [OE-core] [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Mathieu Dubois-Briand
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

pytest uses hashlib and uuid, so add the dependencies for those.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/python/python3-pytest_9.2.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/python/python3-pytest_9.2.0.bb b/meta/recipes-devtools/python/python3-pytest_9.2.0.bb
index bd580dabd63..f7831e7afe8 100644
--- a/meta/recipes-devtools/python/python3-pytest_9.2.0.bb
+++ b/meta/recipes-devtools/python/python3-pytest_9.2.0.bb
@@ -12,11 +12,13 @@ DEPENDS += "python3-setuptools-scm-native"
 inherit update-alternatives pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} += " \
+    python3-crypt \
     python3-colorama \
     python3-debugger \
     python3-doctest \
     python3-iniconfig \
     python3-json \
+    python3-netclient \
     python3-packaging \
     python3-pluggy \
     python3-pygments \
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH 18/18] python3-pygobject: ptests need pydoc
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
                   ` (15 preceding siblings ...)
  2026-11-25 16:39 ` [PATCH 17/18] python3-pytest: add missing runtime dependencies Ross Burton
@ 2026-11-25 16:39 ` Ross Burton
  2026-11-26  6:54 ` [OE-core] [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Mathieu Dubois-Briand
  17 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-25 16:39 UTC (permalink / raw)
  To: openembedded-core

These were implicitly pulled in via misc before, but the actual dependency
is python3-pydoc.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/python/python3-pygobject_3.58.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-pygobject_3.58.1.bb b/meta/recipes-devtools/python/python3-pygobject_3.58.1.bb
index 069a3137350..a26c7b182c6 100644
--- a/meta/recipes-devtools/python/python3-pygobject_3.58.1.bb
+++ b/meta/recipes-devtools/python/python3-pygobject_3.58.1.bb
@@ -52,7 +52,7 @@ FILES:${PN}-ptest += "${libdir}/${BPN}/gi-tests"
 RDEPENDS:${PN}-ptest += " \
     bash \
     python3-ctypes \
-    python3-misc \
+    python3-pydoc \
     python3-pickle \
     python3-unittest \
 "
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* Re: [OE-core] [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/
  2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
                   ` (16 preceding siblings ...)
  2026-11-25 16:39 ` [PATCH 18/18] python3-pygobject: ptests need pydoc Ross Burton
@ 2026-11-26  6:54 ` Mathieu Dubois-Briand
  2026-11-26 16:27   ` Ross Burton
  17 siblings, 1 reply; 20+ messages in thread
From: Mathieu Dubois-Briand @ 2026-11-26  6:54 UTC (permalink / raw)
  To: ross.burton, openembedded-core

On Wed Nov 25, 2026 at 5:39 PM CET, Ross Burton via openembedded-core wrote:
> The manifest explicitly used ${prefix}/lib/ instead of ${libdir}, which
> may have either been correct historically or a mistake.
>
> Either way, if ${libdir} is not "lib" then this means config/ is packaged
> into -misc instead of -core.  Use ${libdir} for reliable packaging.
>
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---

Hi Ross,

Thanks for your series. One of these patches is triggering this error:

Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/qemux86-64-ltp/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/ltp.py", line 81, in test_ltp_help
    self.assertEqual(status, 0, msg=msg)
AssertionError: 1 != 0 : Failed to get ltp help. Output: Traceback (most recent call last):
  File "/usr/bin/kirk", line 8, in <module>
    sys.exit(run())
             ~~~^^
  File "/usr/lib/python3.15/site-packages/libkirk/main.py", line 422, in run
    libkirk.com.discover(os.path.join(currdir, "channels"))
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.15/site-packages/libkirk/com.py", line 175, in discover
    obj = libkirk.plugin.discover(ComChannel, path)
  File "/usr/lib/python3.15/site-packages/libkirk/plugin.py", line 105, in discover
    spec.loader.exec_module(module)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "<frozen importlib._bootstrap_external>", line 751, in exec_module
  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
  File "/usr/lib/python3.15/site-packages/libkirk/channels/qemu.py", line 14, in <module>
    import secrets
ModuleNotFoundError: Standard library module 'secrets' was not found

https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/4855
https://autobuilder.yoctoproject.org/valkyrie/#/builders/98/builds/4911

Can you have a look at the issue?

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [OE-core] [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/
  2026-11-26  6:54 ` [OE-core] [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Mathieu Dubois-Briand
@ 2026-11-26 16:27   ` Ross Burton
  0 siblings, 0 replies; 20+ messages in thread
From: Ross Burton @ 2026-11-26 16:27 UTC (permalink / raw)
  To: Mathieu Dubois-Briand; +Cc: openembedded-core@lists.openembedded.org

On 26 Nov 2026, at 06:54, Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> wrote:
> ModuleNotFoundError: Standard library module 'secrets' was not found

Added the missing dependency and verified that it works.  Please add 'python3-kirk: depend on python3-netclient’ to the series in testing.

Cheers,
Ross

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2026-11-26 16:28 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 16:39 [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Ross Burton
2026-11-25 16:39 ` [PATCH 02/18] python3: remove non-existing and duplicate files from manifest Ross Burton
2026-11-25 16:39 ` [PATCH 03/18] python3: hide stdout when importing modules during module dependency generation Ross Burton
2026-11-25 16:39 ` [PATCH 04/18] python3: merge -stringold to -core Ross Burton
2026-11-25 16:39 ` [PATCH 05/18] python3: move base64 into -core Ross Burton
2026-11-25 16:39 ` [PATCH 06/18] python3: merge -mime " Ross Burton
2026-11-25 16:39 ` [PATCH 07/18] python3: package turtle and turtledemo into their own package Ross Burton
2026-11-25 16:39 ` [PATCH 08/18] python3: add test files from -misc to -tests Ross Burton
2026-11-25 16:39 ` [PATCH 09/18] python3: package the codec binary modules into -codecs Ross Burton
2026-11-25 16:39 ` [PATCH 10/18] python3: move more files from -misc to -core Ross Burton
2026-11-25 16:39 ` [PATCH 11/18] python3: merge -math into -core Ross Burton
2026-11-25 16:39 ` [PATCH 12/18] python3: merge -io " Ross Burton
2026-11-25 16:39 ` [PATCH 13/18] python3: merge -numbers " Ross Burton
2026-11-25 16:39 ` [PATCH 14/18] python3: add wsgiref to -netserver Ross Burton
2026-11-25 16:39 ` [PATCH 15/18] python3: move the rest of -misc to other packages Ross Burton
2026-11-25 16:39 ` [PATCH 16/18] python3: remove the -misc package Ross Burton
2026-11-25 16:39 ` [PATCH 17/18] python3-pytest: add missing runtime dependencies Ross Burton
2026-11-25 16:39 ` [PATCH 18/18] python3-pygobject: ptests need pydoc Ross Burton
2026-11-26  6:54 ` [OE-core] [PATCH 01/18] python3: fix packaging of libdir/python3.15/config/ Mathieu Dubois-Briand
2026-11-26 16:27   ` Ross Burton

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.