Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-nbclient for openSUSE:Factory
checked in at 2022-01-15 21:45:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbclient (Old)
and /work/SRC/openSUSE:Factory/.python-nbclient.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nbclient"
Sat Jan 15 21:45:21 2022 rev:15 rq:946703 version:0.5.10
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbclient/python-nbclient.changes
2022-01-08 23:25:16.186312484 +0100
+++
/work/SRC/openSUSE:Factory/.python-nbclient.new.1892/python-nbclient.changes
2022-01-15 21:45:48.209633270 +0100
@@ -1,0 +2,12 @@
+Sat Jan 15 19:17:53 UTC 2022 - Ben Greiner <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------
Old:
----
nbclient-0.5.9.tar.gz
New:
----
nbclient-0.5.10.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-nbclient.spec ++++++
--- /var/tmp/diff_new_pack.jBHIf3/_old 2022-01-15 21:45:48.609633481 +0100
+++ /var/tmp/diff_new_pack.jBHIf3/_new 2022-01-15 21:45:48.621633487 +0100
@@ -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 @@
%{?!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 @@
%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
++++++ nbclient-0.5.9.tar.gz -> nbclient-0.5.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/CHANGELOG.md
new/nbclient-0.5.10/CHANGELOG.md
--- old/nbclient-0.5.9/CHANGELOG.md 2021-11-19 10:10:37.000000000 +0100
+++ new/nbclient-0.5.10/CHANGELOG.md 2022-01-13 21:34:31.000000000 +0100
@@ -2,6 +2,28 @@
<!-- <START NEW CHANGELOG ENTRY> -->
+## 0.5.10
+
+([Full
Changelog](https://github.com/jupyter/nbclient/compare/v0.5.9...e82c5d8d064ac1097f4e12f387b4c47ea5c576ff))
+
+### Merged PRs
+
+- Fix ipywidgets version in tests
[#192](https://github.com/jupyter/nbclient/pull/192)
([@martinRenou](https://github.com/martinRenou))
+- Compatibility with IPython 8 where tracebacks are different
[#190](https://github.com/jupyter/nbclient/pull/190)
([@frenzymadness](https://github.com/frenzymadness))
+- Drop tox [#187](https://github.com/jupyter/nbclient/pull/187)
([@davidbrochart](https://github.com/davidbrochart))
+- Update README [#185](https://github.com/jupyter/nbclient/pull/185)
([@davidbrochart](https://github.com/davidbrochart))
+- Drop python3.6, test python3.10
[#184](https://github.com/jupyter/nbclient/pull/184)
([@davidbrochart](https://github.com/davidbrochart))
+- Fix typos [#182](https://github.com/jupyter/nbclient/pull/182)
([@kianmeng](https://github.com/kianmeng))
+- Use codecov Github action v2
[#168](https://github.com/jupyter/nbclient/pull/168)
([@takluyver](https://github.com/takluyver))
+
+### Contributors to this release
+
+([GitHub contributors page for this
release](https://github.com/jupyter/nbclient/graphs/contributors?from=2021-11-19&to=2022-01-13&type=c))
+
+[@davidbrochart](https://github.com/search?q=repo%3Ajupyter%2Fnbclient+involves%3Adavidbrochart+updated%3A2021-11-19..2022-01-13&type=Issues)
|
[@frenzymadness](https://github.com/search?q=repo%3Ajupyter%2Fnbclient+involves%3Afrenzymadness+updated%3A2021-11-19..2022-01-13&type=Issues)
|
[@kianmeng](https://github.com/search?q=repo%3Ajupyter%2Fnbclient+involves%3Akianmeng+updated%3A2021-11-19..2022-01-13&type=Issues)
|
[@martinRenou](https://github.com/search?q=repo%3Ajupyter%2Fnbclient+involves%3AmartinRenou+updated%3A2021-11-19..2022-01-13&type=Issues)
|
[@takluyver](https://github.com/search?q=repo%3Ajupyter%2Fnbclient+involves%3Atakluyver+updated%3A2021-11-19..2022-01-13&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
## 0.5.9
([Full
Changelog](https://github.com/jupyter/nbclient/compare/v0.5.8...0146681d7ffd62cbc675c8d1463a2b016a3d3008))
@@ -16,8 +38,6 @@
[@davidbrochart](https://github.com/search?q=repo%3Ajupyter%2Fnbclient+involves%3Adavidbrochart+updated%3A2021-11-12..2021-11-19&type=Issues)
-<!-- <END NEW CHANGELOG ENTRY> -->
-
## 0.5.8
No merged PRs
@@ -109,7 +129,7 @@
### Fixes
- Fix `OSError: [WinError 6] The handle is invalid` for windows/python<3.7
[#77](https://github.com/jupyter/nbclient/pull/77)
-- Async wapper Exceptions no longer loose thier caused exception information
[#65](https://github.com/jupyter/nbclient/pull/65)
+- Async wapper Exceptions no longer loose their caused exception information
[#65](https://github.com/jupyter/nbclient/pull/65)
- `extra_arguments` are now configurable by config settings
[#66](https://github.com/jupyter/nbclient/pull/66)
### Operational
@@ -143,7 +163,7 @@
### Major Changes
- Async support is now available on the client. Methods that support async
have an `async_` prefix and can be awaited
[#10](https://github.com/jupyter/nbclient/pull/10)
[#35](https://github.com/jupyter/nbclient/pull/35)
[#37](https://github.com/jupyter/nbclient/pull/37)
[#38](https://github.com/jupyter/nbclient/pull/38)
-- Dropped support for Python 3.5 due to async compatability issues
[#34](https://github.com/jupyter/nbclient/pull/34)
+- Dropped support for Python 3.5 due to async compatibility issues
[#34](https://github.com/jupyter/nbclient/pull/34)
- Notebook documents now include the [new kernel timing
fields](https://github.com/jupyter/nbformat/pull/144)
[#32](https://github.com/jupyter/nbclient/pull/32)
### Fixes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/PKG-INFO new/nbclient-0.5.10/PKG-INFO
--- old/nbclient-0.5.9/PKG-INFO 2021-11-19 10:11:10.072809500 +0100
+++ new/nbclient-0.5.10/PKG-INFO 2022-01-13 21:35:03.114851200 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: nbclient
-Version: 0.5.9
+Version: 0.5.10
Summary: A client library for executing notebooks. Formerly nbconvert's
ExecutePreprocessor.
Home-page: https://jupyter.org
Author: Jupyter Development Team
@@ -20,14 +20,13 @@
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
-Requires-Python: >=3.6.1
+Classifier: Programming Language :: Python :: 3.10
+Requires-Python: >=3.7.0
Description-Content-Type: text/markdown
Provides-Extra: test
-Provides-Extra: dev
Provides-Extra: sphinx
License-File: LICENSE
@@ -35,10 +34,10 @@
[](https://github.com/jupyter/nbclient/actions)
[](https://nbclient.readthedocs.io/en/latest/?badge=latest)
[](https://codecov.io/github/jupyter/nbclient?branch=master)
-[](https://www.python.org/downloads/release/python-360/)
[](https://www.python.org/downloads/release/python-370/)
[](https://www.python.org/downloads/release/python-380/)
[](https://www.python.org/downloads/release/python-390/)
+[](https://www.python.org/downloads/release/python-3100/)
[](https://github.com/ambv/black)
# nbclient
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/README.md
new/nbclient-0.5.10/README.md
--- old/nbclient-0.5.9/README.md 2021-11-19 10:10:37.000000000 +0100
+++ new/nbclient-0.5.10/README.md 2022-01-13 21:34:31.000000000 +0100
@@ -2,10 +2,10 @@
[](https://github.com/jupyter/nbclient/actions)
[](https://nbclient.readthedocs.io/en/latest/?badge=latest)
[](https://codecov.io/github/jupyter/nbclient?branch=master)
-[](https://www.python.org/downloads/release/python-360/)
[](https://www.python.org/downloads/release/python-370/)
[](https://www.python.org/downloads/release/python-380/)
[](https://www.python.org/downloads/release/python-390/)
+[](https://www.python.org/downloads/release/python-3100/)
[](https://github.com/ambv/black)
# nbclient
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/docs/client.rst
new/nbclient-0.5.10/docs/client.rst
--- old/nbclient-0.5.9/docs/client.rst 2021-11-19 10:10:37.000000000 +0100
+++ new/nbclient-0.5.10/docs/client.rst 2022-01-13 21:34:31.000000000 +0100
@@ -173,7 +173,7 @@
This section will illustrate how to run notebooks from your terminal. It
supports the most basic use case. For more sophisticated execution options,
consider the `papermill <https://pypi.org/project/papermill/>`_ library.
-This library's command line tool is available by running `jupyter execute`. It
expects notebooks as input arguments and accepts optional flags to modify the
default behavior.
+This library's command line tool is available by running ``jupyter execute``.
It expects notebooks as input arguments and accepts optional flags to modify
the default behavior.
Running a notebook is this easy.::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/nbclient/_version.py
new/nbclient-0.5.10/nbclient/_version.py
--- old/nbclient-0.5.9/nbclient/_version.py 2021-11-19 10:10:58.000000000
+0100
+++ new/nbclient-0.5.10/nbclient/_version.py 2022-01-13 21:34:51.000000000
+0100
@@ -1,7 +1,7 @@
import re
from typing import List, Union
-__version__ = "0.5.9"
+__version__ = "0.5.10"
# Build up version_info tuple for backwards compatibility
pattern = r'(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/nbclient/cli.py
new/nbclient-0.5.10/nbclient/cli.py
--- old/nbclient-0.5.9/nbclient/cli.py 2021-11-19 10:10:37.000000000 +0100
+++ new/nbclient-0.5.10/nbclient/cli.py 2022-01-13 21:34:31.000000000 +0100
@@ -4,7 +4,7 @@
from textwrap import dedent
import nbformat
-from jupyter_core.application import JupyterApp
+from jupyter_core.application import JupyterApp # type: ignore
from traitlets import Bool, Integer, List, Unicode, default
from traitlets.config import catch_config_error
@@ -132,7 +132,7 @@
# Get its parent directory so we can add it to the $PATH
path = pathlib.Path(notebook_path).parent.absolute()
- # Set the intput file paths
+ # Set the input file paths
input_path = f"{name}.ipynb"
# Open up the notebook we're going to run
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/nbclient/client.py
new/nbclient-0.5.10/nbclient/client.py
--- old/nbclient-0.5.9/nbclient/client.py 2021-11-19 10:10:37.000000000
+0100
+++ new/nbclient-0.5.10/nbclient/client.py 2022-01-13 21:34:31.000000000
+0100
@@ -1,21 +1,13 @@
+import asyncio
import atexit
import base64
import collections
import datetime
import signal
-from textwrap import dedent
-
-try:
- from contextlib import asynccontextmanager
-except ImportError:
- # Use the backport package async-generator for Python < 3.7.
- # This should be removed when nbclient drops support for Python 3.6
- from async_generator import asynccontextmanager # type: ignore
-
-import asyncio
import typing as t
-from contextlib import contextmanager
+from contextlib import asynccontextmanager, contextmanager
from queue import Empty
+from textwrap import dedent
from time import monotonic
from jupyter_client import KernelManager
@@ -338,7 +330,7 @@
# maps to list of hooks, where the last is used, this is used
# to support nested use of output widgets.
self.output_hook_stack: t.Any = collections.defaultdict(list)
- # our front-end mimicing Output widgets
+ # our front-end mimicking Output widgets
self.comm_objects: t.Dict[str, t.Any] = {}
def create_kernel_manager(self) -> KernelManager:
@@ -729,7 +721,7 @@
return None
wait_for_reply = run_sync(async_wait_for_reply)
- # Backwards compatability naming for papermill
+ # Backwards compatibility naming for papermill
_wait_for_reply = wait_for_reply
def _passed_deadline(self, deadline: int) -> bool:
@@ -929,7 +921,7 @@
parent_msg_id = msg['parent_header'].get('msg_id')
if self.output_hook_stack[parent_msg_id]:
- # if we have a hook registered, it will overrride our
+ # if we have a hook registered, it will override our
# default output behaviour (e.g. OutputWidget)
hook = self.output_hook_stack[parent_msg_id][-1]
hook.output(outs, msg, display_id, cell_index)
@@ -964,7 +956,7 @@
parent_msg_id = msg['parent_header'].get('msg_id')
if self.output_hook_stack[parent_msg_id]:
- # if we have a hook registered, it will overrride our
+ # if we have a hook registered, it will override our
# default clear_output behaviour (e.g. OutputWidget)
hook = self.output_hook_stack[parent_msg_id][-1]
hook.clear_output(outs, msg, cell_index)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' "old/nbclient-0.5.9/nbclient/tests/files/Parallel
Execute A.ipynb" "new/nbclient-0.5.10/nbclient/tests/files/Parallel Execute
A.ipynb"
--- "old/nbclient-0.5.9/nbclient/tests/files/Parallel Execute A.ipynb"
2021-11-19 10:10:37.000000000 +0100
+++ "new/nbclient-0.5.10/nbclient/tests/files/Parallel Execute A.ipynb"
2022-01-13 21:34:31.000000000 +0100
@@ -7,7 +7,7 @@
"# Ensure notebooks can execute in parallel\n",
"\n",
"This notebook uses a file system based \"lock\" to assert that two
instances of the notebook kernel will run in parallel. Each instance writes to
a file in a temporary directory, and then tries to read the other file from\n",
- "the temporary directory, so that running them in sequence will fail, but
running them in parallel will succed.\n",
+ "the temporary directory, so that running them in sequence will fail, but
running them in parallel will succeed.\n",
"\n",
"Two notebooks are launched, each which sets the `this_notebook` variable.
One notebook is set to `this_notebook = 'A'` and the other `this_notebook =
'B'`."
]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' "old/nbclient-0.5.9/nbclient/tests/files/Parallel
Execute B.ipynb" "new/nbclient-0.5.10/nbclient/tests/files/Parallel Execute
B.ipynb"
--- "old/nbclient-0.5.9/nbclient/tests/files/Parallel Execute B.ipynb"
2021-11-19 10:10:37.000000000 +0100
+++ "new/nbclient-0.5.10/nbclient/tests/files/Parallel Execute B.ipynb"
2022-01-13 21:34:31.000000000 +0100
@@ -7,7 +7,7 @@
"# Ensure notebooks can execute in parallel\n",
"\n",
"This notebook uses a file system based \"lock\" to assert that two
instances of the notebook kernel will run in parallel. Each instance writes to
a file in a temporary directory, and then tries to read the other file from\n",
- "the temporary directory, so that running them in sequence will fail, but
running them in parallel will succed.\n",
+ "the temporary directory, so that running them in sequence will fail, but
running them in parallel will succeed.\n",
"\n",
"Two notebooks are launched, each which sets the `this_notebook` variable.
One notebook is set to `this_notebook = 'A'` and the other `this_notebook =
'B'`."
]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/nbclient/tests/test_client.py
new/nbclient-0.5.10/nbclient/tests/test_client.py
--- old/nbclient-0.5.9/nbclient/tests/test_client.py 2021-11-19
10:10:37.000000000 +0100
+++ new/nbclient-0.5.10/nbclient/tests/test_client.py 2022-01-13
21:34:31.000000000 +0100
@@ -13,13 +13,13 @@
import nbformat
import pytest
-import xmltodict
+import xmltodict # type: ignore
from ipython_genutils.py3compat import string_types
from jupyter_client import KernelManager
from jupyter_client.kernelspec import KernelSpecManager
-from nbconvert.filters import strip_ansi
+from nbconvert.filters import strip_ansi # type: ignore
from nbformat import NotebookNode
-from testpath import modified_env
+from testpath import modified_env # type: ignore
from traitlets import TraitError
from .. import NotebookClient, execute
@@ -27,8 +27,11 @@
from .base import NBClientTestsBase
addr_pat = re.compile(r'0x[0-9a-f]{7,9}')
-ipython_input_pat = re.compile(r'<ipython-input-\d+-[0-9a-f]+>')
current_dir = os.path.dirname(__file__)
+ipython_input_pat = re.compile(r'<ipython-input-\d+-[0-9a-f]+>')
+# Tracebacks look different in IPython 8,
+# see:
https://github.com/ipython/ipython/blob/master/docs/source/whatsnew/version8.rst#traceback-improvements
# noqa
+ipython8_input_pat = re.compile(r'Input In \[\d+\],')
class AsyncMock(Mock):
@@ -201,10 +204,11 @@
if isinstance(value, string_types):
output['data'][key] = normalize_base64(value)
if 'traceback' in output:
- tb = [
- re.sub(ipython_input_pat, '<IPY-INPUT>', strip_ansi(line))
- for line in output['traceback']
- ]
+ tb = []
+ for line in output["traceback"]:
+ line = re.sub(ipython_input_pat, '<IPY-INPUT>', strip_ansi(line))
+ line = re.sub(ipython8_input_pat, '<IPY-INPUT>', strip_ansi(line))
+ tb.append(line)
output['traceback'] = tb
return output
@@ -408,7 +412,7 @@
nb = nbformat.v4.new_notebook()
executor = NotebookClient(nb)
with executor.setup_kernel():
- # Prove it initalized client
+ # Prove it initialized client
assert executor.kc is not None
# Prove it removed the client (and hopefully cleaned up)
assert executor.kc is None
@@ -420,7 +424,7 @@
executor = NotebookClient(nb, km=km)
executor.start_new_kernel()
kc = executor.start_new_kernel_client()
- # prove it initalized client
+ # prove it initialized client
assert kc is not None
# since we are not using the setup_kernel context manager,
# cleanup has to be done manually
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/nbclient/util.py
new/nbclient-0.5.10/nbclient/util.py
--- old/nbclient-0.5.9/nbclient/util.py 2021-11-19 10:10:37.000000000 +0100
+++ new/nbclient-0.5.10/nbclient/util.py 2022-01-13 21:34:31.000000000
+0100
@@ -32,9 +32,9 @@
import tornado.concurrent # type: ignore
if asyncio.Future not in tornado.concurrent.FUTURES:
- tornado.concurrent.FUTURES = tornado.concurrent.FUTURES + (
+ tornado.concurrent.FUTURES = tornado.concurrent.FUTURES + ( #
type: ignore
asyncio.Future,
- ) # type: ignore
+ )
def just_run(coro: Awaitable) -> Any:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/nbclient.egg-info/PKG-INFO
new/nbclient-0.5.10/nbclient.egg-info/PKG-INFO
--- old/nbclient-0.5.9/nbclient.egg-info/PKG-INFO 2021-11-19
10:11:09.000000000 +0100
+++ new/nbclient-0.5.10/nbclient.egg-info/PKG-INFO 2022-01-13
21:35:03.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: nbclient
-Version: 0.5.9
+Version: 0.5.10
Summary: A client library for executing notebooks. Formerly nbconvert's
ExecutePreprocessor.
Home-page: https://jupyter.org
Author: Jupyter Development Team
@@ -20,14 +20,13 @@
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
-Requires-Python: >=3.6.1
+Classifier: Programming Language :: Python :: 3.10
+Requires-Python: >=3.7.0
Description-Content-Type: text/markdown
Provides-Extra: test
-Provides-Extra: dev
Provides-Extra: sphinx
License-File: LICENSE
@@ -35,10 +34,10 @@
[](https://github.com/jupyter/nbclient/actions)
[](https://nbclient.readthedocs.io/en/latest/?badge=latest)
[](https://codecov.io/github/jupyter/nbclient?branch=master)
-[](https://www.python.org/downloads/release/python-360/)
[](https://www.python.org/downloads/release/python-370/)
[](https://www.python.org/downloads/release/python-380/)
[](https://www.python.org/downloads/release/python-390/)
+[](https://www.python.org/downloads/release/python-3100/)
[](https://github.com/ambv/black)
# nbclient
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/nbclient.egg-info/SOURCES.txt
new/nbclient-0.5.10/nbclient.egg-info/SOURCES.txt
--- old/nbclient-0.5.9/nbclient.egg-info/SOURCES.txt 2021-11-19
10:11:10.000000000 +0100
+++ new/nbclient-0.5.10/nbclient.egg-info/SOURCES.txt 2022-01-13
21:35:03.000000000 +0100
@@ -10,7 +10,6 @@
requirements.txt
setup.cfg
setup.py
-tox.ini
docs/Makefile
docs/UPDATE.md
docs/client.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/nbclient.egg-info/requires.txt
new/nbclient-0.5.10/nbclient.egg-info/requires.txt
--- old/nbclient-0.5.9/nbclient.egg-info/requires.txt 2021-11-19
10:11:09.000000000 +0100
+++ new/nbclient-0.5.10/nbclient.egg-info/requires.txt 2022-01-13
21:35:03.000000000 +0100
@@ -3,30 +3,6 @@
nbformat>=5.0
nest_asyncio
-[:python_version < "3.7"]
-async_generator
-
-[dev]
-codecov
-coverage
-ipython
-ipykernel
-ipywidgets
-pytest>=4.1
-pytest-cov>=2.6.1
-check-manifest
-flake8
-mypy
-tox
-xmltodict
-pip>=18.1
-wheel>=0.31.0
-setuptools>=38.6.0
-twine>=1.11.0
-
-[dev:python_version >= "3.6"]
-black
-
[sphinx]
Sphinx>=1.7
sphinx-book-theme
@@ -35,22 +11,17 @@
myst-parser
[test]
-codecov
-coverage
ipython
ipykernel
-ipywidgets
+ipywidgets<8.0.0
pytest>=4.1
pytest-cov>=2.6.1
check-manifest
flake8
mypy
-tox
xmltodict
+black
pip>=18.1
wheel>=0.31.0
setuptools>=38.6.0
twine>=1.11.0
-
-[test:python_version >= "3.6"]
-black
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/pyproject.toml
new/nbclient-0.5.10/pyproject.toml
--- old/nbclient-0.5.9/pyproject.toml 2021-11-19 10:10:58.000000000 +0100
+++ new/nbclient-0.5.10/pyproject.toml 2022-01-13 21:34:51.000000000 +0100
@@ -53,7 +53,7 @@
ignore = [".mailmap", "*.yml", "*.yaml"]
[tool.tbump.version]
-current = "0.5.9"
+current = "0.5.10"
regex = '''
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
((?P<channel>a|b|rc|.dev)(?P<release>\d+))?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/requirements-dev.txt
new/nbclient-0.5.10/requirements-dev.txt
--- old/nbclient-0.5.9/requirements-dev.txt 2021-11-19 10:10:37.000000000
+0100
+++ new/nbclient-0.5.10/requirements-dev.txt 2022-01-13 21:34:31.000000000
+0100
@@ -1,16 +1,13 @@
-codecov
-coverage
ipython
ipykernel
-ipywidgets
+ipywidgets<8.0.0
pytest>=4.1
pytest-cov>=2.6.1
check-manifest
flake8
mypy
-tox
xmltodict
-black; python_version >= '3.6'
+black
pip>=18.1
wheel>=0.31.0
setuptools>=38.6.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/requirements.txt
new/nbclient-0.5.10/requirements.txt
--- old/nbclient-0.5.9/requirements.txt 2021-11-19 10:10:37.000000000 +0100
+++ new/nbclient-0.5.10/requirements.txt 2022-01-13 21:34:31.000000000
+0100
@@ -1,5 +1,4 @@
traitlets>=4.2
jupyter_client>=6.1.5
nbformat>=5.0
-async_generator; python_version<'3.7'
nest_asyncio
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/setup.py new/nbclient-0.5.10/setup.py
--- old/nbclient-0.5.9/setup.py 2021-11-19 10:10:37.000000000 +0100
+++ new/nbclient-0.5.10/setup.py 2022-01-13 21:34:31.000000000 +0100
@@ -11,9 +11,6 @@
name = 'nbclient'
local_path = os.path.dirname(__file__)
-# Fix for tox which manipulates execution pathing
-if not local_path:
- local_path = '.'
here = os.path.abspath(local_path)
@@ -31,7 +28,7 @@
requirements = read(os.path.join(os.path.dirname(__file__),
"requirements.txt"))
dev_reqs = read_reqs(os.path.join(os.path.dirname(__file__),
'requirements-dev.txt'))
doc_reqs = read_reqs(os.path.join(os.path.dirname(__file__),
'docs/requirements-doc.txt'))
-extras_require = {"test": dev_reqs, "dev": dev_reqs, "sphinx": doc_reqs}
+extras_require = {"test": dev_reqs, "sphinx": doc_reqs}
setup(
name=name,
@@ -45,7 +42,7 @@
long_description_content_type='text/markdown',
packages=['nbclient'],
include_package_data=True,
- python_requires=">=3.6.1",
+ python_requires=">=3.7.0",
install_requires=requirements,
extras_require=extras_require,
entry_points={
@@ -69,9 +66,9 @@
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
+ 'Programming Language :: Python :: 3.10',
],
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbclient-0.5.9/tox.ini new/nbclient-0.5.10/tox.ini
--- old/nbclient-0.5.9/tox.ini 2021-11-19 10:10:37.000000000 +0100
+++ new/nbclient-0.5.10/tox.ini 1970-01-01 01:00:00.000000000 +0100
@@ -1,61 +0,0 @@
-[tox]
-skipsdist = true
-envlist = py{36,37,38, 39}, mypy, dist, docs
-
-[gh-actions]
-python =
- 3.6: py36
- 3.7: py37
- 3.8: py38
- 3.9: py39, mypy, dist
-
-# Type check
-[testenv:mypy]
-skip_install = true
-deps = mypy
-commands = mypy nbclient/client.py nbclient/exceptions.py nbclient/__init__.py
nbclient/jsonutil.py nbclient/output_widget.py nbclient/util.py
nbclient/_version.py
-
-# Docs
-[testenv:docs]
-description = invoke sphinx-build to build the HTML docs
-deps =
- .[dev]
- -r docs/requirements-doc.txt
-extras = docs
-commands =
- sphinx-build -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/docs_out"
--color -W -bhtml {posargs}
- python -c 'import pathlib; print("documentation available under
file://\{0\}".format(pathlib.Path(r"{toxworkdir}") / "docs_out" /
"index.html"))'
-
-# Distro
-[testenv:dist]
-skip_install = true
-# Have to use /bin/bash or the `*` will cause that argument to get quoted by
the tox command line...
-commands =
- python setup.py sdist --dist-dir={distdir} bdist_wheel --dist-dir={distdir}
- /bin/bash -c 'python -m pip install -U --force-reinstall
{distdir}/nbclient*.whl'
- /bin/bash -c 'python -m pip install -U --force-reinstall --no-deps
{distdir}/nbclient*.tar.gz'
-
-[testenv]
-# disable Python's hash randomization for tests that stringify dicts, etc
-setenv =
- PYTHONHASHSEED = 0
-passenv = *
-basepython =
- py36: python3.6
- py37: python3.7
- py38: python3.8
- py39: python3.9
- mypy: python3.9
- binder: python3.9
- dist: python3.9
- docs: python3.9
-deps = .[dev]
-commands =
- pytest -vv --maxfail=2 --cov=nbclient --cov-report=xml -W always {posargs}
-
-# Binder
-[testenv:binder]
-description = ensure /binder/*ipynb are runnable
-deps =
- -r binder/requirements.txt
-commands = python -c "from glob import glob; from nbclient import execute;
import nbformat as nbf; [execute(nbf.read(input, nbf.NO_CONVERT),
cwd='./binder') for input in glob('binder/**/*.ipynb')]"