With the lastest dask release (2022.2.0) from dask.bytes import open_files is removed
pip install dask
✦2 ❯ python
Python 3.9.7 (default, Sep 16 2021, 08:50:36)
[Clang 10.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from dask.bytes import open_files
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'open_files' from 'dask.bytes' (/Users/ray/miniconda3/envs/test_env/lib/python3.9/site-packages/dask/bytes/__init__.py)
pip install dask==2022.01.1
python
from dask.bytes import open_files
Our CI picked up the issue fixed in: https://github.com/intake/intake-xarray/commit/165c878d0a369bbf0a61b7c1f7cedc798ff2fbfe
With the lastest dask release (2022.2.0)
from dask.bytes import open_files
is removed