summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-gevent/not-final.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-gevent/not-final.patch')
-rw-r--r--meta-openembedded/meta-python/recipes-devtools/python/python3-gevent/not-final.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-gevent/not-final.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-gevent/not-final.patch
new file mode 100644
index 0000000000..444a195da4
--- /dev/null
+++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-gevent/not-final.patch
@@ -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