Skip to content

The great deprecations spring cleaning #9252

@crusaderky

Description

@crusaderky

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 the dask ssh CLI. rerouting the CLI to use distributed.deploy.ssh is 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 on dask.config.set() #8179). I'm wary of breaking environments which have a long-forgotten dask.yaml config file deployed, so I'd rather leave them there for another couple of years.

The list

Metadata

Metadata

Assignees

No one assigned

    Labels

    deprecationSomething is being removed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions