Skip to content

Clean up deprecations in CLI#9240

Merged
crusaderky merged 1 commit into
dask:mainfrom
crusaderky:deprecated-cli
May 18, 2026
Merged

Clean up deprecations in CLI#9240
crusaderky merged 1 commit into
dask:mainfrom
crusaderky:deprecated-cli

Conversation

@crusaderky
Copy link
Copy Markdown
Collaborator

No description provided.

@crusaderky crusaderky added the deprecation Something is being removed label Apr 30, 2026
@crusaderky crusaderky marked this pull request as draft April 30, 2026 11:19
@crusaderky crusaderky marked this pull request as ready for review April 30, 2026 13:07
@github-actions
Copy link
Copy Markdown
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

    30 files  ± 0      30 suites  ±0   11h 1m 5s ⏱️ - 1m 52s
 4 112 tests  -  3   4 005 ✅  -  2    104 💤 ±0  3 ❌  - 1 
59 713 runs   - 42  57 274 ✅  - 37  2 436 💤  - 4  3 ❌  - 1 

For more details on these failures, see this check.

Results for commit 0f70b55. ± Comparison against base commit d9c0010.

This pull request removes 3 tests.
distributed.cli.tests.test_dask_scheduler ‑ test_single_executable_deprecated
distributed.cli.tests.test_dask_worker ‑ test_single_executable_deprecated
distributed.cli.tests.test_dask_worker ‑ test_single_executable_works

@crusaderky crusaderky changed the title Deprecations in CLI Clean up deprecations in CLI May 1, 2026
@crusaderky crusaderky merged commit 81b9308 into dask:main May 18, 2026
34 of 39 checks passed
@crusaderky crusaderky deleted the deprecated-cli branch May 18, 2026 18:45
Comment thread distributed/cli/utils.py
CLICK_VERSION = tuple(map(int, importlib.metadata.version("click").split(".")[:2]))


def install_signal_handlers(loop=None, cleanup=None):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is currently used in Dask-CUDA. Was this API deprecated? cc @TomAugspurger @pentschev for viz

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah. Dunno how we missed it :/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe rapidsai/dask-cuda#1651 takes care of this?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for catching this, Rick. I think you're right, we should be more aligned with how Distributed is currently handling signals and thus rapidsai/dask-cuda#1651 looks like the proper solution.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Is it acceptable to have this PR in the next distributed release, or do you prefer reverting it and doing it again in a few months?

Copy link
Copy Markdown
Member

@pentschev pentschev May 19, 2026

Choose a reason for hiding this comment

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

I'll let @TomAugspurger answer that definitively, but AFAIK the latest Dask release (2026.3.0) will be used for the upcoming RAPIDS 25.06 release and thus we do not need to make changes for this release. For the next RAPIDS release expected only for August, it should be ok for us to use the changes from rapidsai/dask-cuda#1651 that drop the use of install_signal_handlers unless we find out any issues with that within the next ~2 months.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah we should be good.

rapids-bot Bot pushed a commit to rapidsai/dask-cuda that referenced this pull request May 19, 2026
The `install_signal_handlers` utility was unused in distributed, and was removed in dask/distributed#9240

This PR simply follows the pattern used in dask/distributed#6205 to migrate to `wait_for_signals`.

Authors:
  - Richard (Rick) Zamora (https://github.com/rjzamora)

Approvers:
  - Peter Andreas Entschev (https://github.com/pentschev)

URL: #1651
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deprecation Something is being removed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants