From: alperak <[email protected]>

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 <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
(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 "<stdin>", line 1, in <module>
  File "/usr/lib/python3.12/site-packages/eventlet/__init__.py", line 6, in 
<module>
    from eventlet import convenience
  File "/usr/lib/python3.12/site-packages/eventlet/convenience.py", line 4, in 
<module>
    from eventlet import greenpool
  File "/usr/lib/python3.12/site-packages/eventlet/greenpool.py", line 4, in 
<module>
    from eventlet import queue
  File "/usr/lib/python3.12/site-packages/eventlet/queue.py", line 48, in 
<module>
    from eventlet.event import Event
  File "/usr/lib/python3.12/site-packages/eventlet/event.py", line 1, in 
<module>
    from eventlet import hubs

See also https://github.com/eventlet/eventlet/issues/1071

Signed-off-by: Gyorgy Sarvari <[email protected]>
---
 .../recipes-devtools/python/python3-eventlet_0.36.1.bb        | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 \
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#124254): 
https://lists.openembedded.org/g/openembedded-devel/message/124254
Mute This Topic: https://lists.openembedded.org/mt/117686821/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to