Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
NikoOinonen opened this issue Jul 2, 2024 · 2 comments · Fixed by #69
Closed

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

NikoOinonen opened this issue Jul 2, 2024 · 2 comments · Fixed by #69

Comments

@NikoOinonen
Copy link

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):

@fjarri
Copy link
Owner

fjarri commented Jul 3, 2024

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.

@NikoOinonen
Copy link
Author

Thanks for the quick fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants