TileDB-Inc / TileDB-Py

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

Update numpy versions everywhere to fix "Some build dependencies conflict with the backend dependencies" #1981

Closed kounelisagis closed 1 month ago

kounelisagis commented 1 month ago

The problem we were getting with Azure pipeline when trying to create wheels: https://dev.azure.com/TileDB-Inc/CI/_build/results?buildId=39688&view=results

All artifacts are built after this change: https://dev.azure.com/TileDB-Inc/CI/_build/results?buildId=39692&view=results


[sc-47812] [sc-46950]

ihnorton commented 1 month ago

For Python >= 3.9 we can use numpy >= 1.25 unconditionally: https://numpy.org/doc/stable/dev/depending_on_numpy.html#build-time-dependency

For Python 3.8, we have to pin an older version because Numpy 1.25 doesn't support Python 3.8

kounelisagis commented 1 month ago

After discussing with @ihnorton, we will wait for https://github.com/TileDB-Inc/TileDB-Py/pull/1971 and not merge breaking the backwards compatibility.