Skip to content

Make dask.compatibility private#10114

Merged
jrbourbeau merged 3 commits intodask:mainfrom
jacobtomlinson:make-compatibility-private
Mar 27, 2023
Merged

Make dask.compatibility private#10114
jrbourbeau merged 3 commits intodask:mainfrom
jacobtomlinson:make-compatibility-private

Conversation

@jacobtomlinson
Copy link
Copy Markdown
Member

@jacobtomlinson jacobtomlinson commented Mar 24, 2023

xref #10113 (review)

In dask-kubernetes we were using dask.compatibility.entry_points which were recently removed (#10070) and restored again (#10113). @jrbourbeau mentioned that dask.compatibility is not intended to be used outside of dask so opening this PR to rename it to dask._compatibility with a fallback shim and deprecation warning.

Side note: This could probably be done for a bunch of code throughout dask and distributed to reduce maintenance burden and avoid future breakages. If other folks think this would be helpful I'd be happy to help with this effort.

@jrbourbeau jrbourbeau changed the title Make dask.compatibility private [DNM] Make dask.compatibility private Mar 24, 2023
Copy link
Copy Markdown
Member

@jrbourbeau jrbourbeau left a comment

Choose a reason for hiding this comment

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

Thanks @jacobtomlinson. Will take a closer look later today. Marking as DNM for now to signal this should go in after the release today

@jrbourbeau jrbourbeau changed the title [DNM] Make dask.compatibility private Make dask.compatibility private Mar 27, 2023
Copy link
Copy Markdown
Member

@jrbourbeau jrbourbeau left a comment

Choose a reason for hiding this comment

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

Looks great, thanks @jacobtomlinson!

I opened up #10119 to discuss this topic more broadly

@jrbourbeau jrbourbeau merged commit 9146709 into dask:main Mar 27, 2023
@jacobtomlinson jacobtomlinson deleted the make-compatibility-private branch March 27, 2023 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants