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

dask scheduler not recognized as a valid command, despite suggestion from FutureWarning #7176

Closed
Tracked by #283
DamianBarabonkovQC opened this issue Oct 24, 2022 · 4 comments · Fixed by conda-forge/dask-core-feedstock#146
Assignees

Comments

@DamianBarabonkovQC
Copy link

DamianBarabonkovQC commented Oct 24, 2022

Describe the issue:

When starting a dask scheduler the old way via dask-scheduler, it produces a future warning as such: FutureWarning: dask-scheduler is deprecated and will be removed in a future release; use 'dask scheduler' instead.

However, then when running dask scheduler from the command line produces:

Usage: dask [OPTIONS] COMMAND [ARGS]...
Try 'dask -h' for help.

Error: No such command 'scheduler'.

Something does not work correct in this case.

Environment:

  • Dask version: 2022.10.0
  • Python version: Python 3.10.6
  • Operating System: OSX 12.6
  • Install method (conda, pip, source): conda create -n env_name 'dask=2022.10.0'
@jrbourbeau
Copy link
Member

Thanks for reporting @DamianBarabonkovQC. FWIW this appears to be a conda-specific issue, so pip installing is a temporary workaround. We're working on a fix for the conda packages. Will keep this issue posted.

@jakirkham
Copy link
Member

As James noted, this is a known issue. There have been 2 attempts to fix it, but no success so far. Related threads:

xref: conda-forge/distributed-feedstock#225 (comment)
xref: conda-forge/distributed-feedstock#226
xref: conda-forge/dask-core-feedstock#144

Would suggest just using the old entry points (with -s like dask-scheduler) as they still work. If we don't find a resolution soon, would suggest dropping/softening the deprecation warning (we don't appear to be ready for that).

@jakirkham
Copy link
Member

Actually maybe PR ( conda-forge/dask-core-feedstock#146 ) will solve it? Would be good to have others take a look 🙂

@douglasdavis
Copy link
Member

douglasdavis commented Oct 25, 2022

I'm relatively confident conda-forge/dask-core-feedstock#146 should end up fixing things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants