From eb279ea426ec56613c222a59b3e9ff79d90866f7f1bc03c170e28ba38c920109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 1 Apr 2020 06:53:37 +0000 Subject: [PATCH] Accepting request 789347 from home:apersaud:branches:devel:languages:python:jupyter update to latest version OBS-URL: https://build.opensuse.org/request/show/789347 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-ipykernel?expand=0&rev=16 --- fix_jupyter_client_6.patch | 34 ---------------------------------- ipykernel-5.1.4.tar.gz | 3 --- ipykernel-5.2.0.tar.gz | 3 +++ python-ipykernel.changes | 18 ++++++++++++++++++ python-ipykernel.spec | 25 +++++++++++++------------ 5 files changed, 34 insertions(+), 49 deletions(-) delete mode 100644 fix_jupyter_client_6.patch delete mode 100644 ipykernel-5.1.4.tar.gz create mode 100644 ipykernel-5.2.0.tar.gz diff --git a/fix_jupyter_client_6.patch b/fix_jupyter_client_6.patch deleted file mode 100644 index 5c201bf..0000000 --- a/fix_jupyter_client_6.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 7125d8537753106bc5885a906b8dfa90379e1091 Mon Sep 17 00:00:00 2001 -From: David Brochart -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: diff --git a/ipykernel-5.1.4.tar.gz b/ipykernel-5.1.4.tar.gz deleted file mode 100644 index f88c65f..0000000 --- a/ipykernel-5.1.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7f1f01df22f1229c8879501057877ccaf92a3b01c1d00db708aad5003e5f9238 -size 108592 diff --git a/ipykernel-5.2.0.tar.gz b/ipykernel-5.2.0.tar.gz new file mode 100644 index 0000000..d967ad1 --- /dev/null +++ b/ipykernel-5.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18 +size 105371 diff --git a/python-ipykernel.changes b/python-ipykernel.changes index 03b6430..741cc6e 100644 --- a/python-ipykernel.changes +++ b/python-ipykernel.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Sat Mar 28 16:35:30 UTC 2020 - Arun Persaud + +- specfile: + * be more specific in %files section + * removed patch fix_jupyter_client_6.patch, included upstream + +- update to version 5.2.0: + * Produce better traceback when kernel is interrupted + (:ghpull:`491`) + * Add InProcessKernelClient.control_channel for compatibility with + jupyter-client v6.0.0 (:ghpull:`489`) + * Drop support for Python 3.4 (:ghpull:`483`) + * Work around issue related to Tornado with python3.8 on Windows + (:ghpull:`480`, :ghpull:`481`) + * Prevent entering event loop if it is None (:ghpull:`464`) + * Use shell.input_transformer_manager when available (:ghpull:`411`) + ------------------------------------------------------------------- Wed Mar 11 13:31:10 UTC 2020 - Todd R diff --git a/python-ipykernel.spec b/python-ipykernel.spec index cd338c5..4d26517 100644 --- a/python-ipykernel.spec +++ b/python-ipykernel.spec @@ -1,7 +1,7 @@ # # spec file for package python-ipykernel # -# Copyright (c) 2020 SUSE LLC. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,15 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-ipykernel -Version: 5.1.4 +Version: 5.2.0 Release: 0 Summary: IPython Kernel for Jupyter License: BSD-3-Clause 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 @@ -40,6 +38,12 @@ Requires: python-tornado >= 4.2 Requires: python-traitlets >= 4.1.0 Provides: python-jupyter_ipykernel = %{version} Obsoletes: python-jupyter_ipykernel < %{version} +Provides: %{python_module ipykernel-doc = %{version}} +Obsoletes: %{python_module ipykernel-doc < %{version}} +Provides: %{python_module jupyter_ipykernel-doc = %{version}} +Obsoletes: %{python_module jupyter_ipykernel-doc < %{version}} +Provides: %{python_module jupyter-ipykernel-doc = %{version}} +Obsoletes: %{python_module jupyter-ipykernel-doc < %{version}} BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module flaky} @@ -58,13 +62,6 @@ BuildRequires: %{python_module traitlets >= 4.1.0} BuildRequires: %{python_module typing} Requires: python-typing %endif -Provides: %{python_module ipykernel-doc = %{version}} -Obsoletes: %{python_module ipykernel-doc < %{version}} -Provides: %{python_module jupyter_ipykernel-doc = %{version}} -Obsoletes: %{python_module jupyter_ipykernel-doc < %{version}} -Provides: %{python_module jupyter-ipykernel-doc = %{version}} -Obsoletes: %{python_module jupyter-ipykernel-doc < %{version}} - %python_subpackages %description @@ -74,6 +71,7 @@ This package provides the python interface. %package -n jupyter-ipykernel Summary: IPython Kernel for Jupyter +Group: Development/Languages/Python Requires: hicolor-icon-theme Requires: jupyter-jupyter-client Requires: python3-ipykernel = %{version} @@ -100,7 +98,10 @@ This package provides the jupyter components. %files %{python_files} %doc README.md docs/changelog.rst %license COPYING.md -%{python_sitelib}/* +%{python_sitelib}/ipykernel +%{python_sitelib}/ipykernel_launcher.py +%{python_sitelib}/ipykernel-%{version}-py*.egg-info +%pycache_only %{python_sitelib}/__pycache__ %files -n jupyter-ipykernel %license COPYING.md