Skip to content

Commit d26d88f

Browse files
authored
Switch from using nest-asyncio to nest-asyncio2 (#1499)
1 parent ed5e400 commit d26d88f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ipykernel/eventloops.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,9 @@ def _schedule_exit(delay):
301301
else:
302302
import asyncio
303303

304-
import nest_asyncio
304+
import nest_asyncio2
305305

306-
nest_asyncio.apply()
306+
nest_asyncio2.apply()
307307

308308
# Tk uses milliseconds
309309
poll_interval = int(1000 * kernel._poll_interval)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies = [
2626
"jupyter_client>=8.8.0",
2727
"jupyter_core>=5.1,!=6.0.*",
2828
# For tk event loop support only.
29-
"nest_asyncio>=1.4",
29+
"nest_asyncio2>=1.7.0",
3030
"tornado>=6.4.1",
3131
"matplotlib-inline>=0.1",
3232
'appnope>=0.1.2;platform_system=="Darwin"',

0 commit comments

Comments
 (0)