Hello community,

here is the log from the commit of package python-ipykernel for 
openSUSE:Factory checked in at 2020-03-27 00:20:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ipykernel (Old)
 and      /work/SRC/openSUSE:Factory/.python-ipykernel.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ipykernel"

Fri Mar 27 00:20:01 2020 rev:5 rq:783838 version:5.1.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ipykernel/python-ipykernel.changes        
2020-01-30 09:39:07.313416930 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-ipykernel.new.3160/python-ipykernel.changes  
    2020-03-27 00:20:03.880098094 +0100
@@ -1,0 +2,8 @@
+Wed Mar 11 13:31:10 UTC 2020 - Todd R <toddrme2...@gmail.com>
+
+- Add fix_jupyter_client_6.patch
+  Fixes issue with jupyter-client > 6
+  From: https://github.com/ipython/ipykernel/pull/489
+  See: https://github.com/jupyter/jupyter_client/issues/523
+
+-------------------------------------------------------------------

New:
----
  fix_jupyter_client_6.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-ipykernel.spec ++++++
--- /var/tmp/diff_new_pack.EeDUY6/_old  2020-03-27 00:20:05.712098983 +0100
+++ /var/tmp/diff_new_pack.EeDUY6/_new  2020-03-27 00:20:05.748099000 +0100
@@ -26,6 +26,8 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/ipython/ipykernel
 Source:         
https://files.pythonhosted.org/packages/source/i/ipykernel/ipykernel-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM fix_jupyter_client_6.patch -- 
https://github.com/ipython/ipykernel/pull/489
+Patch0:         fix_jupyter_client_6.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
@@ -83,7 +85,7 @@
 This package provides the jupyter components.
 
 %prep
-%setup -q -n ipykernel-%{version}
+%autosetup -p1 -n ipykernel-%{version}
 
 %build
 %python_build

++++++ fix_jupyter_client_6.patch ++++++
>From 7125d8537753106bc5885a906b8dfa90379e1091 Mon Sep 17 00:00:00 2001
From: David Brochart <david.broch...@gmail.com>
Date: Mon, 2 Mar 2020 10:09:37 +0100
Subject: [PATCH] Add control channel

---
 ipykernel/inprocess/client.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/ipykernel/inprocess/client.py b/ipykernel/inprocess/client.py
index 2e562f04..5de4f774 100644
--- a/ipykernel/inprocess/client.py
+++ b/ipykernel/inprocess/client.py
@@ -41,6 +41,7 @@ class InProcessKernelClient(KernelClient):
     shell_channel_class = Type(InProcessChannel)
     iopub_channel_class = Type(InProcessChannel)
     stdin_channel_class = Type(InProcessChannel)
+    control_channel_class = Type(InProcessChannel)
     hb_channel_class = Type(InProcessHBChannel)
 
     kernel = Instance('ipykernel.inprocess.ipkernel.InProcessKernel',
@@ -82,6 +83,12 @@ def stdin_channel(self):
             self._stdin_channel = self.stdin_channel_class(self)
         return self._stdin_channel
 
+    @property
+    def control_channel(self):
+        if self._control_channel is None:
+            self._control_channel = self.control_channel_class(self)
+        return self._control_channel
+
     @property
     def hb_channel(self):
         if self._hb_channel is None:

Reply via email to