From 1aa7b56d5395ed593ec225f229eda171a0b031c7 Mon Sep 17 00:00:00 2001 From: alperak Date: Sat, 7 Feb 2026 11:33:55 +0100 Subject: python3-eventlet: switch to PEP-517 build backend The project has a proper pyproject.toml which declares the hatchling.build PEP-517 backend. Fix: WARNING: python3-eventlet-0.36.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with hatchling.build, use the correct class [pep517-backend] Signed-off-by: alperak Signed-off-by: Khem Raj (cherry picked from commit 19affc7a212d4edca4faa4119fa8e5f9e0b7daf4) This is cherry-picked into Scarthgap, because the Setuptools backend seems to be broken - it doesn't install the submodules, making import fail: root@qemux86-64:~# python3 Python 3.12.12 (main, Oct 9 2025, 11:07:00) [GCC 13.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import eventlet Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.12/site-packages/eventlet/__init__.py", line 6, in from eventlet import convenience File "/usr/lib/python3.12/site-packages/eventlet/convenience.py", line 4, in from eventlet import greenpool File "/usr/lib/python3.12/site-packages/eventlet/greenpool.py", line 4, in from eventlet import queue File "/usr/lib/python3.12/site-packages/eventlet/queue.py", line 48, in from eventlet.event import Event File "/usr/lib/python3.12/site-packages/eventlet/event.py", line 1, in from eventlet import hubs See also https://github.com/eventlet/eventlet/issues/1071 Signed-off-by: Gyorgy Sarvari Signed-off-by: Anuj Mittal --- meta-python/recipes-devtools/python/python3-eventlet_0.36.1.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-eventlet_0.36.1.bb b/meta-python/recipes-devtools/python/python3-eventlet_0.36.1.bb index 72032c756c..170e4b3fd7 100644 --- a/meta-python/recipes-devtools/python/python3-eventlet_0.36.1.bb +++ b/meta-python/recipes-devtools/python/python3-eventlet_0.36.1.bb @@ -8,7 +8,9 @@ SRC_URI[sha256sum] = "d227fe76a63d9e6a6cef53beb8ad0b2dc40a5e7737c801f4b474cfae1d SRC_URI += "file://CVE-2025-58068.patch" -inherit pypi setuptools3 +inherit pypi python_hatchling + +DEPENDS += "python3-hatch-vcs-native" RDEPENDS:${PN} += " \ python3-dnspython \ -- cgit v1.2.3-54-g00ecf