...
src/python/bezier/_speedup.c:20608:39: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘subarray’
20608 | __Pyx_INCREF(((PyObject*)__pyx_v_d->subarray->shape));
| ^~
...
src/python/bezier/_speedup.c:20609:36: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘subarray’
20609 | __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
| ^~
Note that https://github.com/cython/cython/blob/3.0.10/Cython/Includes/numpy/__init__.pxd still exists in latest Cython (
3.0.10
) but it's gone from the mainline branch: https://github.com/cython/cython/commits/master/Cython/Includes/numpy/__init__.pxdBut with NumPy 2.0, there is a problem with:
In particular: