Deltares / xugrid

Xarray and unstructured grids
https://deltares.github.io/xugrid/
MIT License
64 stars 8 forks source link

Numpy 2.0 support #259

Closed Huite closed 3 months ago

Huite commented 3 months ago

The changes seem limited. Numba celltree seems to be up and running.

Still running into a some issues.

Huite commented 3 months ago

Alright, the current test failures all come from the test_burn.py tests, and the problem is that the mapbox_earcut wheel has to be rebuilt for numpy 2.0. See: https://github.com/skogler/mapbox_earcut_python/pull/15

Unfortunately, the PR has been open for a while...

Huite commented 3 months ago

I've added numpy < 2 (ironically) so it'll pass the tests and I can work on py39 compat.