Fix build with Cython 3.0.10
https://github.com/gevent/gevent/issues/2031
This commit is contained in:
parent
b23d186d0f
commit
8e0113b937
2 changed files with 15 additions and 0 deletions
12
cython3010.patch
Normal file
12
cython3010.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
https://github.com/gevent/gevent/issues/2031
|
||||
|
||||
--- a/src/gevent/_gevent_cqueue.pxd
|
||||
+++ b/src/gevent/_gevent_cqueue.pxd
|
||||
@@ -75,7 +75,6 @@ cdef class ItemWaiter(Waiter):
|
||||
cdef readonly Queue queue
|
||||
|
||||
|
||||
-@cython.final
|
||||
cdef class UnboundQueue(Queue):
|
||||
pass
|
||||
|
||||
|
|
@ -10,6 +10,9 @@ Summary: A coroutine-based Python networking library
|
|||
License: MIT
|
||||
URL: http://www.gevent.org/
|
||||
Source0: %{pypi_source %{modname} %{version} tar.gz}
|
||||
# avoid incompatible types error with Cython 3.0.10
|
||||
# https://github.com/gevent/gevent/issues/2031
|
||||
Patch0: cython3010.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: c-ares-devel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue