When dask-mpi CLI is used, it attempts to import check_python_3 from distributed.cli.utils, which now fails because that function has been removed.
What you expected to happen:
We shouldn't need to check for Python 3 any more.
Minimal Complete Verifiable Example:
$ conda create -y --name test dask-mpi
$ dask-mpi --help
Traceback (most recent call last):
File ".../envs/daskmpi/bin/dask-mpi", line 7, in <module>
from dask_mpi.cli import go
File ".../envs/daskmpi/lib/python3.10/site-packages/dask_mpi/cli.py", line 6, in <module>
from distributed.cli.utils import check_python_3
ImportError: cannot import name 'check_python_3' from 'distributed.cli.utils' (.../envs/daskmpi/lib/python3.10/site-packages/distributed/cli/utils.py)
What happened:
When
dask-mpi
CLI is used, it attempts to importcheck_python_3
fromdistributed.cli.utils
, which now fails because that function has been removed.What you expected to happen:
We shouldn't need to check for Python 3 any more.
Minimal Complete Verifiable Example:
Anything else we need to know?:
I'm working on a PR to fix this now.
Environment: