1
0

- Update to 0.3.1:

* The (async_)start_new_kernel_client method now supports starting a new client when its kernel manager (self.km) is a MultiKernelManager. The method now returns the kernel id in addition to the kernel client. If the kernel manager was a KernelManager, the returned kernel id is None. #51
  * Added reset_kc option to reset_execution_trackers, so that the kernel client can be reset and a new one created in calls to (async_)execute #44
  * Check that a kernel manager exists before cleaning up the kernel #61
  * Force client class to be async when kernel manager is MultiKernelManager #55
  * Replace pip install with conda install in Binder #54

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbclient?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal 2020-06-09 09:07:48 +00:00 committed by Git OBS Bridge
parent 6ebd3de6bc
commit 127481cc11
4 changed files with 18 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44dde0356def1d9345908c8f58dc604a434f2fe61c49ac13fac6e2da2ae429de
size 57124

3
nbclient-0.3.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fdb1a44c956d6104f8167e4a79ad12a27df97cb64960aa0dfe079c23df1709e4
size 68157

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Jun 9 08:49:18 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.3.1:
* The (async_)start_new_kernel_client method now supports starting a new client when its kernel manager (self.km) is a MultiKernelManager. The method now returns the kernel id in addition to the kernel client. If the kernel manager was a KernelManager, the returned kernel id is None. #51
* Added reset_kc option to reset_execution_trackers, so that the kernel client can be reset and a new one created in calls to (async_)execute #44
* Check that a kernel manager exists before cleaning up the kernel #61
* Force client class to be async when kernel manager is MultiKernelManager #55
* Replace pip install with conda install in Binder #54
-------------------------------------------------------------------
Sun Apr 26 19:33:24 UTC 2020 - Arun Persaud <arun@gmx.de>

View File

@ -19,11 +19,10 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-nbclient
Version: 0.2.0
Version: 0.3.1
Release: 0
Summary: A client library for executing notebooks
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/jupyter/nbclient
Source: https://files.pythonhosted.org/packages/source/n/nbclient/nbclient-%{version}.tar.gz
BuildRequires: %{python_module setuptools >= 38.6.0}
@ -32,6 +31,7 @@ BuildRequires: python-rpm-macros
Requires: python-async_generator
Requires: python-jupyter-client >= 6.1.0
Requires: python-nbformat >= 5.0
Requires: python-nest-asyncio
Requires: python-traitlets >= 4.2
BuildArch: noarch
# SECTION test requirements
@ -43,6 +43,7 @@ BuildRequires: %{python_module ipywidgets}
BuildRequires: %{python_module jupyter-client >= 6.1.0}
BuildRequires: %{python_module nbconvert}
BuildRequires: %{python_module nbformat >= 5.0}
BuildRequires: %{python_module nest-asyncio}
BuildRequires: %{python_module pytest >= 4.1}
BuildRequires: %{python_module testpath}
BuildRequires: %{python_module traitlets >= 4.2}
@ -67,7 +68,8 @@ NBClient is a tool for parameterizing andexecuting Jupyter Notebooks.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
# test_many_parallel_notebooks randomly fails - https://github.com/jupyter/nbclient/pull/74#issuecomment-635929953
%pytest -k 'not test_many_parallel_notebooks'
%files %{python_files}
%doc CHANGELOG.md README.md