diff mbox series

[meta-python,08/36] python3-gevent: Upgrade 26.8.0 -> 26.9.0

Message ID 20261021110103.1943456-8-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,01/36] python3-cachetools: Upgrade 7.2.3 -> 7.2.4 | expand

Commit Message

Leon Anavi Oct. 21, 2026, 11 a.m. UTC
Upgrade to release 26.9.0:

- Fix gevent.event.AsyncResult re-raising an exception with a
  traceback that kept growing by the frames of every previous get()
  call, instead of starting fresh from the traceback captured when
  set_exception() was called.
- Make gevent's file objects properly report the full mode string.
  Previously a ‘b’ or ‘t’ suffix could be missing.
- ThreadPool workers no longer call the profile and trace setters
  when no hooks are configured. This matches threading.Thread and
  avoids unnecessary PEP 578 audit events and thread coordination.
- An exception while preparing a ThreadPool worker to run a task,
  such as an audit hook rejecting sys.setprofile(), no longer
  leaves the caller blocked or leaks a pool slot. The exception is
  raised in the greenlet waiting on apply() or spawn(), and the
  failed worker is replaced if other tasks are waiting.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../0001-_setuputils.py-Do-not-add-sys_inc_dir.patch          | 4 ++--
 .../{python3-gevent_26.8.0.bb => python3-gevent_26.9.0.bb}    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-gevent_26.8.0.bb => python3-gevent_26.9.0.bb} (94%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-gevent/0001-_setuputils.py-Do-not-add-sys_inc_dir.patch b/meta-python/recipes-devtools/python/python3-gevent/0001-_setuputils.py-Do-not-add-sys_inc_dir.patch
index 68ef5d6d9a..02dd01a33f 100644
--- a/meta-python/recipes-devtools/python/python3-gevent/0001-_setuputils.py-Do-not-add-sys_inc_dir.patch
+++ b/meta-python/recipes-devtools/python/python3-gevent/0001-_setuputils.py-Do-not-add-sys_inc_dir.patch
@@ -1,4 +1,4 @@ 
-From 21b8f74c3d0006c80549452743d50e6f012aa7ef Mon Sep 17 00:00:00 2001
+From f3d1cf5b05decc4554676dcba5eb831cd404729b Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Tue, 11 Oct 2022 17:37:01 -0700
 Subject: [PATCH] _setuputils.py: Do not add sys_inc_dir
@@ -15,7 +15,7 @@  Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 1 insertion(+), 2 deletions(-)
 
 diff --git a/_setuputils.py b/_setuputils.py
-index 4c25e00..23fdfe1 100644
+index 652ebc8..53980e5 100644
 --- a/_setuputils.py
 +++ b/_setuputils.py
 @@ -164,7 +164,6 @@ def get_include_dirs(*extra_paths):
diff --git a/meta-python/recipes-devtools/python/python3-gevent_26.8.0.bb b/meta-python/recipes-devtools/python/python3-gevent_26.9.0.bb
similarity index 94%
rename from meta-python/recipes-devtools/python/python3-gevent_26.8.0.bb
rename to meta-python/recipes-devtools/python/python3-gevent_26.9.0.bb
index 3207dc351b..c7b1a7bf3d 100644
--- a/meta-python/recipes-devtools/python/python3-gevent_26.8.0.bb
+++ b/meta-python/recipes-devtools/python/python3-gevent_26.9.0.bb
@@ -15,7 +15,7 @@  RDEPENDS:${PN} = "python3-greenlet \
 
 SRC_URI += "file://0001-_setuputils.py-Do-not-add-sys_inc_dir.patch"
 
-SRC_URI[sha256sum] = "96039f41bbde6dcd72559e5ffbd408a04f46774b47d991d4cf032da8fa79e5a0"
+SRC_URI[sha256sum] = "4dd4703d71737a456c1c9df5cd43a82934e5b10c87549caa02495f487d1ef0b1"
 
 CVE_PRODUCT = "gevent"