seung-lab / euclidean-distance-transform-3d

Euclidean distance & signed distance transform for multi-label 3D anisotropic images using marching parabolas.
GNU General Public License v3.0
239 stars 37 forks source link

Support for Numpy 2.0 #54

Closed lorinczszabolcs closed 3 months ago

lorinczszabolcs commented 4 months ago

Hi!

Numpy 2.0 is out, and recently I received the following error:

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Is numpy 2.0 support planned? Thanks in advance!

william-silversmith commented 3 months ago

This should be released. Thanks!