Deprecation warning with np.float, np.bool, np.complex
ad12 opened this issue · 5 comments
ad12 commented
Describe the bug
Starting around v1.20, numpy has deprecated generic data types (np.float, np.bool, np.complex) in favor of standard python types (float, bool, complex). This is causing a flurry of deprecation warnings in sigpy, where default types may be any of the generic numpy dtypes.
Recommendation
Set explicit dtypes with explicit precision (e.g. np.float64
instead of np.float
)
gschramm commented
I saw that this issue was fixed in a commit on Apr 6, but unfortunately the last tagged version that is used to build the conda-forge package is from Apr 3.
When do you plan to release a version that includes the fix?
I am asking, since I am wondering if I should change the conda-forge recipe (req. numpy <=1.19).