[2.18][PATCH 0/1] Patch review
Please review this set of changes for wrynose and have comments back by end of day Tuesday, October 13.
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/4907
qemuarm-tc failed due to disk space issue on the autobuilder worker. Retried in https://autobuilder.yoctoproject.org/valkyrie/?#/builders/42/builds/4782
The following changes since commit 51fd94a67fa17650a9ff623492005972bbc7d26f:
asyncrpc: Close the client event loop when the client is collected (2026-09-29 11:56:42 +0100)
are available in the Git repository at:
https://git.openembedded.org/bitbake-contrib stable/2.18-review
https://git.openembedded.org/bitbake-contrib/log/?h=stable/2.18-review
for you to fetch changes up to 6e260eb6ab1631607ea414d9ff8ede1155faa5d9:
ast: Make PyLibNode support submodules in BBIMPORTS (2026-10-07 14:54:15 +0200)
----------------------------------------------------------------
Peter Kjellerstedt (1):
ast: Make PyLibNode support submodules in BBIMPORTS
lib/bb/parse/ast.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
[bitbake][wrynose][2.18][PATCH 1/1] ast: Make PyLibNode support submodules in BBIMPORTS
From: Peter Kjellerstedt <[email protected]>
For a given addpylib <path> <namespace>, the existing code would import all modules specified in BBIMPORTS with the assumption that there are no submodules. This adds support for specifying submodules as well. E.g., BBIMPORTS = "foo.bar" will now make <namespace>.foo.bar available.
--- lib/bb/parse/ast.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
lib/bb/parse/ast.py +3 -2
@@ -310,8 +310,9 @@ class PyLibNode(AstNode): bb.utils._context[self.namespace] = __import__(self.namespace) toimport = getattr(bb.utils._context[self.namespace], "BBIMPORTS", []) for i in toimport: - bb.utils._context[self.namespace] = __import__(self.namespace + "." + i) - mod = getattr(bb.utils._context[self.namespace], i) + mod = bb.utils._context[self.namespace] = __import__(self.namespace + "." + i) + for submod in i.split("."): + mod = getattr(mod, submod) fn = getattr(mod, "__file__") funcs = {} for f in dir(mod):