summaryrefslogtreecommitdiffstats
path: root/libraries/wxPython4/cython.patch
blob: 3e1a2a0377d40e8a9c869bcb2e17f11f0c3d1eb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Fix compatibility with Cython 3.0.0
Remove unused import which seems to be removed in Cython 3.
https://github.com/wxWidgets/Phoenix/issues/2439
https://github.com/wxWidgets/Phoenix/pull/2441
https://github.com/wxWidgets/Phoenix/issues/2514
https://github.com/wxWidgets/Phoenix/commit/aeb557d01e7cd37176ebbf0f1ae6d0b53c115378
--- wx/svg/_nanosvg.pyx.orig
+++ wx/svg/_nanosvg.pyx
@@ -42,7 +42,6 @@ for manipulating the SVG shape info in memory.
 
 import sys
 
-cimport cython.object
 from cpython.buffer cimport (
     Py_buffer, PyObject_CheckBuffer, PyObject_GetBuffer, PyBUF_SIMPLE,
     PyBuffer_Release)