From 365e6491f47e6eaa04a72f6c2d5073fa2b4563bf Mon Sep 17 00:00:00 2001 From: Keith Kraus Date: Fri, 12 Mar 2021 16:18:24 -0500 Subject: [PATCH] Fix missing Dask imports (#7580) https://github.com/dask/dask/pull/7345 removed some imports that we were improperly using from a dask module. Fix the imports to properly target `fsspec`. Authors: - Keith Kraus (@kkraus14) Approvers: - @jakirkham - Ashwin Srinath (@shwina) URL: https://github.com/rapidsai/cudf/pull/7580 --- python/dask_cudf/dask_cudf/io/orc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/dask_cudf/dask_cudf/io/orc.py b/python/dask_cudf/dask_cudf/io/orc.py index e96219fd23e..5b0d19b737b 100644 --- a/python/dask_cudf/dask_cudf/io/orc.py +++ b/python/dask_cudf/dask_cudf/io/orc.py @@ -2,11 +2,12 @@ from io import BufferedWriter, IOBase +from fsspec.core import get_fs_token_paths +from fsspec.utils import stringify_path from pyarrow import orc as orc from dask import dataframe as dd from dask.base import tokenize -from dask.bytes.core import get_fs_token_paths, stringify_path from dask.dataframe.io.utils import _get_pyarrow_dtypes import cudf