From 61ae2d6778a19de7fee4890a403f7ae035fe7e0a Mon Sep 17 00:00:00 2001 From: Johan Mabille Date: Wed, 12 Jun 2019 16:51:42 +0200 Subject: [PATCH 1/2] Added control channel to ZMQChannelsHandler --- notebook/services/kernels/handlers.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/notebook/services/kernels/handlers.py b/notebook/services/kernels/handlers.py index 8733968ce3..8484dccdfd 100644 --- a/notebook/services/kernels/handlers.py +++ b/notebook/services/kernels/handlers.py @@ -22,7 +22,6 @@ from ...base.handlers import APIHandler from ...base.zmqhandlers import AuthenticatedZMQStreamHandler, deserialize_binary_message - class MainKernelHandler(APIHandler): @web.authenticated @@ -124,7 +123,7 @@ def __repr__(self): def create_stream(self): km = self.kernel_manager identity = self.session.bsession - for channel in ('shell', 'iopub', 'stdin'): + for channel in ('shell', 'control', 'iopub', 'stdin'): meth = getattr(km, 'connect_' + channel) self.channels[channel] = stream = meth(self.kernel_id, identity=identity) stream.channel = channel From 93304180d70c3b5cc2f0b99ce1157f306e233589 Mon Sep 17 00:00:00 2001 From: Johan Mabille Date: Mon, 8 Jul 2019 11:15:39 +0200 Subject: [PATCH 2/2] Bumped the required version of jupyter_client --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 68ccf606d8..279770a66c 100755 --- a/setup.py +++ b/setup.py @@ -105,7 +105,7 @@ 'ipython_genutils', 'traitlets>=4.2.1', 'jupyter_core>=4.4.0', - 'jupyter_client>=5.2.0', + 'jupyter_client>=5.3.0', 'nbformat', 'nbconvert', 'ipykernel', # bless IPython kernel for now