gstlal_inspiral.inspiral incompatible with scipy 1.9.0
gstlal-inspiral is incompatible with the latest release of scipy (1.9.0):
Traceback (most recent call last):
File "/builds/computing/conda/envs/igwn-py38-testing/bin/gstlal_inspiral", line 178, in <module>
from gstlal import inspiral
File "/builds/computing/conda/envs/igwn-py38-testing/lib/python3.8/site-packages/gstlal/inspiral.py", line 56, in <module>
from scipy import random
ImportError: cannot import name 'random' from 'scipy' (/builds/computing/conda/envs/igwn-py38-testing/lib/python3.8/site-packages/scipy/__init__.py)
The scipy.random
has (AFAICT) always been just a reference to numpy.random
:
$ python -c "from scipy import random; print(random)"
<module 'numpy.random' from '/home/duncan/opt/mambaforge/envs/py310/lib/python3.10/site-packages/numpy/random/__init__.py'>
so it should be an easy fix.