Accepting request 790414 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/790414 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ipykernel?expand=0&rev=6
This commit is contained in:
commit
eb7289a996
@ -1,34 +0,0 @@
|
||||
From 7125d8537753106bc5885a906b8dfa90379e1091 Mon Sep 17 00:00:00 2001
|
||||
From: David Brochart <david.brochart@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:
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7f1f01df22f1229c8879501057877ccaf92a3b01c1d00db708aad5003e5f9238
|
||||
size 108592
|
3
ipykernel-5.2.0.tar.gz
Normal file
3
ipykernel-5.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18
|
||||
size 105371
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 28 16:35:30 UTC 2020 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
- 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 <toddrme2178@gmail.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user