Accepting request 1177321 from home:glaubitz:branches:devel:languages:python

- Add gh-2031-cython-workaround.patch which fixes a regression
  with Cython 3.0.10 which caused an FTBFS with GCC 14

OBS-URL: https://build.opensuse.org/request/show/1177321
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gevent?expand=0&rev=111
This commit is contained in:
Matej Cepl 2024-05-28 13:52:01 +00:00 committed by Git OBS Bridge
parent fb3cdd58a0
commit 4019710d8f
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,11 @@
diff -Nru gevent-24.2.1.orig/src/gevent/_gevent_cqueue.pxd gevent-24.2.1/src/gevent/_gevent_cqueue.pxd
--- gevent-24.2.1.orig/src/gevent/_gevent_cqueue.pxd 2024-02-14 12:22:11.000000000 +0100
+++ gevent-24.2.1/src/gevent/_gevent_cqueue.pxd 2024-05-28 12:54:09.729241504 +0200
@@ -75,7 +75,6 @@
cdef readonly Queue queue
-@cython.final
cdef class UnboundQueue(Queue):
pass

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 28 10:56:43 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Add gh-2031-cython-workaround.patch which fixes a regression
with Cython 3.0.10 which caused an FTBFS with GCC 14
-------------------------------------------------------------------
Mon Apr 22 07:38:07 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -40,6 +40,10 @@ Patch2: gevent-opensuse-nocolor-tests.patch
# Fix some tests that fails with python 3.12.3 in the current version,
# related to gh#python/cpython#113964
Patch3: gh-113964-fix-tests-3.12.3.patch
# PATCH-FIX-OPENSUSE gh-2031-cython-workaround.patch
# Fix FTBFS with GCC 14 and Cython 3.0.10
# https://github.com/gevent/gevent/issues/2031
Patch4: gh-2031-cython-workaround.patch
BuildRequires: %{python_module Cython >= 3.0.2}
BuildRequires: %{python_module cffi}
BuildRequires: %{python_module devel >= 3.8}