diff --git a/nbclient-0.5.3.tar.gz b/nbclient-0.5.3.tar.gz deleted file mode 100644 index 09a1a41..0000000 --- a/nbclient-0.5.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c -size 78529 diff --git a/nbclient-0.5.4.tar.gz b/nbclient-0.5.4.tar.gz new file mode 100644 index 0000000..5a2b461 --- /dev/null +++ b/nbclient-0.5.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c8ad36a28edad4562580847f9f1636fe5316a51a323ed85a24a4ad37d4aefce +size 70209 diff --git a/python-nbclient.changes b/python-nbclient.changes index b7ff208..43e2df6 100644 --- a/python-nbclient.changes +++ b/python-nbclient.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sun Sep 19 11:10:00 UTC 2021 - Ben Greiner + +- Add IPYKERNEL_CELL_NAME env var for test sanitization +- Only require async_generator for Python < 3.7 + +------------------------------------------------------------------- +Wed Sep 15 05:46:38 UTC 2021 - Arun Persaud + +- update to version 0.5.4: + * Replace km.cleanup with km.cleanup_resources #152 (@davidbrochart) + * Use async generator backport only on old python #154 (@mkoeppe) + * Support parsing of IPython dev version #150 (@cphyc) + * Set IPYKERNEL_CELL_NAME = #147 (@davidbrochart) + * Print useful error message on exception #142 (@certik) + ------------------------------------------------------------------- Thu Apr 8 22:30:04 UTC 2021 - Ben Greiner diff --git a/python-nbclient.spec b/python-nbclient.spec index 6de8dbe..2271688 100644 --- a/python-nbclient.spec +++ b/python-nbclient.spec @@ -1,5 +1,5 @@ # -# spec file for package python-nbclient +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -24,11 +24,10 @@ %define psuffix %{nil} %bcond_with test %endif - %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-nbclient%{psuffix} -Version: 0.5.3 +Version: 0.5.4 Release: 0 Summary: A client library for executing notebooks License: BSD-3-Clause @@ -37,14 +36,16 @@ Source: https://files.pythonhosted.org/packages/source/n/nbclient/nbclie BuildRequires: %{python_module setuptools >= 38.6.0} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if 0%{?python_version_nodots} < 37 Requires: python-async_generator +%endif Requires: python-jupyter-client >= 6.1.5 Requires: python-nbformat >= 5.0 Requires: python-nest-asyncio Requires: python-traitlets >= 4.2 BuildArch: noarch %if %{with test} -BuildRequires: %{python_module async_generator} +BuildRequires: %{python_module async_generator if %python-base < 3.7} BuildRequires: %{python_module ipython} BuildRequires: %{python_module ipywidgets} BuildRequires: %{python_module jupyter-client >= 6.1.5} @@ -66,7 +67,6 @@ NBClient is a tool for parameterizing andexecuting Jupyter Notebooks. %prep %setup -q -n nbclient-%{version} -rm -r nbclient/tests/files/.ipynb_checkpoints %build %python_build @@ -79,8 +79,9 @@ rm -r nbclient/tests/files/.ipynb_checkpoints %if %{with test} %check -# test_many_parallel_notebooks randomly fails - https://github.com/jupyter/nbclient/pull/74#issuecomment-635929953 -%pytest -k 'not test_many_parallel_notebooks' +export IPYKERNEL_CELL_NAME="" +# tests on parallel notebooks randomly fail - https://github.com/jupyter/nbclient/pull/74#issuecomment-635929953 +%pytest -k 'not test_many_parallel_notebooks or test_async_parallel_notebooks' %endif %if ! %{with test}