-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
arrayp1Affects a large population and inhibits workAffects a large population and inhibits worktestsUnit tests and/or continuous integrationUnit tests and/or continuous integration
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: DeprecationWarningReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
arrayp1Affects a large population and inhibits workAffects a large population and inhibits worktestsUnit tests and/or continuous integrationUnit tests and/or continuous integration