Accepting request 921032 from devel:languages:python:jupyter
- Fix async_parallel_notebooks deselection expression - Add IPYKERNEL_CELL_NAME env var for test sanitization - Only require async_generator for Python < 3.7 - 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 = <IPY-INPUT> #147 (@davidbrochart) * Print useful error message on exception #142 (@certik) OBS-URL: https://build.opensuse.org/request/show/921032 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nbclient?expand=0&rev=10
This commit is contained in:
commit
48a438c324
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c
|
||||
size 78529
|
3
nbclient-0.5.4.tar.gz
Normal file
3
nbclient-0.5.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6c8ad36a28edad4562580847f9f1636fe5316a51a323ed85a24a4ad37d4aefce
|
||||
size 70209
|
@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 22 19:04:07 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Fix async_parallel_notebooks deselection expression
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 19 11:10:00 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- 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 <arun@gmx.de>
|
||||
|
||||
- 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 = <IPY-INPUT> #147 (@davidbrochart)
|
||||
* Print useful error message on exception #142 (@certik)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 8 22:30:04 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -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="<IPY-INPUT>"
|
||||
# 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}
|
||||
|
Loading…
Reference in New Issue
Block a user