From 127481cc115a255097e94a2a88f2e4895eefb13bbf5b46bebf333577416c316f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 9 Jun 2020 09:07:48 +0000 Subject: [PATCH] - 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 --- nbclient-0.2.0.tar.gz | 3 --- nbclient-0.3.1.tar.gz | 3 +++ python-nbclient.changes | 10 ++++++++++ python-nbclient.spec | 8 +++++--- 4 files changed, 18 insertions(+), 6 deletions(-) delete mode 100644 nbclient-0.2.0.tar.gz create mode 100644 nbclient-0.3.1.tar.gz diff --git a/nbclient-0.2.0.tar.gz b/nbclient-0.2.0.tar.gz deleted file mode 100644 index b7bf815..0000000 --- a/nbclient-0.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:44dde0356def1d9345908c8f58dc604a434f2fe61c49ac13fac6e2da2ae429de -size 57124 diff --git a/nbclient-0.3.1.tar.gz b/nbclient-0.3.1.tar.gz new file mode 100644 index 0000000..45cc9e4 --- /dev/null +++ b/nbclient-0.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdb1a44c956d6104f8167e4a79ad12a27df97cb64960aa0dfe079c23df1709e4 +size 68157 diff --git a/python-nbclient.changes b/python-nbclient.changes index 125a73d..138515f 100644 --- a/python-nbclient.changes +++ b/python-nbclient.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Jun 9 08:49:18 UTC 2020 - Tomáš Chvátal + +- 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 diff --git a/python-nbclient.spec b/python-nbclient.spec index cd9748c..fd91cf5 100644 --- a/python-nbclient.spec +++ b/python-nbclient.spec @@ -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