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

Update dask and distributed version #215

Closed
wants to merge 3 commits into from

Conversation

jrbourbeau
Copy link
Member

This updates to a more recent version of dask / distributed to avoid errors like

 ---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Input In [1], in <cell line: 1>()
----> 1 from distributed import Client
      2 import dask_ml.datasets
      3 import dask_ml.ensemble

File /usr/share/miniconda3/envs/dask-examples/lib/python3.8/site-packages/distributed/__init__.py:3, in <module>
      1 from . import config
      2 from dask.config import config
----> 3 from .actor import Actor, ActorFuture
      4 from .core import connect, rpc
      5 from .deploy import LocalCluster, Adaptive, SpecCluster, SSHCluster

File /usr/share/miniconda3/envs/dask-examples/lib/python3.8/site-packages/distributed/actor.py:6, in <module>
      3 import threading
      4 from queue import Queue
----> 6 from .client import Future, default_client
      7 from .protocol import to_serialize
      8 from .utils import sync

File /usr/share/miniconda3/envs/dask-examples/lib/python3.8/site-packages/distributed/client.py:31, in <module>
     29 from dask.core import flatten, get_dependencies
     30 from dask.optimization import SubgraphCallable
---> 31 from dask.compatibility import apply
     32 from dask.utils import ensure_dict, format_bytes, funcname
     34 from tlz import first, groupby, merge, valmap, keymap, partition_all

ImportError: cannot import name 'apply' from 'dask.compatibility' (/usr/share/miniconda3/envs/dask-examples/lib/python3.8/site-packages/dask/compatibility.py)
ImportError: cannot import name 'apply' from 'dask.compatibility' (/usr/share/miniconda3/envs/dask-examples/lib/python3.8/site-packages/dask/compatibility.py)

which are showing up in CI

@jrbourbeau
Copy link
Member Author

Closing in favor of #218

@jrbourbeau jrbourbeau closed this May 5, 2022
@jrbourbeau jrbourbeau deleted the update-dask-distributed branch May 5, 2022 21:25
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 this pull request may close these issues.

1 participant