dhermes / bezier

Helper for Bézier Curves, Triangles, and Higher Order Objects
Apache License 2.0
266 stars 36 forks source link

Update most dependencies to latest (2024-06) #318

Closed dhermes closed 5 months ago

dhermes commented 5 months ago

Still sorting out some issues with NumPy 2.0 (I'll do this in another PR to keep the diffs separate / cleaner)

dhermes commented 5 months ago

For an example of the errors relating to NumPy 2.0:

      src/python/bezier/_speedup.c:40168:75: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘elsize’
      40168 |   __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_6bezier_8_speedup_SEGMENT_DTYPE->elsize); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1163, __pyx_L1_error)
            |     
dhermes commented 5 months ago

I hope I can ditch the cobbled together tooling and use cibuildwheel when installing from a wheel in doctests.