Repository navigation
Closed
Labels
deprecationSomething is being removed
Description
This repository has accumulated several years worth of deprecated functionality, which nobody ever cleaned up.
I wrote a bunch of independent PRs which:
- remove all functionality which has raised DeprecationWarning or FutureWarning at least since 2024
- add a handful new warnings for deprecated/dead functionality which however was not raising any warning until now.
All PRs merged together into a single branch are available at crusaderky:staged-deprecations.
@dask/maintenance @ntabris could I get eyes on these before I merge? A retest of downstream libraries would be advisable.
Notes
- I could not clean up
distributed.deploy.old_ssh, because it is currently used by thedask sshCLI. rerouting the CLI to usedistributed.deploy.sshis non-trivial. - I chose not to clean up the deprecated config keys in
distributed.config. Some of them are 4 years old; however warnings have been issued only for the last 2 years (Warn for deprecations ondask.config.set()#8179). I'm wary of breaking environments which have a long-forgottendask.yamlconfig file deployed, so I'd rather leave them there for another couple of years.
The list
- Clean up deprecations in
SchedulerPlugin.remove_worker#9222 - Clean up deprecations in register_plugin #9225
- Clean up deprecations in utils_test #9226
- Clean up deprecated loop properties and parameters #9231
- Clean up deprecations in
distributed.compatibility#9232 - Clean up deprecated client context in different tasks/threads #9233
- Clean up deprecated async listener.stop() #9234
- Clean up deprecated rpc synchronous context manager #9235
- Clean up deprecations in
distributed.utils#9236 - Clean up deprecated Lock client parameter #9237
- Clean up deprecations in Scheduler, Worker, Nanny #9238
- Clean up deprecations in
security#9239 - Clean up deprecations in CLI #9240
- Clean up deprecated
streamRPC handler argument #9242 - Clean up deprecated nested_deserialize #9243
- Clean up deprecations in
distributed.deploy#9244 - Clean up deprecated Prometheus metrics #9249
- Clean up deprecations in ProgressBar #9250
Reacted by Andreas Motl and James Lamb
Metadata
Metadata
Assignees
Labels
deprecationSomething is being removed
Activity
martindurant commentedon May 1, 2026
I can't promise time on this, but kudos to you for putting in the effort to make things better for everyone.
crusaderky commentedon May 7, 2026
I'll merge on the 18th unless I hear from people