From da009084d136750b171048a7af1ef4586e5f2c8669c59ba38139f5d887bb0e23 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sat, 15 Jan 2022 19:33:25 +0000 Subject: [PATCH 1/3] Accepting request 946702 from home:bnavigator:branches:devel:languages:python:jupyter - Update to 0.5.10 * Fix ipywidgets version in tests #192 (@martinRenou) * Compatibility with IPython 8 where tracebacks are different #190 (@frenzymadness) * Drop tox #187 (@davidbrochart) * Drop python3.6, test python3.10 #184 (@davidbrochart) * Fix typos #182 (@kianmeng) - Cleanup now unused specfile code for Python 3.6 distributions OBS-URL: https://build.opensuse.org/request/show/946702 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbclient?expand=0&rev=29 --- nbclient-0.5.10.tar.gz | 3 +++ nbclient-0.5.9.tar.gz | 3 --- python-nbclient.changes | 12 ++++++++++++ python-nbclient.spec | 24 ++++++------------------ 4 files changed, 21 insertions(+), 21 deletions(-) create mode 100644 nbclient-0.5.10.tar.gz delete mode 100644 nbclient-0.5.9.tar.gz diff --git a/nbclient-0.5.10.tar.gz b/nbclient-0.5.10.tar.gz new file mode 100644 index 0000000..e350208 --- /dev/null +++ b/nbclient-0.5.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5fdea88d6fa52ca38de6c2361401cfe7aaa7cd24c74effc5e489cec04d79088 +size 73636 diff --git a/nbclient-0.5.9.tar.gz b/nbclient-0.5.9.tar.gz deleted file mode 100644 index 34e65a7..0000000 --- a/nbclient-0.5.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:99e46ddafacd0b861293bf246fed8540a184adfa3aa7d641f89031ec070701e0 -size 74175 diff --git a/python-nbclient.changes b/python-nbclient.changes index f43f693..3bd56cb 100644 --- a/python-nbclient.changes +++ b/python-nbclient.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sat Jan 15 19:17:53 UTC 2022 - Ben Greiner + +- Update to 0.5.10 + * Fix ipywidgets version in tests #192 (@martinRenou) + * Compatibility with IPython 8 where tracebacks are different + #190 (@frenzymadness) + * Drop tox #187 (@davidbrochart) + * Drop python3.6, test python3.10 #184 (@davidbrochart) + * Fix typos #182 (@kianmeng) +- Cleanup now unused specfile code for Python 3.6 distributions + ------------------------------------------------------------------- Sat Jan 8 20:19:58 UTC 2022 - Ben Greiner diff --git a/python-nbclient.spec b/python-nbclient.spec index aa848ad..83f863e 100644 --- a/python-nbclient.spec +++ b/python-nbclient.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,11 +23,6 @@ %else %define psuffix %{nil} %bcond_with test -%if 0%{suse_version} <= 1500 && 0%{?sle_version} <= 150300 -# The requirements are not available in the correct versions -# remove this if you see the :flavor build succeeding -ExclusiveArch: donotbuild -%endif %endif %if 0%{?suse_version} > 1500 @@ -39,18 +34,16 @@ ExclusiveArch: donotbuild %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-nbclient%{psuffix} -Version: 0.5.9 +Version: 0.5.10 Release: 0 Summary: A client library for executing notebooks License: BSD-3-Clause URL: https://github.com/jupyter/nbclient Source: https://files.pythonhosted.org/packages/source/n/nbclient/nbclient-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.7} 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 @@ -64,16 +57,11 @@ Requires(postun):update-alternatives %endif BuildArch: noarch %if %{with test} -BuildRequires: %{python_module async_generator if %python-base < 3.7} +BuildRequires: %{python_module ipykernel} BuildRequires: %{python_module ipython} -BuildRequires: %{python_module ipywidgets} -BuildRequires: %{python_module jupyter-client >= 6.1.5} -BuildRequires: %{python_module nbconvert} -BuildRequires: %{python_module nbformat >= 5.0} -BuildRequires: %{python_module nest-asyncio} +BuildRequires: %{python_module ipywidgets < 8} +BuildRequires: %{python_module nbclient = %{version}} BuildRequires: %{python_module pytest >= 4.1} -BuildRequires: %{python_module testpath} -BuildRequires: %{python_module traitlets >= 4.2} BuildRequires: %{python_module xmltodict} %endif %python_subpackages From 69b0895bf1dd5227c04424004fcd9bb0bda9cc6857620307c08b0d8aaa803c87 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sat, 15 Jan 2022 19:39:46 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbclient?expand=0&rev=30 --- python-nbclient.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-nbclient.spec b/python-nbclient.spec index 83f863e..3554cc6 100644 --- a/python-nbclient.spec +++ b/python-nbclient.spec @@ -89,7 +89,7 @@ NBClient is a tool for parameterizing andexecuting Jupyter Notebooks. %check export IPYKERNEL_CELL_NAME="" # tests on parallel notebooks randomly fail (4 tests) - https://github.com/jupyter/nbclient/pull/74#issuecomment-635929953 -%pytest -k 'not parallel_notebooks' +%pytest -vv -k 'not parallel_notebooks' %endif %if ! %{with test} From 82de29a4751641ac94423c4cf09f74a3ce535750bb7299aa41d3f3bbeca44701 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sat, 15 Jan 2022 20:26:28 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbclient?expand=0&rev=31 --- python-nbclient.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-nbclient.spec b/python-nbclient.spec index 3554cc6..83f863e 100644 --- a/python-nbclient.spec +++ b/python-nbclient.spec @@ -89,7 +89,7 @@ NBClient is a tool for parameterizing andexecuting Jupyter Notebooks. %check export IPYKERNEL_CELL_NAME="" # tests on parallel notebooks randomly fail (4 tests) - https://github.com/jupyter/nbclient/pull/74#issuecomment-635929953 -%pytest -vv -k 'not parallel_notebooks' +%pytest -k 'not parallel_notebooks' %endif %if ! %{with test}