theislab / pertpy

Perturbation Analysis in the scverse ecosystem.
https://pertpy.readthedocs.io/en/latest/
MIT License
87 stars 17 forks source link

Pre-release CI arviz: ImportError: cannot import name 'gaussian' from 'scipy.signal' #567

Closed Zethson closed 2 months ago

Zethson commented 2 months ago

Report

Hint: make sure your test modules/packages have valid Python names. Traceback: tests/metadata/test_cell_line.py:4: in import pertpy as pt pertpy/init.py:18: in from . import plot as pl pertpy/plot/init.py:2: in from pertpy.plot._coda import CodaPlot as coda pertpy/plot/_coda.py:13: in from pertpy.tools._coda._base_coda import CompositionalModel2 pertpy/tools/init.py:3: in from pertpy.tools._coda._sccoda import Sccoda pertpy/tools/_coda/_sccoda.py:5: in 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)

Version information

No response

Zethson commented 2 months ago

Reported upstream: https://github.com/arviz-devs/arviz/issues/2330