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

Update test kernel with native coroutine, remove async_generator dependency #646

Merged
merged 1 commit into from
Apr 28, 2021

Conversation

kevin-bates
Copy link
Member

While updating the Kernel Provisioning PR with all of the recent changes, I ran into a couple of general issues that appear related to some recent updates to ipykernel (6.0a5). Since we're using the --pre option to install test dependencies, I thought I'd add these changes to the primary branch since, in all likelihood, the next PR will encounter them.

  1. This updates the test kernel subclass SignalTestKernel to use a native coroutine that is used in TestKernelManagerShutDownGracefully.
  2. The return of the tuple from the previously required async_generator-decorated method has been removed (as has yield_) since we no longer support Python 3.5.
  3. I had to conditionally skip the TestKernelManagerShutDownGracefully tests that use shutdown_request on Python 3.6 since the ipykernel updates are not available in that Python release. These changes are essentially mutually exclusive to those in item 1, so this PR errs on the side of Python 3.7+.

Copy link
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

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

Thanks!

@davidbrochart davidbrochart merged commit 98faaf9 into jupyter:master Apr 28, 2021
@blink1073 blink1073 added this to the 7.0 milestone Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants