-
-
Notifications
You must be signed in to change notification settings - Fork 764
Add support for Python 3.8 #3249
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
3eb6f03
Update setup.py
jrbourbeau 00adbbd
Updates Travis CI builds
jrbourbeau 5b39657
Use conda-forge channel + pip install tblib
jrbourbeau 092323e
Set tblib min version on CI
jrbourbeau 7c4a25e
tblib 1.5.0 is on conda-forge now
jrbourbeau e72e3e6
Skip stacktrace install on 3.8
jrbourbeau f1fefad
Merge remote-tracking branch 'upstream/master' into py3.8
jrbourbeau 2046d4f
Garbage collect in test_cleanup_repeated_tasks
jrbourbeau d7faf5c
Merge branch 'master' of github.com:dask/distributed into py3.8
mrocklin 03df3c7
Merge remote-tracking branch 'upstream/master' into py3.8
jrbourbeau 94672a0
Update appveyor to use Python 3.8
jrbourbeau 8837365
Windows event loop policy
jrbourbeau 287bf59
Update base class for AnyThreadEventLoopPolicy
jrbourbeau 246f59a
Bump appveyor to tornado 6
jrbourbeau 25a5ea1
xfail test_silent_startup
jrbourbeau 16049ff
Merge remote-tracking branch 'upstream/master' into py3.8
jrbourbeau ee470c4
Add Python 3.8 to GH actions windows builds
jrbourbeau 61f5d13
Avoid reconnecting client after shutdown
mrocklin 0fe9d8b
Merge branch 'py3.8' of github.com:jrbourbeau/distributed into py3.8
mrocklin 7501333
Merge remote-tracking branch 'upstream/master' into py3.8
jrbourbeau df6a562
Test multiple versions of tornado on Windows
jrbourbeau b6bfa4a
concurrent.futures.CancelledError is no longer an alias for asyncio.C…
jrbourbeau d3fb8b1
Use concurrent.futures CancelledError throughout
jrbourbeau 18ec512
Add task shield back
jrbourbeau cdbba87
Merge remote-tracking branch 'upstream/master' into py3.8
jrbourbeau 52c169f
xfail test_cleanup_repeated_tasks
jrbourbeau 7c9619c
xfail test_pickle_functions
jrbourbeau e4747b8
Update minimum tornado for Python 3.8
jrbourbeau 36d2c44
Updates based on reviewer feedback
jrbourbeau eee0c84
xfail test_pause_executor
jrbourbeau 576348f
Merge remote-tracking branch 'upstream/master' into py3.8
jrbourbeau 5b90e98
Update logic around BaseEventLoopPolicy
jrbourbeau 48f5d1a
Install tornado from conda-forge
jrbourbeau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,6 @@ dependencies: | |
| - requests | ||
| - toolz | ||
| - tblib | ||
| - tornado=5 | ||
| - zict | ||
| - fsspec | ||
| - pip | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From what I understand, tornado decided not to do this for users by default. Did Jupyter decided whether or not to do it?
Is appropriate for Dask to me making this decision?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tornado decided not to set the event loop policy to
asyncio.WindowsSelectorEventLoopPolicy()by default and instead recommends projects do that themselves. Jupyter and several other projects have done this (e.g. jupyter/notebook#5047).Our situation is a little different because we want to set the event loop policy to tornado's
AnyThreadEventLoopPolicyto let us create loops inside of any thread. Tornado has decided to set the base class forAnyThreadEventLoopPolicytoasyncio.WindowsSelectorEventLoopPolicyon Windows (tornadoweb/tornado@d2af6a6), but there hasn't been a release with the those changes yet so we're doing that ourselves here. I'll add a note that we can remove this once the next tornado release is out.