Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing with SciPy 1.13.0 #2336

Closed
Gazzzzyy opened this issue Apr 3, 2024 · 2 comments
Closed

Failing with SciPy 1.13.0 #2336

Gazzzzyy opened this issue Apr 3, 2024 · 2 comments

Comments

@Gazzzzyy
Copy link

Gazzzzyy commented Apr 3, 2024

Describe the bug
Builds are failing when using SciPy >=1.13.0.
Looks like the endpoint for gaussian has been removed from scipy.signal, which breaks arviz/stats/density_utils.py

To Reproduce
Update local dependencies to use SciPy == 1.13.0.

Expected behavior
The code to run.

Additional context
File "C:\---\.venv\lib\site-packages\arviz\stats\density_utils.py", line 8, in
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\scipy\signal\__init__.py)

@OriolAbril
Copy link
Member

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

@Gazzzzyy
Copy link
Author

Gazzzzyy commented Apr 3, 2024

Thanks for the response. I've already downgraded SciPy for the time being. Will lookout for when a new release available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants