higra / Higra

Hierarchical Graph Analysis
Other
99 stars 19 forks source link

Update array vendored libraries to make Higra compatible with `numpy==2.0.0` #278

Closed JoOkuma closed 3 months ago

JoOkuma commented 3 months ago

Replaces #277.

I'll see what fails in the CI to check where I need to add setuptools and numpy==2.0.0.

This PR already contains the patches to CMake and the xtensor library.

cc: @PerretB

JoOkuma commented 3 months ago

@PerretB it passed the tests without adding the setuptools pip, and I bumped 3.10 to 3.12 to use numpy==2.0.0 for the build because the compiled package should be backward compatible.

JoOkuma commented 3 months ago

The individual commits provide a better understanding of what was changed due to the update of the libraries (commit 9100e5f)

PerretB commented 3 months ago

Thank you very much @JoOkuma