TileDB-Inc / TileDB-Py

Python interface to the TileDB storage engine
MIT License
181 stars 32 forks source link

Add support for numpy2 #1969

Closed kounelisagis closed 1 month ago

kounelisagis commented 1 month ago

Following the official migration guide: https://numpy.org/devdocs/numpy_2_0_migration_guide.html

Also:

This caused examples to fail: https://github.com/TileDB-Inc/TileDB-Py/blob/dev/tiledb/fragment.py#L79.

Questions to discuss:

  1. Should np.set_printoptions exist for specific cases? Right now it's for the whole package.
  2. Daily tests include numpy2. Locally the package is build as normal and all the tests successfully. Should numpy2 exist in CI?

[sc-46950]