diff options
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch | 27 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-eventlet_0.37.0.bb | 1 |
2 files changed, 28 insertions, 0 deletions
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 @@ | |||
1 | From d19ad6cc086684ee74db250f5fd35227c98e678a Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz> | ||
3 | Date: Thu, 6 Jun 2024 10:29:29 +0200 | ||
4 | Subject: [PATCH] Add new thread attributes from Python 3.13 | ||
5 | |||
6 | Does not fix https://github.com/eventlet/eventlet/issues/964 yet | ||
7 | Upstream-Status: Backport [https://github.com/eventlet/eventlet/pull/965] | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | eventlet/green/thread.py | 7 +++++++ | ||
11 | 1 file changed, 7 insertions(+) | ||
12 | |||
13 | diff --git a/eventlet/green/thread.py b/eventlet/green/thread.py | ||
14 | index 053a1c3c6..384b3c290 100644 | ||
15 | --- a/eventlet/green/thread.py | ||
16 | +++ b/eventlet/green/thread.py | ||
17 | @@ -118,3 +118,10 @@ def stack_size(size=None): | ||
18 | |||
19 | if hasattr(__thread, 'daemon_threads_allowed'): | ||
20 | daemon_threads_allowed = __thread.daemon_threads_allowed | ||
21 | + | ||
22 | +if hasattr(__thread, 'start_joinable_thread'): | ||
23 | + start_joinable_thread = __thread.start_joinable_thread | ||
24 | + _shutdown = __thread._shutdown | ||
25 | + _make_thread_handle = __thread._make_thread_handle | ||
26 | + _ThreadHandle = __thread._ThreadHandle | ||
27 | + _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" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=56472ad6de4caf50e05332a34b66e778" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=56472ad6de4caf50e05332a34b66e778" |
6 | 6 | ||
7 | SRC_URI += "file://d19ad6cc086684ee74db250f5fd35227c98e678a.patch" | ||
7 | SRC_URI[sha256sum] = "fa49bf5a549cdbaa06919679979ea022ac8f8f3cf0499f26849a1cd8e64c30b1" | 8 | SRC_URI[sha256sum] = "fa49bf5a549cdbaa06919679979ea022ac8f8f3cf0499f26849a1cd8e64c30b1" |
8 | 9 | ||
9 | inherit pypi python_hatchling | 10 | inherit pypi python_hatchling |