Repository navigation
Closed
Description
scipy == 1.8.0 made updates to more clearly indicate what are intended to be public vs. private APIs https://docs.scipy.org/doc/scipy-1.8.0/html-scipyorg/release.1.8.0.html#clear-split-between-public-and-private-api. As a result of these changes, deprecation warning that are now raised from our existing scipy imports are being elevated to errors (like the one below) and causing CI to fail
_________________________________ test_moment __________________________________
[gw0] linux -- Python 3.8.12 /usr/share/miniconda3/envs/test-environment/bin/python
@pytest.mark.skipif("not scipy")
def test_moment():
> from dask.array import stats
dask/dataframe/tests/test_arithmetics_reduction.py:1443:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
dask/array/stats.py:45: in <module>
from scipy.stats.stats import (
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'F_onewayResult'
def __getattr__(name):
if name not in __all__:
raise AttributeError(
"scipy.stats.stats is deprecated and has no attribute "
f"{name}. Try looking in scipy.stats instead.")
> warnings.warn(f"Please use `{name}` from the `scipy.stats` namespace, "
"the `scipy.stats.stats` namespace is deprecated.",
category=DeprecationWarning, stacklevel=2)
E DeprecationWarning: Please use `F_onewayResult` from the `scipy.stats` namespace, the `scipy.stats.stats` namespace is deprecated.
/usr/share/miniconda3/envs/test-environment/lib/python3.8/site-packages/scipy/stats/stats.py:58: DeprecationWarning
Activity
ParticularMiner commentedon Feb 8, 2022
@jrbourbeau
I think the problem originates in
scipyitself notdask. I've reported the issue there. You may follow this link to see.jsignell commentedon Feb 9, 2022
I'm looking into what it will take to unpin.