RIFT 0.0.15.8 incompatible with numpy 1.24
conda-forge tests of RIFT 0.0.15.8 are failing with the following error:
Traceback (most recent call last):
File "/home/conda/feedstock_root/build_artifacts/rift_1684582157245/_test_env/bin/integrate_likelihood_extrinsic", line 43, in <module>
import RIFT.integrators.mcsampler as mcsampler
File "/home/conda/feedstock_root/build_artifacts/rift_1684582157245/_test_env/lib/python3.10/site-packages/RIFT/integrators/mcsampler.py", line 781, in <module>
uniform_samp_vector = numpy.vectorize(uniform_samp,otypes=[numpy.float])
File "/home/conda/feedstock_root/build_artifacts/rift_1684582157245/_test_env/lib/python3.10/site-packages/numpy/__init__.py", line 305, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'cfloat'?
Using aliases like numpy.float
has been deprecated since numpy 1.20, please see https://numpy.org/devdocs/release/1.20.0-notes.html#using-the-aliases-of-builtin-types-like-np-int-is-deprecated.