ipython / ipython/ipykernel

Jupyter notebook cell instruction after asyncio.run is not executing with 6.28.0v of ipykernel

Open
#1,190 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
734
Forks
412
Avg merge
1d 5h
Merged PRs (30d)
8

Description

With the latest version of ipykernel 6.28.0v, jupyter notebook cell after the asyncio.run() is not completing its execution.
I'm running it on Windows and ProactorEventLoop was enabled on Windows for ipykernel [here ](https://github.com/ipython/ipykernel/pull/1184)in the latest version.

The Python version I'm using is 3.9.2 and
Package Version
------------------------- ---------------
matplotlib-inline 0.1.6
psutil 5.9.7
nest-asyncio 1.5.8
tornado 6.4
traitlets 5.14.1
packaging 23.2
jupyter_core 5.7.1
ipython 8.18.1
comm 0.2.1
debugpy 1.8.0
jupyter_client 8.6.0
pyzmq 25.1.2
qtconsole 5.5.1
jupyter 1.0.0
jupyter-console 6.6.3
jupyterlab 4.0.10

Can someone please help me out here?

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported sequence in a Jupyter notebook on Windows with Python 3.9.2 and ipykernel 6.28.0, checking whether a cell after asyncio.run() completes. Start by reviewing the ProactorEventLoop change in PR 1184 and compare behavior before and after that release. Done means subsequent notebook cells execute normally after asyncio.run().

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.