public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-greenlet] rawhide: Update to 3.5.3. Fixes rhbz#2493685
@ 2026-07-02 10:58 Federico Pellegrin
  0 siblings, 0 replies; only message in thread
From: Federico Pellegrin @ 2026-07-02 10:58 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-greenlet
Branch : rawhide
Commit : f50b558e731bb734a237ba17142d088481595fe7
Author : Federico Pellegrin <fede@evolware.org>
Date   : 2026-06-27T03:55:15+02:00
Stats  : +6/-48 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/python-greenlet/c/f50b558e731bb734a237ba17142d088481595fe7?branch=rawhide

Log:
Update to 3.5.3. Fixes rhbz#2493685

---
diff --git a/.gitignore b/.gitignore
index bb87cc5..0bd067b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@ greenlet-0.3.1.tar.gz
 /greenlet-3.2.4.tar.gz
 /greenlet-3.3.0.tar.gz
 /greenlet-3.5.2.tar.gz
+/greenlet-3.5.3.tar.gz

diff --git a/482.patch b/482.patch
deleted file mode 100644
index f2fdf81..0000000
--- a/482.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 18ec3ac07564bde2c0978f654d21e22980077f9d Mon Sep 17 00:00:00 2001
-From: Thomas A Caswell <tcaswell@gmail.com>
-Date: Mon, 8 Dec 2025 21:39:56 -0500
-Subject: [PATCH] FIX: add macros to guard against removed enum
-
-close #481
----
- src/greenlet/TGreenlet.cpp               | 6 ++++++
- src/greenlet/greenlet_cpython_compat.hpp | 6 ++++++
- 2 files changed, 12 insertions(+)
-
-diff --git a/src/greenlet/TGreenlet.cpp b/src/greenlet/TGreenlet.cpp
-index d12722ba..1fb056e8 100644
---- a/src/greenlet/TGreenlet.cpp
-+++ b/src/greenlet/TGreenlet.cpp
-@@ -633,7 +633,13 @@ void GREENLET_NOINLINE(Greenlet::expose_frames)()
-             // directly.  This is important since GetFrameObject might
-             // lazily _create_ the frame object and we don't want the
-             // interpreter to lose track of it.
-+            //
-+            #if !GREENLET_PY315
-+            // This enum value was removed in
-+            //    https://github.com/python/cpython/pull/141108
-+
-             assert(iframe_copy.owner != FRAME_OWNED_BY_CSTACK);
-+            #endif
- 
-             // We really want to just write:
-             //     PyFrameObject* frame = _PyFrame_GetFrameObject(iframe);
-diff --git a/src/greenlet/greenlet_cpython_compat.hpp b/src/greenlet/greenlet_cpython_compat.hpp
-index a3b3850e..f46d9777 100644
---- a/src/greenlet/greenlet_cpython_compat.hpp
-+++ b/src/greenlet/greenlet_cpython_compat.hpp
-@@ -67,6 +67,12 @@ Greenlet won't compile on anything older than Python 3.11 alpha 4 (see
- #    define GREENLET_PY314 0
- #endif
- 
-+#if PY_VERSION_HEX >= 0x30F0000
-+#    define GREENLET_PY315 1
-+#else
-+#    define GREENLET_PY315 0
-+#endif
-+
- #ifndef Py_SET_REFCNT
- /* Py_REFCNT and Py_SIZE macros are converted to functions
- https://bugs.python.org/issue39573 */

diff --git a/python-greenlet.spec b/python-greenlet.spec
index 98aab4e..0e42184 100644
--- a/python-greenlet.spec
+++ b/python-greenlet.spec
@@ -1,7 +1,7 @@
 %global         modname greenlet
 
 Name:           python-%{modname}
-Version:        3.5.2
+Version:        3.5.3
 Release:        1%{?dist}
 Summary:        Lightweight in-process concurrent programming
 License:        MIT AND PSF-2.0
@@ -67,6 +67,9 @@ PYTHONPATH="%{buildroot}%{python3_sitearch}" \
 %{_includedir}/python%{python3_version}*/%{modname}/
 
 %changelog
+* Sat Jun 27 2026 Federico Pellegrin <fede@evolware.org> - 3.5.3-1
+- Update to 3.5.3. Fixes rhbz#2493685
+
 * Sun Jun 21 2026 Federico Pellegrin <fede@evolware.org> - 3.5.2-1
 - Update to 3.5.2. Fixes rhbz#2432443
 

diff --git a/sources b/sources
index 8c39d1a..7ce3dfd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (greenlet-3.5.2.tar.gz) = bbbda43208a7cc6d1e5db19242f90a418b92be660554a33ffe0f75889b3d1108cdb7b54536059e1ef53d4eceb7527e008523725be90349dc3751e0aedd76a112
+SHA512 (greenlet-3.5.3.tar.gz) = a6c2d188c0edc71e3820baa43f130b87d902c9b4dcc4e1f8bc627c0198266d088d6e9a635ff5c1ad939ee5ac019704c5abd7ecdd73f6e54bf08ccb86518b7fed

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-02 10:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 10:58 [rpms/python-greenlet] rawhide: Update to 3.5.3. Fixes rhbz#2493685 Federico Pellegrin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox