diff mbox series

[meta-python] python3-mypy*: add nativesdk variant

Message ID 20250726084353.2046137-1-yoann.congal@smile.fr
State Under Review
Headers show
Series [meta-python] python3-mypy*: add nativesdk variant | expand

Commit Message

Yoann Congal July 26, 2025, 8:43 a.m. UTC
From: Yoann Congal <yoann.congal@smile.fr>

Since commit 9b0015577ce8 ("python3-charset-normalizer: Switch to
PEP-517 build backends"), python3-charset-normalizer depends on
python3-mypy and has a nativesdk variant. So, python3-mypy and its
dependency python3-mypy-extensions also need the nativesdk variant.

Fixes these warnings from AB[0]:
WARNING: Nothing RPROVIDES 'nativesdk-python3-mypy' (but virtual:nativesdk:[...]/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-python3-charset-normalizer-dev' (but virtual:nativesdk:[...]/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-python3-charset-normalizer' (but virtual:nativesdk:[...]/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb RDEPENDS on or otherwise requires it)

[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/377/steps/12/logs/warnings

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
 .../recipes-devtools/python/python3-mypy-extensions_1.1.0.bb    | 2 +-
 meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-mypy-extensions_1.1.0.bb b/meta-python/recipes-devtools/python/python3-mypy-extensions_1.1.0.bb
index 9c8cb5533d..21cb517c21 100644
--- a/meta-python/recipes-devtools/python/python3-mypy-extensions_1.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-mypy-extensions_1.1.0.bb
@@ -10,4 +10,4 @@  inherit pypi python_setuptools_build_meta
 
 SRC_URI[sha256sum] = "52e68efc3284861e772bbcd66823fde5ae21fd2fdb51c62a211403730b916558"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb b/meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb
index 0d1e0bd16e..94aaabde4e 100644
--- a/meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb
+++ b/meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb
@@ -7,7 +7,7 @@  inherit pypi python_setuptools_build_meta
 
 SRC_URI[sha256sum] = "e5d7ccc08ba089c06e2f5629c660388ef1fee708444f1dee0b9203fa031dee03"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
 
 DEPENDS += " \
     python3-mypy-extensions-native \