Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move dask.async to dask.local #2318

Merged
merged 2 commits into from
May 11, 2017
Merged

Move dask.async to dask.local #2318

merged 2 commits into from
May 11, 2017

Conversation

jcrist
Copy link
Member

@jcrist jcrist commented May 9, 2017

In Python 3.7 async will become a keyword and dask.async will no longer be a valid module name. We move dask.async to dask.scheduler and deprecate the old module. The documentation has been updated accordingly.

Fixes #1834.

In Python 3.7 `async` will become a keyword and `dask.async` will no
longer be a valid module name. We move `dask.async` to `dask.scheduler`
and deprecate the old module. The documentation has been updated
accordingly.
@jcrist
Copy link
Member Author

jcrist commented May 9, 2017

An alternative name I considered was dask.local. Happy to change to something else if desired.

@mrocklin
Copy link
Member

mrocklin commented May 9, 2017

Hrm, dask.scheduler does somewhat conflict with the distributed scheduler. I think it's worth thinking about something like dask.local.

Is there any way to warn users? Perhaps keep around async.py and fill it with functions that warn, then call the correct method?

@mrocklin
Copy link
Member

mrocklin commented May 9, 2017

Also thank you for doing this.

@jcrist
Copy link
Member Author

jcrist commented May 9, 2017

Is there any way to warn users? Perhaps keep around async.py and fill it with functions that warn, then call the correct method?

I did that for the two most likely to be used functions. The rest have changed periodically and I would be surprised if they're in use.

@mrocklin
Copy link
Member

mrocklin commented May 9, 2017 via email

@jcrist jcrist changed the title Move dask.async to dask.scheduler Move dask.async to dask.local May 9, 2017
@jcrist
Copy link
Member Author

jcrist commented May 9, 2017

Renamed to dask.local. Should be good to go.

@jcrist
Copy link
Member Author

jcrist commented May 10, 2017

Planning to merge tomorrow if no comment.

@jcrist jcrist merged commit 0108940 into dask:master May 11, 2017
@jcrist jcrist deleted the move-async branch May 11, 2017 14:28
@sinhrks sinhrks added this to the 0.15.0 milestone Aug 30, 2017
tacaswell added a commit to tacaswell/dask that referenced this pull request Oct 27, 2017
async is a proper keyword in python 3.7, finishes work of dask#2318.
@tacaswell tacaswell mentioned this pull request Oct 27, 2017
3 tasks
jcrist pushed a commit that referenced this pull request Oct 27, 2017
async is a proper keyword in python 3.7, finishes work of #2318.
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.

3 participants