@@ -104,7 +104,7 @@ index beca44b1..81170b97 100644
104104@@ -15,7 +15,7 @@
105105 from collections import defaultdict, deque
106106 from io import StringIO, TextIOBase
107- from threading import local
107+ from threading import Event, Thread, local
108108- from typing import Any, Callable, Deque, Dict, Optional
109109+ from typing import Any, Callable, Optional
110110
@@ -139,18 +139,18 @@ index db83d986..48efa6cd 100644
139139
140140+ from __future__ import annotations
141141+
142- import asyncio
143142 import builtins
144143 import gc
144+ import getpass
145145@@ -16,7 +18,7 @@
146146 from IPython.core import release
147147 from IPython.utils.tokenutil import line_at_cursor, token_at_cursor
148148 from jupyter_client.session import extract_header
149149- from traitlets import Any, Bool, HasTraits, Instance, List, Type, observe, observe_compat
150150+ from traitlets import Any, Bool, HasTraits, Instance, List, Type, default, observe, observe_compat
151- from zmq.eventloop.zmqstream import ZMQStream
152151
153152 from .comm.comm import BaseComm
153+ from .comm.manager import CommManager
154154@@ -46,7 +48,7 @@ def _create_comm(*args, **kwargs):
155155
156156 # there can only be one comm manager in a ipykernel process
@@ -233,6 +233,6 @@ index 1e9e543c..e1d7b1d5 100644
233233+
234234+ # ignore unclosed sqlite in traits
235235+ "ignore:unclosed database in <sqlite3.Connection:ResourceWarning",
236- ]
237236
238- [tool.coverage.report]
237+ # https://github.com/python-trio/trio/issues/3053
238+ "ignore:The `hash` argument is deprecated in favor of `unsafe_hash` and will be removed in or after August 2025.",
0 commit comments