fjarri / reikna

Pure Python GPGPU library
http://reikna.publicfields.net/
MIT License
164 stars 16 forks source link

np.bool deprecated, /cluda/dtypes.py breaks #65

Closed Aguilar-Cabello closed 1 year ago

Aguilar-Cabello commented 1 year ago

Seems that at least for numpy 1.24.1, np.bool has been deprecated (maybe it is also the case for some previous versions). The code breaks when I try to import cluda using this version of numpy. The error is:

File "/home/userName/VirtualEnv/venv/lib/python3.10/site-packages/numpy/init.py", line 284, in getattr raise AttributeError("module {!r} has no attribute " AttributeError: module 'numpy' has no attribute 'bool'. Did you mean: 'bool_'?

fjarri commented 1 year ago

Wasn't it fixed in #64?

Aguilar-Cabello commented 1 year ago

You are right, I installed most updated versions from pypi and after the error I only checked open issues.