diff mbox series

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

Message ID 20260728072111.3266991-3-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-oe,1/4] uml-utilities: remove recipe | expand

Commit Message

Khem Raj July 28, 2026, 7:21 a.m. UTC
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 <khem.raj@oss.qualcomm.com>
---
 meta-python/recipes-devtools/python/python3-defusedxml_0.7.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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"