mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-26 18:20:29 +00:00
python3-gevent: fix build with Cython 3.0.10
Cython 3.0.10 generates code which causes compiler errors: src/gevent/queue.c:11894:114: error: passing argument 4 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types] >From discussion upstream, removing the final decorator works around this. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
gevent fails to build with Cython 3.0.10. As per
|
||||
https://github.com/gevent/gevent/issues/2031, removing the
|
||||
cython.final decorator works around this.
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
||||
|
||||
--- 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
|
||||
Reference in New Issue
Block a user