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

ipykernel 7 support #898

Merged
merged 27 commits into from
Oct 28, 2024
Merged

ipykernel 7 support #898

merged 27 commits into from
Oct 28, 2024

Conversation

minrk
Copy link
Member

@minrk minrk commented Oct 22, 2024

- handle async methods
- zmq.asyncio.Sockets, not ZMQStreams
- need to enable ControlThread now that flush is not an option
while ipykernel 7 has unmerged fixes
get running loop instead
don't wait forever if there's a problem
- refactor redirect output, redirect it later and stop redirecting during shutdown
  so errors in ipengine/kernel are more likely to be seen in the terminal
- fix SIGTERM handler so it actually fires in the event loop
@minrk
Copy link
Member Author

minrk commented Oct 25, 2024

most tests passing, need to fix become_dask and some magics tests, then make sure the fixes didn't break with ipykernel 6

remove backports of ipykernel abort methods

no longer needed with a newer minimum ipykernel

remove notebook 4.1 backward-compat
call_soon doesn't launch coroutines
@minrk
Copy link
Member Author

minrk commented Oct 25, 2024

almost got it. #899 fixed slurm, but this has broken it again. I'm guessing related to the signal handling/shutdown, since slurm tests are running with stable ipykernel

@minrk minrk marked this pull request as ready for review October 26, 2024 06:28
@minrk
Copy link
Member Author

minrk commented Oct 26, 2024

@Carreau this is all passing with ipykernel 7, once the above fixes are merged into ipykernel itself.

@minrk minrk changed the title [wip] ipykernel 7 support ipykernel 7 support Oct 28, 2024
@minrk minrk merged commit 822b723 into ipython:main Oct 28, 2024
15 checks passed
@minrk minrk deleted the kernel7 branch October 28, 2024 09:13
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.

IPykernel 7 compatibility
1 participant