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

Add support for async kernel management #794

Merged
merged 9 commits into from
Jul 10, 2020

Conversation

kevin-bates
Copy link
Member

This is a redo of PR #580 due to branch changes - the description is essentially the same, however.

Updated RemoteKernelManager's methods to async/await and derive from jupyter_client's AsyncIOLoopKernelManager and RemoteMappingKernelManager now derives from notebook's AsyncMappingKernelManager. As a result, this PR will NOT be back-ported to 1.x.

NOTE: Installation of this PR requires that BOTH related Jupyter Client 428 and Notebook 4479 PRs be merged. Once merged, we need to update our dependencies to depend on those versions - thus the [DEPENDENCY] in the title.

Fixes #86
Fixes #592

The PRs referenced above have been updated to reflect the recent PRs submitted that use a subclass-based approach. Please see those PRs for a description the class hierarchy.

@kevin-bates kevin-bates changed the title [DEPENDENCY][WIP] Add support for async kernel management Add support for async kernel management Jun 10, 2020
@kevin-bates
Copy link
Member Author

Updated the Notebook dependency to 6.1.0rc1. The plan moving forward is that we'll create an EG 2.2.0rc1 release. Once Notebook 6.1.0 is released, the dependency will be updated and we can then cut EG 2.2.0.

@kevin-bates
Copy link
Member Author

@lresende and @akchinSTC - a gentle reminder that your review is pending. Thank you in advance.

Copy link
Member

@lresende lresende left a comment

Choose a reason for hiding this comment

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

Really great to see this finally getting into EG.

Copy link
Collaborator

@akchinSTC akchinSTC left a comment

Choose a reason for hiding this comment

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

LGTM

@kevin-bates kevin-bates merged commit 27e51aa into jupyter-server:master Jul 10, 2020
@kevin-bates kevin-bates deleted the async-subclasses branch July 13, 2020 17:43
@cceyda cceyda mentioned this pull request Oct 11, 2020
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.

Look into adding support for async socket for response port Remove blocking Kernel Startup
3 participants