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

arviz not compatible with pre-releases #2330

Closed
Zethson opened this issue Mar 25, 2024 · 4 comments · Fixed by #2332
Closed

arviz not compatible with pre-releases #2330

Zethson opened this issue Mar 25, 2024 · 4 comments · Fixed by #2332

Comments

@Zethson
Copy link

Zethson commented Mar 25, 2024

Describe the bug

import arviz as az
/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/arviz/init.py:34: in
from .plots import *
/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/arviz/plots/init.py:2: in
from .autocorrplot import plot_autocorr
/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/arviz/plots/autocorrplot.py:7: in
from .plot_utils import default_grid, filter_plotters_list, get_plotting_function
/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/arviz/plots/plot_utils.py:15: in
from ..stats.density_utils import kde
/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/arviz/stats/init.py:3: in
from .density_utils import *
/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/arviz/stats/density_utils.py:8: in
from scipy.signal import convolve, convolve2d, gaussian # pylint: disable=no-name-in-module
E ImportError: cannot import name 'gaussian' from 'scipy.signal' (/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/scipy/signal/init.py)

To Reproduce
Found it in my CI. Probably one just needs to install arviz with the --pre flag.

@OriolAbril
Copy link
Member

Thanks for reporting, we had already seen it in our pre-release CI check but hadn't had time to fix it. Should be fixed already on GitHub, we'll make a release soon after testing with numpy 2.0

@Vital-Fernandez
Copy link

Has there been any progress for arviz to be compatible with numpy 2.0?

@OriolAbril
Copy link
Member

the version on github should already be compatible, and there is an open PR to publish a new release that will be compatible.

@OriolAbril
Copy link
Member

Release announcement: https://github.com/arviz-devs/arviz/releases/tag/v0.19.0 is should be on PyPI on a few minutes and on conda-forge in several hours - a day.

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

Successfully merging a pull request may close this issue.

3 participants