Skip to content

Commit

Permalink
filter pytests only
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzamora committed Feb 12, 2024
1 parent 39c0a11 commit 7c65612
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
9 changes: 0 additions & 9 deletions dask_cuda/__init__.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
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.",
)

import dask
import dask.utils
import dask.dataframe.core
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ filterwarnings = [
"error::FutureWarning",
# remove after https://github.com/rapidsai/dask-cuda/issues/1087 is closed
"ignore:There is no current event loop:DeprecationWarning:tornado",
# 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
"ignore:Dask DataFrame implementation is deprecated:DeprecationWarning",
]

[tool.setuptools]
Expand Down

0 comments on commit 7c65612

Please sign in to comment.