diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3947ef31..99b1f3304 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,8 @@ jobs: - "3.11" - "3.12" - "3.13" + - "3.14" + - "3.14t" - "pypy-3.11" steps: - name: Checkout diff --git a/ipykernel/shellchannel.py b/ipykernel/shellchannel.py index 32f5f7399..8335e8887 100644 --- a/ipykernel/shellchannel.py +++ b/ipykernel/shellchannel.py @@ -26,7 +26,7 @@ def __init__( """Initialize the thread.""" super().__init__(name=SHELL_CHANNEL_THREAD_NAME, **kwargs) self._manager: SubshellManager | None = None - self._context = context + self._zmq_context = context # Avoid use of self._context self._shell_socket = shell_socket self.asyncio_lock = asyncio.Lock() @@ -36,7 +36,7 @@ def manager(self) -> SubshellManager: # Lazy initialisation. if self._manager is None: self._manager = SubshellManager( - self._context, + self._zmq_context, self.io_loop, self._shell_socket, )