[meta-python][PATCH 3/4] python3-defusedxml: Add nativesdk to BBCLASSEXTEND

Khem Raj <[email protected]> Tue, 28 Jul 2026 00:21:10 -0700
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
python3-py-serializable is extended to nativesdk and RDEPENDS on
python3-defusedxml, but defusedxml itself was only extended to native, so
the nativesdk variant of the dependency did not exist:

  WARNING: Nothing RPROVIDES 'nativesdk-python3-defusedxml' (but virtual:nativesdk:...python3-py-serializable_2.1.0.bb RDEPENDS on or otherwise requires it)

This also made nativesdk-python3-cyclonedx-python-lib unbuildable, since it
RDEPENDS on python3-py-serializable.

nativesdk-python3-xml, the recipe's own runtime dependency, is provided by
nativesdk-python3, so the nativesdk variant resolves cleanly.

Signed-off-by: Khem Raj <[email protected]>
---
 meta-python/recipes-devtools/python/python3-defusedxml_0.7.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-defusedxml_0.7.1.bb b/meta-python/recipes-devtools/python/python3-defusedxml_0.7.1.bb
index 8ec6680d8f..614a606b20 100644
--- a/meta-python/recipes-devtools/python/python3-defusedxml_0.7.1.bb
+++ b/meta-python/recipes-devtools/python/python3-defusedxml_0.7.1.bb
@@ -9,6 +9,6 @@ SRC_URI[sha256sum] = "1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51

 inherit pypi setuptools3

-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"

 RDEPENDS:${PN} += "python3-xml"