[meta-python][PATCH 1/2] python3-black: Extend to native and nativesdk

Khem Raj <[email protected]> Tue, 28 Jul 2026 22:55:52 -0700
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
From: Khem Raj <[email protected]>

python3-pytest-examples is built for native and nativesdk and RDEPENDS on
python3-black, but black itself was never extended, so parsing universe warns:

  WARNING: Nothing RPROVIDES 'nativesdk-python3-black' (but
  virtual:nativesdk:...python3-pytest-examples_0.0.18.bb RDEPENDS on or
  otherwise requires it)
  WARNING: Nothing RPROVIDES 'python3-black-native' (but
  virtual:native:...python3-pytest-examples_0.0.18.bb RDEPENDS on or
  otherwise requires it)

and both python3-pytest-examples-native and nativesdk-python3-pytest-examples
end up unbuildable and get dropped.

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

diff --git a/meta-python/recipes-devtools/python/python3-black_26.5.1.bb b/meta-python/recipes-devtools/python/python3-black_26.5.1.bb
index 00f027ea85..22f6deaac9 100644
--- a/meta-python/recipes-devtools/python/python3-black_26.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-black_26.5.1.bb
@@ -24,3 +24,5 @@ RDEPENDS:${PN} = " \
     python3-typing-extensions \
     python3-pytokens \
 "
+
+BBCLASSEXTEND = "native nativesdk"