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 2021-11-20 02:39:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nbclient (Old) and /work/SRC/openSUSE:Factory/.python-nbclient.new.1895 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nbclient" Sat Nov 20 02:39:18 2021 rev:12 rq:932512 version:0.5.9 Changes: -------- --- /work/SRC/openSUSE:Factory/python-nbclient/python-nbclient.changes 2021-11-15 15:28:25.109857409 +0100 +++ /work/SRC/openSUSE:Factory/.python-nbclient.new.1895/python-nbclient.changes 2021-11-20 02:40:30.840508157 +0100 @@ -1,0 +2,7 @@ +Fri Nov 19 09:52:05 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Update to version 0.5.9 + * Remove jupyter-run, keep jupyter-execute #180 (@davidbrochart) +- Switch to libalternatives + +------------------------------------------------------------------- Old: ---- nbclient-0.5.8.tar.gz New: ---- nbclient-0.5.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nbclient.spec ++++++ --- /var/tmp/diff_new_pack.iGy7CJ/_old 2021-11-20 02:40:31.408506284 +0100 +++ /var/tmp/diff_new_pack.iGy7CJ/_new 2021-11-20 02:40:31.412506270 +0100 @@ -24,10 +24,17 @@ %define psuffix %{nil} %bcond_with test %endif -%{?!python_module:%define python_module() python-%{**} python3-%{**}} + +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif + +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-nbclient%{psuffix} -Version: 0.5.8 +Version: 0.5.9 Release: 0 Summary: A client library for executing notebooks License: BSD-3-Clause @@ -43,8 +50,13 @@ Requires: python-nbformat >= 5.0 Requires: python-nest-asyncio Requires: python-traitlets >= 4.2 +%if %{with libalternatives} +Requires: alts +BuildRequires: alts +%else Requires(post): update-alternatives Requires(postun):update-alternatives +%endif BuildArch: noarch %if %{with test} BuildRequires: %{python_module async_generator if %python-base < 3.7} @@ -69,8 +81,6 @@ %prep %setup -q -n nbclient-%{version} -# conflict with jupyter_client -- https://github.com/jupyter/nbclient/pull/173#issuecomment-968292909 -sed -i '/jupyter-run =/ d' setup.py %build %python_build @@ -90,6 +100,9 @@ %endif %if ! %{with test} +%pre +%python_libalternatives_reset_alternative jupyter-execute + %post %python_install_alternative jupyter-execute ++++++ nbclient-0.5.8.tar.gz -> nbclient-0.5.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbclient-0.5.8/CHANGELOG.md new/nbclient-0.5.9/CHANGELOG.md --- old/nbclient-0.5.8/CHANGELOG.md 2021-11-12 11:31:56.000000000 +0100 +++ new/nbclient-0.5.9/CHANGELOG.md 2021-11-19 10:10:37.000000000 +0100 @@ -2,12 +2,26 @@ <!-- <START NEW CHANGELOG ENTRY> --> -## 0.5.8 +## 0.5.9 -No merged PRs +([Full Changelog](https://github.com/jupyter/nbclient/compare/v0.5.8...0146681d7ffd62cbc675c8d1463a2b016a3d3008)) + +### Merged PRs + +- Remove jupyter-run, keep jupyter-execute [#180](https://github.com/jupyter/nbclient/pull/180) ([@davidbrochart](https://github.com/davidbrochart)) + +### Contributors to this release + +([GitHub contributors page for this release](https://github.com/jupyter/nbclient/graphs/contributors?from=2021-11-12&to=2021-11-19&type=c)) + +[@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 + ## 0.5.7 ([Full Changelog](https://github.com/jupyter/nbclient/compare/0.5.6...d86c404536fb443898b631acaf29ce7ad88b06d9)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbclient-0.5.8/PKG-INFO new/nbclient-0.5.9/PKG-INFO --- old/nbclient-0.5.8/PKG-INFO 2021-11-12 11:32:30.312917200 +0100 +++ new/nbclient-0.5.9/PKG-INFO 2021-11-19 10:11:10.072809500 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: nbclient -Version: 0.5.8 +Version: 0.5.9 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.5.8/docs/client.rst new/nbclient-0.5.9/docs/client.rst --- old/nbclient-0.5.8/docs/client.rst 2021-11-12 11:31:56.000000000 +0100 +++ new/nbclient-0.5.9/docs/client.rst 2021-11-19 10:10:37.000000000 +0100 @@ -173,23 +173,23 @@ 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 run`. 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.:: - jupyter run notebook.ipynb + jupyter execute notebook.ipynb You can pass more than one notebook as well.:: - jupyter run notebook.ipynb notebook2.ipynb + jupyter execute notebook.ipynb notebook2.ipynb By default, notebook errors will be raised and printed into the terminal. You can suppress them by passing the ``--allow-errors`` flag.:: - jupyter run notebook.ipynb --allow-errors + jupyter execute notebook.ipynb --allow-errors Other options allow you to modify the timeout length and dictate the kernel in use. A full set of options is available via the help command.:: - jupyter run --help + jupyter execute --help An application used to execute notebook files (*.ipynb) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbclient-0.5.8/nbclient/_version.py new/nbclient-0.5.9/nbclient/_version.py --- old/nbclient-0.5.8/nbclient/_version.py 2021-11-12 11:32:18.000000000 +0100 +++ new/nbclient-0.5.9/nbclient/_version.py 2021-11-19 10:10:58.000000000 +0100 @@ -1,7 +1,7 @@ import re from typing import List, Union -__version__ = "0.5.8" +__version__ = "0.5.9" # 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.8/nbclient/cli.py new/nbclient-0.5.9/nbclient/cli.py --- old/nbclient-0.5.8/nbclient/cli.py 2021-11-12 11:31:56.000000000 +0100 +++ new/nbclient-0.5.9/nbclient/cli.py 2021-11-19 10:10:37.000000000 +0100 @@ -36,7 +36,7 @@ """ version = __version__ - name = 'jupyter-run' + name = 'jupyter-execute' aliases = nbclient_aliases flags = nbclient_flags @@ -154,21 +154,4 @@ client.execute() -class NbClientAlias(NbClientApp): - """ - An alias to the run command. - """ - - name = 'jupyter-execute' - - @catch_config_error - def initialize(self, argv=None): - print( - "This alias to `jupyter run` may be deprecated in the future. " - "Please switch to using `run`." - ) - super().initialize(argv) - - -run = NbClientApp.launch_instance -execute = NbClientAlias.launch_instance +main = NbClientApp.launch_instance diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbclient-0.5.8/nbclient.egg-info/PKG-INFO new/nbclient-0.5.9/nbclient.egg-info/PKG-INFO --- old/nbclient-0.5.8/nbclient.egg-info/PKG-INFO 2021-11-12 11:32:30.000000000 +0100 +++ new/nbclient-0.5.9/nbclient.egg-info/PKG-INFO 2021-11-19 10:11:09.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: nbclient -Version: 0.5.8 +Version: 0.5.9 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.5.8/nbclient.egg-info/entry_points.txt new/nbclient-0.5.9/nbclient.egg-info/entry_points.txt --- old/nbclient-0.5.8/nbclient.egg-info/entry_points.txt 2021-11-12 11:32:30.000000000 +0100 +++ new/nbclient-0.5.9/nbclient.egg-info/entry_points.txt 2021-11-19 10:11:09.000000000 +0100 @@ -1,4 +1,3 @@ [console_scripts] -jupyter-execute = nbclient.cli:execute -jupyter-run = nbclient.cli:run +jupyter-execute = nbclient.cli:main diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbclient-0.5.8/pyproject.toml new/nbclient-0.5.9/pyproject.toml --- old/nbclient-0.5.8/pyproject.toml 2021-11-12 11:32:18.000000000 +0100 +++ new/nbclient-0.5.9/pyproject.toml 2021-11-19 10:10:58.000000000 +0100 @@ -53,7 +53,7 @@ ignore = [".mailmap", "*.yml", "*.yaml"] [tool.tbump.version] -current = "0.5.8" +current = "0.5.9" 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.8/setup.py new/nbclient-0.5.9/setup.py --- old/nbclient-0.5.8/setup.py 2021-11-12 11:31:56.000000000 +0100 +++ new/nbclient-0.5.9/setup.py 2021-11-19 10:10:37.000000000 +0100 @@ -50,8 +50,7 @@ extras_require=extras_require, entry_points={ 'console_scripts': [ - 'jupyter-run = nbclient.cli:run', - 'jupyter-execute = nbclient.cli:execute', + 'jupyter-execute = nbclient.cli:main', ], }, project_urls={