Skip to content

Add deprecation warning for top-level ucx and rmm config values - #7956

Merged
jrbourbeau merged 1 commit into
dask:mainfrom
jrbourbeau:warn-ucx-rmm-config
Jul 29, 2021
Merged

jrbourbeau merged 1 commit into
dask:mainfrom
jrbourbeau:warn-ucx-rmm-config

Conversation

@jrbourbeau

Copy link
Copy Markdown
Member

This is a follow-up to dask/distributed#4916 where we moved the top-level ucx and rmm config values into the distributed namespace. With the changes here, users will be informed of this config name migration. See the conversation starting at dask/distributed#4916 (comment)

$ DASK_UCX__TCP="foo" python -c "import dask, distributed; print(dask.config.get('distributed.comm.ucx.tcp'))"
/Users/james/projects/dask/dask/dask/config.py:597: UserWarning: Configuration key "ucx.tcp" has been deprecated. Please use "distributed.ucx.tcp" instead
  warnings.warn(
False

cc @pentschev @charlesbluca

@pentschev pentschev left a comment

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 really nice, thanks @jrbourbeau !

@jrbourbeau
jrbourbeau merged commit 5eac452 into dask:main Jul 29, 2021
@jrbourbeau
jrbourbeau deleted the warn-ucx-rmm-config branch July 29, 2021 21:56
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 this pull request may close these issues.

2 participants