diff options
| author | alperak <alperyasinak1@gmail.com> | 2026-02-07 11:33:55 +0100 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@oss.qualcomm.com> | 2026-02-12 13:38:12 +0530 |
| commit | 1aa7b56d5395ed593ec225f229eda171a0b031c7 (patch) | |
| tree | aa9900d9a59c2073614da621ca43abb540ec5457 /meta-python/recipes-devtools | |
| parent | a3aef9bbcc4e2324bd177c2a0c499c7fd976ed47 (diff) | |
| download | meta-openembedded-1aa7b56d5395ed593ec225f229eda171a0b031c7.tar.gz | |
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 <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(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 <skandigraun@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-eventlet_0.36.1.bb | 4 |
1 files changed, 3 insertions, 1 deletions
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 | |||
| 8 | 8 | ||
| 9 | SRC_URI += "file://CVE-2025-58068.patch" | 9 | SRC_URI += "file://CVE-2025-58068.patch" |
| 10 | 10 | ||
| 11 | inherit pypi setuptools3 | 11 | inherit pypi python_hatchling |
| 12 | |||
| 13 | DEPENDS += "python3-hatch-vcs-native" | ||
| 12 | 14 | ||
| 13 | RDEPENDS:${PN} += " \ | 15 | RDEPENDS:${PN} += " \ |
| 14 | python3-dnspython \ | 16 | python3-dnspython \ |
