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

Filter dd deprecation #1312

Merged
merged 4 commits into from
Feb 13, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions dask_cuda/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
import sys
import warnings

if sys.platform != "linux":
raise ImportError("Only Linux is supported by Dask-CUDA at this time")

# This warning must be filtered until dask-expr support
# is enabled in both dask-cudf and dask-cuda.
# See: https://github.com/rapidsai/dask-cuda/issues/1311
warnings.filterwarnings(
"ignore",
message="The current Dask DataFrame implementation is deprecated.",
)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised linting didn't complain about this. It doesn't matter so let's keep it like this.

import dask
import dask.utils
Expand Down
Loading