Small-Bodies-Node / pds4_tools

Python package to read and display NASA PDS4 data.
16 stars 12 forks source link

PDS_marray.view() failing on numpy >= 2.0.0 #94

Open m-stclair opened 1 week ago

m-stclair commented 1 week ago

Numpy 2.0.0 removes np.issubclass_(). pds4_tools.reader.data.PDS_marray.view() calls this function, so fails with an AttributeError. All numpy objects are now supposed to behave properly with the issubclass() builtin, so that should be a drop-in replacement.

LevN0 commented 1 week ago

Thank you for reporting. Will take a look at this, and what else NumPy 2.0 breaks.