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-10-12 18:23:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nbclient (Old) and /work/SRC/openSUSE:Factory/.python-nbclient.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nbclient" Wed Oct 12 18:23:52 2022 rev:25 rq:1009183 version:0.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-nbclient/python-nbclient.changes 2022-09-10 20:17:46.652903980 +0200 +++ /work/SRC/openSUSE:Factory/.python-nbclient.new.2275/python-nbclient.changes 2022-10-12 18:24:58.937708061 +0200 @@ -1,0 +2,8 @@ +Sun Oct 9 17:10:22 UTC 2022 - Arun Persaud <a...@gmx.de> + +- update to version 0.7.0: + * Maintenance and upkeep improvements + + Cleanup CI #254 (@blink1073) + + Handle client 8 support #253 (@blink1073) + +------------------------------------------------------------------- Old: ---- nbclient-0.6.8.tar.gz New: ---- nbclient-0.7.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nbclient.spec ++++++ --- /var/tmp/diff_new_pack.Qv19yI/_old 2022-10-12 18:24:59.429709290 +0200 +++ /var/tmp/diff_new_pack.Qv19yI/_new 2022-10-12 18:24:59.437709310 +0200 @@ -30,7 +30,7 @@ %bcond_with libalternatives %endif Name: python-nbclient%{psuffix} -Version: 0.6.8 +Version: 0.7.0 Release: 0 Summary: A client library for executing notebooks License: BSD-3-Clause ++++++ nbclient-0.6.8.tar.gz -> nbclient-0.7.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbclient-0.6.8/.pre-commit-config.yaml new/nbclient-0.7.0/.pre-commit-config.yaml --- old/nbclient-0.6.8/.pre-commit-config.yaml 2022-09-09 14:35:23.000000000 +0200 +++ new/nbclient-0.7.0/.pre-commit-config.yaml 2022-10-06 18:31:26.000000000 +0200 @@ -22,13 +22,13 @@ - id: trailing-whitespace - repo: https://github.com/asottile/pyupgrade - rev: v2.34.0 + rev: v2.38.2 hooks: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/psf/black - rev: 22.6.0 + rev: 22.8.0 hooks: - id: black @@ -40,24 +40,20 @@ args: [--profile=black] - repo: https://github.com/PyCQA/doc8 - rev: 0.11.2 + rev: v1.0.0 hooks: - id: doc8 args: [--max-line-length=200] - repo: https://github.com/pycqa/flake8 - rev: 4.0.1 + rev: 5.0.4 hooks: - id: flake8 additional_dependencies: - [ - "flake8-bugbear==20.1.4", - "flake8-logging-format==0.6.0", - "flake8-implicit-str-concat==0.2.0", - ] + ["flake8-bugbear==22.6.22", "flake8-implicit-str-concat==0.2.0"] - repo: https://github.com/sirosen/check-jsonschema - rev: 0.16.2 + rev: 0.18.3 hooks: - id: check-jsonschema name: "Check GitHub Workflows" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbclient-0.6.8/CHANGELOG.md new/nbclient-0.7.0/CHANGELOG.md --- old/nbclient-0.6.8/CHANGELOG.md 2022-09-09 14:35:23.000000000 +0200 +++ new/nbclient-0.7.0/CHANGELOG.md 2022-10-06 18:31:35.000000000 +0200 @@ -2,6 +2,25 @@ <!-- <START NEW CHANGELOG ENTRY> --> +## 0.7.0 + +([Full Changelog](https://github.com/jupyter/nbclient/compare/v0.6.8...449f17d0374f43694d2203d216c97dd4ac7f2c0e)) + +### Maintenance and upkeep improvements + +- Cleanup CI [#254](https://github.com/jupyter/nbclient/pull/254) ([@blink1073](https://github.com/blink1073)) +- Handle client 8 support [#253](https://github.com/jupyter/nbclient/pull/253) ([@blink1073](https://github.com/blink1073)) + +### Other merged PRs + +### Contributors to this release + +([GitHub contributors page for this release](https://github.com/jupyter/nbclient/graphs/contributors?from=2022-09-09&to=2022-10-06&type=c)) + +[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fnbclient+involves%3Ablink1073+updated%3A2022-09-09..2022-10-06&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter%2Fnbclient+involves%3Apre-commit-ci+updated%3A2022-09-09..2022-10-06&type=Issues) + +<!-- <END NEW CHANGELOG ENTRY> --> + ## 0.6.8 ([Full Changelog](https://github.com/jupyter/nbclient/compare/v0.6.7...f7d72b2c6937fc30add18b7413f89b691d1710be)) @@ -16,8 +35,6 @@ [@davidbrochart](https://github.com/search?q=repo%3Ajupyter%2Fnbclient+involves%3Adavidbrochart+updated%3A2022-08-23..2022-09-09&type=Issues) | [@frenzymadness](https://github.com/search?q=repo%3Ajupyter%2Fnbclient+involves%3Afrenzymadness+updated%3A2022-08-23..2022-09-09&type=Issues) -<!-- <END NEW CHANGELOG ENTRY> --> - ## 0.6.7 ([Full Changelog](https://github.com/jupyter/nbclient/compare/v0.6.6...979fb908dc133cc80a698c74d9b3d9d8af6c7bde)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbclient-0.6.8/PKG-INFO new/nbclient-0.7.0/PKG-INFO --- old/nbclient-0.6.8/PKG-INFO 2022-09-09 14:35:34.628271600 +0200 +++ new/nbclient-0.7.0/PKG-INFO 2022-10-06 18:31:46.031245000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: nbclient -Version: 0.6.8 +Version: 0.7.0 Summary: A client library for executing notebooks. Formerly nbconvert's ExecutePreprocessor. Home-page: https://jupyter.org Author: Jupyter Development Team diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbclient-0.6.8/nbclient/_version.py new/nbclient-0.7.0/nbclient/_version.py --- old/nbclient-0.6.8/nbclient/_version.py 2022-09-09 14:35:24.000000000 +0200 +++ new/nbclient-0.7.0/nbclient/_version.py 2022-10-06 18:31:32.000000000 +0200 @@ -1,7 +1,7 @@ import re from typing import List, Union -__version__ = "0.6.8" +__version__ = "0.7.0" # 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.6.8/nbclient/client.py new/nbclient-0.7.0/nbclient/client.py --- old/nbclient-0.6.8/nbclient/client.py 2022-09-09 14:35:23.000000000 +0200 +++ new/nbclient-0.7.0/nbclient/client.py 2022-10-06 18:31:26.000000000 +0200 @@ -491,12 +491,6 @@ else: self.km = self.kernel_manager_class(kernel_name=self.kernel_name, config=self.config) assert self.km is not None - - # If the current kernel manager is still using the default (synchronous) KernelClient class, - # switch to the async version since that's what NBClient prefers. - if self.km.client_class == 'jupyter_client.client.KernelClient': - self.km.client_class = 'jupyter_client.asynchronous.AsyncKernelClient' - return self.km async def _async_cleanup_kernel(self) -> None: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbclient-0.6.8/nbclient/tests/test_client.py new/nbclient-0.7.0/nbclient/tests/test_client.py --- old/nbclient-0.6.8/nbclient/tests/test_client.py 2022-09-09 14:35:23.000000000 +0200 +++ new/nbclient-0.7.0/nbclient/tests/test_client.py 2022-10-06 18:31:26.000000000 +0200 @@ -635,6 +635,17 @@ with pytest.raises(TimeoutError): run_notebook(filename, dict(timeout_func=timeout_func), res) + def test_sync_kernel_manager(self): + nb = nbformat.v4.new_notebook() # Certainly has no language_info. + executor = NotebookClient(nb, kernel_name="python", kernel_manager_class=KernelManager) + nb = executor.execute() + assert 'language_info' in nb.metadata + with executor.setup_kernel(): + assert executor.kc is not None + info_msg = executor.wait_for_reply(executor.kc.kernel_info()) + assert info_msg is not None + assert 'name' in info_msg["content"]["language_info"] + def test_kernel_death_after_timeout(self): """Check that an error is raised when the kernel is_alive is false after a cell timed out""" filename = os.path.join(current_dir, 'files', 'Interrupt.ipynb') @@ -653,9 +664,10 @@ return False km.is_alive = is_alive - # Will be a RuntimeError or subclass DeadKernelError depending + # Will be a RuntimeError, TimeoutError, or subclass DeadKernelError + # depending # on if jupyter_client or nbconvert catches the dead client first - with pytest.raises(RuntimeError): + with pytest.raises((RuntimeError, TimeoutError)): input_nb, output_nb = executor.execute() def test_kernel_death_during_execution(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbclient-0.6.8/nbclient.egg-info/PKG-INFO new/nbclient-0.7.0/nbclient.egg-info/PKG-INFO --- old/nbclient-0.6.8/nbclient.egg-info/PKG-INFO 2022-09-09 14:35:34.000000000 +0200 +++ new/nbclient-0.7.0/nbclient.egg-info/PKG-INFO 2022-10-06 18:31:46.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: nbclient -Version: 0.6.8 +Version: 0.7.0 Summary: A client library for executing notebooks. Formerly nbconvert's ExecutePreprocessor. Home-page: https://jupyter.org Author: Jupyter Development Team diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbclient-0.6.8/pyproject.toml new/nbclient-0.7.0/pyproject.toml --- old/nbclient-0.6.8/pyproject.toml 2022-09-09 14:35:24.000000000 +0200 +++ new/nbclient-0.7.0/pyproject.toml 2022-10-06 18:31:32.000000000 +0200 @@ -70,7 +70,7 @@ ignore = [".mailmap", "*.yml", "*.yaml"] [tool.tbump.version] -current = "0.6.8" +current = "0.7.0" regex = ''' (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) ((?P<channel>a|b|rc|.dev)(?P<release>\d+))?