diff mbox series

recipes: add python3-wheel-native dependency where required

Message ID 20260811222752.4065164-1-ross.burton@arm.com
State New
Headers show
Series recipes: add python3-wheel-native dependency where required | expand

Commit Message

Ross Burton Aug. 11, 2026, 10:27 p.m. UTC
Some packages have a spurious wheel build-dependency. This is almost
certainly not actually needed, but until it is removed upstream we need
to add it to DEPENDS now that the packaging classes don't pull it in.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/python/python3-bcrypt_5.0.0.bb            | 2 +-
 meta/recipes-devtools/python/python3-hypothesis_6.155.7.bb      | 2 ++
 .../python/python3-license-expression_30.4.4.bb                 | 2 +-
 meta/recipes-devtools/python/python3-mako_1.3.12.bb             | 2 ++
 meta/recipes-devtools/python/python3-pycparser_3.0.bb           | 2 ++
 meta/recipes-devtools/python/python3-pyrsistent_0.20.0.bb       | 2 ++
 .../python/python3-sphinxcontrib-svg2pdfconverter_2.1.0.bb      | 2 ++
 meta/recipes-devtools/qemu/python3-qemu-qmp_0.0.6.bb            | 2 +-
 8 files changed, 13 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-bcrypt_5.0.0.bb b/meta/recipes-devtools/python/python3-bcrypt_5.0.0.bb
index 6397ecd8182..51b7edef8cf 100644
--- a/meta/recipes-devtools/python/python3-bcrypt_5.0.0.bb
+++ b/meta/recipes-devtools/python/python3-bcrypt_5.0.0.bb
@@ -3,7 +3,7 @@  LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c"
 HOMEPAGE = "https://pypi.org/project/bcrypt/"
 
-DEPENDS += "python3-cffi-native"
+DEPENDS += "python3-cffi-native python3-wheel-native"
 LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '-fuse-ld=bfd', '', d)}"
 
 SRC_URI[sha256sum] = "f748f7c2d6fd375cc93d3fba7ef4a9e3a092421b8dbf34d8d4dc06be9492dfdd"
diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.155.7.bb b/meta/recipes-devtools/python/python3-hypothesis_6.155.7.bb
index 70ae7877a1f..09dbbf741a7 100644
--- a/meta/recipes-devtools/python/python3-hypothesis_6.155.7.bb
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.155.7.bb
@@ -15,6 +15,8 @@  SRC_URI += " \
 
 SRC_URI[sha256sum] = "d8d6091753d0669db3c90c5e5b346cb37c72f3dd9378c8413acb1fd5da63f7ea"
 
+DEPENDS += "python3-wheel-native"
+
 RDEPENDS:${PN} += " \
     python3-attrs \
     python3-compression \
diff --git a/meta/recipes-devtools/python/python3-license-expression_30.4.4.bb b/meta/recipes-devtools/python/python3-license-expression_30.4.4.bb
index 7300853b441..5751542cb33 100644
--- a/meta/recipes-devtools/python/python3-license-expression_30.4.4.bb
+++ b/meta/recipes-devtools/python/python3-license-expression_30.4.4.bb
@@ -9,7 +9,7 @@  SRC_URI[sha256sum] = "73448f0aacd8d0808895bdc4b2c8e01a8d67646e4188f887375398c761
 inherit pypi ptest-python-pytest python_setuptools_build_meta
 PYPI_PACKAGE = "license_expression"
 
-DEPENDS += "python3-setuptools-scm-native"
+DEPENDS += "python3-setuptools-scm-native python3-wheel-native"
 
 RDEPENDS:${PN} += "\
     python3-booleanpy \
diff --git a/meta/recipes-devtools/python/python3-mako_1.3.12.bb b/meta/recipes-devtools/python/python3-mako_1.3.12.bb
index b2c1a8dad8d..f70398f2c21 100644
--- a/meta/recipes-devtools/python/python3-mako_1.3.12.bb
+++ b/meta/recipes-devtools/python/python3-mako_1.3.12.bb
@@ -10,6 +10,8 @@  inherit pypi python_setuptools_build_meta ptest-python-pytest
 
 SRC_URI[sha256sum] = "9f778e93289bd410bb35daadeb4fc66d95a746f0b75777b942088b7fd7af550a"
 
+DEPENDS += "python3-wheel-native"
+
 RDEPENDS:${PN} = "python3-html \
                   python3-markupsafe \
                   python3-misc \
diff --git a/meta/recipes-devtools/python/python3-pycparser_3.0.bb b/meta/recipes-devtools/python/python3-pycparser_3.0.bb
index c17be9b2d4d..ea7b7cc14b5 100644
--- a/meta/recipes-devtools/python/python3-pycparser_3.0.bb
+++ b/meta/recipes-devtools/python/python3-pycparser_3.0.bb
@@ -9,6 +9,8 @@  inherit pypi python_setuptools_build_meta
 
 BBCLASSEXTEND = "native nativesdk"
 
+DEPENDS += "python3-wheel-native"
+
 RDEPENDS:${PN}:class-target += "\
     python3-netclient \
 "
diff --git a/meta/recipes-devtools/python/python3-pyrsistent_0.20.0.bb b/meta/recipes-devtools/python/python3-pyrsistent_0.20.0.bb
index 7de70942a97..474b5cdece4 100644
--- a/meta/recipes-devtools/python/python3-pyrsistent_0.20.0.bb
+++ b/meta/recipes-devtools/python/python3-pyrsistent_0.20.0.bb
@@ -7,6 +7,8 @@  SRC_URI[sha256sum] = "4c48f78f62ab596c679086084d0dd13254ae4f3d6c72a83ffdf5ebdef8
 
 inherit pypi python_setuptools_build_meta
 
+DEPENDS += "python3-wheel-native"
+
 RDEPENDS:${PN} += " \
     python3-numbers \
 "
diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-svg2pdfconverter_2.1.0.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-svg2pdfconverter_2.1.0.bb
index ec5d4c8c9ad..6b5350f46cb 100644
--- a/meta/recipes-devtools/python/python3-sphinxcontrib-svg2pdfconverter_2.1.0.bb
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-svg2pdfconverter_2.1.0.bb
@@ -7,6 +7,8 @@  SRC_URI[sha256sum] = "9756e82d5f3bf11629ffcbafb1f8a1092d3bb4789e33494032cdce9a9c
 
 inherit pypi python_setuptools_build_meta
 
+DEPENDS += "python3-wheel-native"
+
 PYPI_PACKAGE = "sphinxcontrib_svg2pdfconverter"
 
 RDEPENDS:${PN} = "python3-sphinx"
diff --git a/meta/recipes-devtools/qemu/python3-qemu-qmp_0.0.6.bb b/meta/recipes-devtools/qemu/python3-qemu-qmp_0.0.6.bb
index 4092b3e8b7c..3b51a453b99 100644
--- a/meta/recipes-devtools/qemu/python3-qemu-qmp_0.0.6.bb
+++ b/meta/recipes-devtools/qemu/python3-qemu-qmp_0.0.6.bb
@@ -12,7 +12,7 @@  PYPI_PACKAGE = "qemu_qmp"
 
 SRC_URI[sha256sum] = "a3c25d871fab549122b2340810de1f99481002c942a2132476b062aacdbf6e92"
 
-DEPENDS += "python3-setuptools-scm-native"
+DEPENDS += "python3-setuptools-scm-native python3-wheel-native"
 
 RDEPENDS:${PN} += "python3-core python3-asyncio"