qdrant-client icon indicating copy to clipboard operation
qdrant-client copied to clipboard

use of np.NINF is removed in numpy 2

Open icfly2 opened this issue 1 year ago • 1 comments

Using latest qdrant-client==1.11.2 with latest numpy==2.1.1 and a sparse collection results in:

AttributeError: `np.NINF` was removed in the NumPy 2.0 release. Use `-np.inf` instead.

The obvious two solutions would be to pin numpy to less than 2, though that might only be needed for sparse work, or fix the numpy references.

I'm new to this code base so have no idea what is more inline with the overall goals.

icfly2 avatar Sep 19 '24 18:09 icfly2

I've started work on this here: #782

icfly2 avatar Sep 21 '24 04:09 icfly2

should be available as of the next version (it will be either 1.11.3 or 1.12.0)

joein avatar Sep 24 '24 19:09 joein