Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use jupyter_client's AsyncKernelManager (#191)
* Use jupyter_client's AsyncKernelManager * Rename MappingKernelManage to AsyncMappingKernelManage, convert gen.coroutine/yield to async/await, remove run_blocking * Fix Windows subprocess handle issue * Restrict Windows to python>=3.7 * Fix GH actions matrix exclusion * Make AsyncMappingKernelManager a subclass of MappingKernelManager for configuration back-compatibility * Make AsyncKernelManager an opt-in * Pin jupyter_core and jupyter_client a bit higher * Remove async from MappingKernelManager.shutdown_kernel * Hard-code super() in MappingKernelManager and AsyncMappingKernelManager * Add argv fixture to enable MappingKernelManager and AsyncMappingKernelManager * Rewrite ensure_async to not await already awaited coroutines * Add async shutdown_kernel to AsyncMappingKernelManager, keep MappingKernelManager.shutdown_kernel blocking * Add restart kwarg to shutdown_kernel * Add log message when starting (async) kernel manager * Bump jupyter_client 6.1.1 * Rename super attribute to pinned_superclass * Prevent using AsyncMappingKernelManager on python<=3.5 (at run-time and in tests) * Ignore last_activity and execution_state when comparing sessions * Replace newsession with new_session * Fix Python version check * Fix skipping of tests * GatewayKernelManager inherits from MappingKernelManager to keep python3.5 compatibility * Added back removal of kernelmanager.AsyncMappingKernelManager * Don't test absence of AsyncMultiKernelManager
- Loading branch information
1 parent
3a75ada
commit d1cb381
Showing
23 changed files
with
449 additions
and
364 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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
Oops, something went wrong.