Signed-off-by: Khem Raj <[email protected]>
---
 ...d6cc086684ee74db250f5fd35227c98e678a.patch | 27 +++++++++++++++++++
 .../python/python3-eventlet_0.37.0.bb         |  1 +
 2 files changed, 28 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch

diff --git 
a/meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch
 
b/meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch
new file mode 100644
index 0000000000..f8a268309a
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch
@@ -0,0 +1,27 @@
+From d19ad6cc086684ee74db250f5fd35227c98e678a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <[email protected]>
+Date: Thu, 6 Jun 2024 10:29:29 +0200
+Subject: [PATCH] Add new thread attributes from Python 3.13
+
+Does not fix https://github.com/eventlet/eventlet/issues/964 yet
+Upstream-Status: Backport [https://github.com/eventlet/eventlet/pull/965]
+Signed-off-by: Khem Raj <[email protected]>
+---
+ eventlet/green/thread.py | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/eventlet/green/thread.py b/eventlet/green/thread.py
+index 053a1c3c6..384b3c290 100644
+--- a/eventlet/green/thread.py
++++ b/eventlet/green/thread.py
+@@ -118,3 +118,10 @@ def stack_size(size=None):
+ 
+ if hasattr(__thread, 'daemon_threads_allowed'):
+     daemon_threads_allowed = __thread.daemon_threads_allowed
++
++if hasattr(__thread, 'start_joinable_thread'):
++    start_joinable_thread = __thread.start_joinable_thread
++    _shutdown = __thread._shutdown
++    _make_thread_handle = __thread._make_thread_handle
++    _ThreadHandle = __thread._ThreadHandle
++    _get_main_thread_ident = __thread._get_main_thread_ident
diff --git a/meta-python/recipes-devtools/python/python3-eventlet_0.37.0.bb 
b/meta-python/recipes-devtools/python/python3-eventlet_0.37.0.bb
index 84de0d8e44..df23162e05 100644
--- a/meta-python/recipes-devtools/python/python3-eventlet_0.37.0.bb
+++ b/meta-python/recipes-devtools/python/python3-eventlet_0.37.0.bb
@@ -4,6 +4,7 @@ SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=56472ad6de4caf50e05332a34b66e778"
 
+SRC_URI += "file://d19ad6cc086684ee74db250f5fd35227c98e678a.patch"
 SRC_URI[sha256sum] = 
"fa49bf5a549cdbaa06919679979ea022ac8f8f3cf0499f26849a1cd8e64c30b1"
 
 inherit pypi python_hatchling
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113319): 
https://lists.openembedded.org/g/openembedded-devel/message/113319
Mute This Topic: https://lists.openembedded.org/mt/109272079/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to