Closed Gazzzzyy closed 6 months ago
Until we can make a new release you'll have to either downgrade scipy or install the development version of arviz from github (where this has been fixed already). Instructions for the 2nd option: https://python.arviz.org/en/stable/getting_started/Installation.html#development
Thanks for the response. I've already downgraded SciPy for the time being. Will lookout for when a new release available
Describe the bug Builds are failing when using
SciPy >=1.13.0
. Looks like the endpoint forgaussian
has been removed from scipy.signal, which breaksarviz/stats/density_utils.py
To Reproduce Update local dependencies to use SciPy == 1.13.0.
Expected behavior The code to run.
Additional context File "
from scipy.signal import convolve, convolve2d, gaussian # pylint: disable=no-name-in-module
ImportError: cannot import name 'gaussian' from 'scipy.signal' (
C:\---\.venv\lib\site-packages\arviz\stats\density_utils.py
", line 8, inC:\---\.venv\lib\site-packages\scipy\signal\__init__.py
)