What happened:
Plain import produces multi-line FutureWarning with newest dask and dask_jobqueue version. Multiple calls (e.g. for unit testing) pollute the terminal output with many of those.
What you expected to happen:
No FutureWarning
Minimal Complete Verifiable Example:
import dask_jobqueue
>>> lib/python3.8/site-packages/dask_jobqueue/core.py:20: FutureWarning: tmpfile is deprecated and will be removed in a future release. Please use dask.utils.tmpfile instead.
from distributed.utils import tmpfile
Anything else we need to know?:
Happens on all tested platforms (various *nix, Mac OS)
Environment:
- Dask version: 2022.5.0
- Python version: 3.8.13
- Operating System: Mac OS 12.2 / Ubuntu 20.04
- Install method (conda, pip, source): conda
What happened:
Plain import produces multi-line
FutureWarningwith newest dask and dask_jobqueue version. Multiple calls (e.g. for unit testing) pollute the terminal output with many of those.What you expected to happen:
No
FutureWarningMinimal Complete Verifiable Example:
Anything else we need to know?:
Happens on all tested platforms (various *nix, Mac OS)
Environment: