fjarri/reikna

AttributeError: `np.issctype` was removed in the NumPy 2.0 release.

Closed this issue · 2 comments

There is a new major release of Numpy that deprecates various things: https://numpy.org/devdocs/release/2.0.0-notes.html. It seems that reikna is also affected by some of that.

I get at least the following error

AttributeError: `np.issctype` was removed in the NumPy 2.0 release. Use `issubclass(rep, np.generic)` instead.

on this line:

elif numpy.issctype(val):

Sorry, this project was sort of abandoned as I was busy with other stuff. I know of numpy 2.0 release, and was kind of expecting it'd break something. I'll try to find time during the weekend to fix it.

Thanks for the quick fix.