Rather than inheriting the aging `setuptools3` bbclass, inherit `python_setuptools_build_meta` which is one of the PEP 517 build backends (for proper wheels using pyproject.toml).
Since python_setuptools_build_meta does not have a do_configure, call the parent python_pep517_do_configure(). Signed-off-by: Tim Orling <[email protected]> --- * All python3-cryptography ptests pass on core-image-base qemux86_64 * All python3-bcrypt ptests pass on core-image-base qemux86_64 * Basic python3-pyruvate Hello World example works (needs python3-logging) on core-image-base qemux86_64 meta/classes-recipe/python_setuptools3_rust.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes-recipe/python_setuptools3_rust.bbclass b/meta/classes-recipe/python_setuptools3_rust.bbclass index d6ce2edb963..d3d7590cbeb 100644 --- a/meta/classes-recipe/python_setuptools3_rust.bbclass +++ b/meta/classes-recipe/python_setuptools3_rust.bbclass @@ -4,14 +4,14 @@ # SPDX-License-Identifier: MIT # -inherit python_pyo3 setuptools3 +inherit python_pyo3 python_setuptools_build_meta DEPENDS += "python3-setuptools-rust-native" python_setuptools3_rust_do_configure() { python_pyo3_do_configure cargo_common_do_configure - setuptools3_do_configure + python_pep517_do_configure } EXPORT_FUNCTIONS do_configure -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#184762): https://lists.openembedded.org/g/openembedded-core/message/184762 Mute This Topic: https://lists.openembedded.org/mt/100314078/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
