Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-nbconvert for openSUSE:Factory checked in at 2022-01-08 23:23:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nbconvert (Old) and /work/SRC/openSUSE:Factory/.python-nbconvert.new.1892 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nbconvert" Sat Jan 8 23:23:18 2022 rev:10 rq:944834 version:6.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-nbconvert/python-nbconvert.changes 2022-01-03 10:49:56.703592523 +0100 +++ /work/SRC/openSUSE:Factory/.python-nbconvert.new.1892/python-nbconvert.changes 2022-01-08 23:23:45.058238096 +0100 @@ -1,0 +2,36 @@ +Fri Jan 7 22:23:39 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Don't build on Python 3.6 (SLE/Leap backports safeguard) + +------------------------------------------------------------------- +Thu Jan 6 11:23:57 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Update to 6.4.0 + * Optionally speed up validation by @gwincr11 in #1672 + * Adding missing div compared to JupyterLab DOM structure by + @SylvainCorlay in #1678 + * Allow passing extra args to code highlighter by @yuvipanda in + #1683 + * Prevent page breaks in outputs when printing by @SylvainCorlay + in #1679 + * Add collapsers to template by @SylvainCorlay in #1689 + * Fix recent pandoc latex tables by adding calc and array (#1536, + #1566) by @cgevans in #1686 + * Add an invalid notebook error by @gwincr11 in #1675 + * Fix typos in execute.py by @TylerAnderson22 in #1692 + * Modernize latex greek math handling (partially fixes #1673) by + @cgevans in #1687 + * Fix use of deprecated API and update test matrix by @blink1073 + in #1696 + * Update nbconvert_library.ipynb by @letterphile in #1695 + * Changelog for 6.4 by @blink1073 in #1697 +- Remove the doc package + +------------------------------------------------------------------- +Fri Dec 31 16:57:55 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Now update to 6.3.0 + * traitlets 5 is ready + * for changelog see below + +------------------------------------------------------------------- @@ -28,0 +65,60 @@ + - Feature: support static widgets in Reveal.js slides PR + #1553: + - Feature: add speaker notes to Reveal.js template + - Add correct output mimetype to WebPDF exporter + - Set mimetype for webpdf correctly + - Fix docstring issue and a broken link + - Add CLI example for removing cell tag syntax + - Include output of stdin stream in lab template + - Don???t use a shell to call inkscape + - JupyterLab export as HTML with widgets fails to load + widgets + - Move note inside Reveal.js HTML slideshow + - fix issue 1507: broken command line option + ???CSSHTMLHeaderPreprocessor.style= + - Fix order of template paths + - Changed documentation of external_exporters + - Fix template precedence when using a custom template + - add pip to docs envt + - Fix CI By Adding PIP to conda envt for docs build + - Explicitly install pip in docs environment.yml + - small update to docs hide cell + - Allow child templates to override mathjax + - Allow get_export_names to skip configuration check + - Update docs: Tex Live package on Ubuntu + - Test jupyter_client + - Update jupyterlab css + - Webpdf: Use a temporary file instead of an URL + - Applied patch for marking network changes + - Change webpdf display name + - Allow disabling pyppeteer sandbox + - Make pagination configurable in webpdf + - Fix Reveal.js version in documentation + - Fix dangling reference to get_template_paths() + - Solved svg2pdf conversion error if Inkscape is installed + into the default path on a windows machine + - Update version dependency of traitlets + - Update execute.py + - Fix code output indentation when running nbconvert + ???no-input + - #1428 add docstring + - Update nbconvert_library.ipynb + - Supports isolated iframe when converting to HTML + +------------------------------------------------------------------- +Thu Dec 30 18:01:32 UTC 2021 - Matej Cepl <mc...@suse.com> + +- Upgrade to the version 6.3.0: + - Bugfixes: + - Update state filter + - Add slide numbering + - Fix HTML templates mentioned in help docs + - Add the ability to fully customize widget_renderer_url + - Enable users to customize MathJax URLs + - Add CLI configuration for disable-chromium-sandbox + - Enables webpdf to be rendered with templates + - Adds dejavu + - Significant Changes + - Dropped Python 3.6 and added Python 3.9 + - Convert execute preprocessor wrapper to resemble papermill + - Comprehensive notes Old: ---- nbconvert-6.0.7.tar.gz nbconvert.pdf nbconvert.zip New: ---- nbconvert-6.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nbconvert.spec ++++++ --- /var/tmp/diff_new_pack.MCFn29/_old 2022-01-08 23:23:46.514239284 +0100 +++ /var/tmp/diff_new_pack.MCFn29/_new 2022-01-08 23:23:46.518239288 +0100 @@ -1,7 +1,7 @@ # -# spec file for package python-nbconvert +# 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 @@ -25,42 +25,43 @@ %bcond_with test %endif -# Note: only update to > 6.0 when there is no python36 Jupyter stack anymore +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif + %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -%define doc_ver 6.0.7 Name: python-nbconvert%{psuffix} -Version: 6.0.7 +Version: 6.4.0 Release: 0 Summary: Conversion of Jupyter Notebooks License: BSD-3-Clause URL: https://github.com/jupyter/nbconvert Source0: https://files.pythonhosted.org/packages/source/n/nbconvert/nbconvert-%{version}.tar.gz -Source1: https://media.readthedocs.org/pdf/nbconvert/%{doc_ver}/nbconvert.pdf -Source2: https://media.readthedocs.org/htmlzip/nbconvert/%{doc_ver}/nbconvert.zip # License Source3: BSD-3-Clause Source3: https://files.pythonhosted.org/packages/source/m/mistune/mistune-0.8.4.tar.gz # PATCH-FIX-OPENSUSE nbconvert-vendorize-mistune.patch -- gh#jupyter/nbconvert#1685 Patch1: nbconvert-vendorize-mistune.patch +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip Requires: jupyter-nbconvert = %{version} -Requires: python-Jinja2 -Requires: python-Pygments +Requires: python-Jinja2 >= 2.4 +Requires: python-Pygments >= 2.4.1 Requires: python-bleach Requires: python-defusedxml Requires: python-entrypoints >= 0.2.2 -Requires: python-jupyter-client >= 5.3.1 Requires: python-jupyter-core Requires: python-jupyterlab-pygments -Requires: python-mistune >= 0.7.4 Requires: python-nbclient >= 0.5 Requires: python-nbformat >= 4.4 Requires: python-pandocfilters >= 1.4.1 Requires: python-testpath -Requires: python-traitlets >= 4.2 +Requires: python-traitlets >= 5.0 %if %{with libalternatives} Requires: alts BuildRequires: alts @@ -75,27 +76,10 @@ Obsoletes: python-jupyter_nbconvert < %{version} BuildArch: noarch %if %{with test} -BuildRequires: %{python_module Jinja2} -BuildRequires: %{python_module Pebble} -BuildRequires: %{python_module Pygments} -BuildRequires: %{python_module bleach} -BuildRequires: %{python_module defusedxml} -BuildRequires: %{python_module entrypoints >= 0.2.2} BuildRequires: %{python_module ipykernel} -BuildRequires: %{python_module ipywidgets} -BuildRequires: %{python_module jupyter-client >= 5.3.1} -BuildRequires: %{python_module jupyter-core} -BuildRequires: %{python_module jupyterlab-pygments} -BuildRequires: %{python_module mistune >= 0.7.4} -BuildRequires: %{python_module mock} -BuildRequires: %{python_module nbclient >= 0.5} -BuildRequires: %{python_module nbconvert} -BuildRequires: %{python_module nbformat >= 4.4} -BuildRequires: %{python_module pandocfilters >= 1.4.1} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module testpath} -BuildRequires: %{python_module tornado >= 4.0} -BuildRequires: %{python_module traitlets >= 4.2} +BuildRequires: %{python_module ipywidgets >= 7} +BuildRequires: %{python_module nbconvert = %{version}} +BuildRequires: %{python_module pytest-dependency} %endif %python_subpackages @@ -108,7 +92,6 @@ %package -n jupyter-nbconvert Summary: Conversion of Jupyter Notebooks Requires: jupyter-ipykernel -Requires: jupyter-jupyter-client >= 4.2 Requires: jupyter-jupyter-core Requires: jupyter-nbformat >= 4.4 Requires: python3-nbconvert = %{version} @@ -138,25 +121,12 @@ This package pulls in the LaTeX dependencies for nbconvert. -%package -n jupyter-nbconvert-doc -Summary: Documentation for Jupyter's notebook converter -Provides: %{python_module jupyter_nbconvert-doc = %{version}} -Provides: %{python_module nbconvert-doc = %{version}} -Obsoletes: %{python_module jupyter_nbconvert-doc < %{version}} - -%description -n jupyter-nbconvert-doc -Documentation and help files for Jupyter's notebook converter. - %prep %autosetup -p1 -n nbconvert-%{version} -b3 -cp %{SOURCE1} . mkdir nbconvert/vendor touch nbconvert/vendor/__init__.py cp ../mistune-0.8.4/mistune.py nbconvert/vendor/ -unzip %{SOURCE2} -d docs -mv docs/nbconvert-* docs/html -rm docs/html/.buildinfo sed -i -e '/^#!\//, 1d' nbconvert/nbconvertapp.py sed -i -e '/^#!\//, 1d' nbconvert/filters/filter_links.py @@ -171,11 +141,7 @@ %python_install %python_clone -a %{buildroot}%{_bindir}/jupyter-nbconvert - -mkdir -p %{buildroot}%{_docdir}/jupyter-nbconvert - -cp %{SOURCE1} %{buildroot}%{_docdir}/jupyter-nbconvert/ -cp -r docs/html %{buildroot}%{_docdir}/jupyter-nbconvert/ +%python_clone -a %{buildroot}%{_bindir}/jupyter-dejavu %python_expand %fdupes %{buildroot}%{$python_sitelib} %fdupes %{buildroot}%{_docdir}/jupyter-nbconvert/ @@ -198,7 +164,7 @@ %python_libalternatives_reset_alternative jupyter-nbconvert %post -%python_install_alternative jupyter-nbconvert +%python_install_alternative jupyter-nbconvert jupyter-dejavu %postun %python_uninstall_alternative jupyter-nbconvert @@ -206,9 +172,10 @@ %files %{python_files} %license LICENSE %doc README.md -%{python_sitelib}/nbconvert-%{version}-py*.egg-info +%{python_sitelib}/nbconvert-%{version}*-info %{python_sitelib}/nbconvert/ %python_alternative %{_bindir}/jupyter-nbconvert +%python_alternative %{_bindir}/jupyter-dejavu %files -n jupyter-nbconvert %license LICENSE @@ -218,12 +185,6 @@ %files -n jupyter-nbconvert-latex %license LICENSE - -%files -n jupyter-nbconvert-doc -%license LICENSE -%dir %{_docdir}/jupyter-nbconvert/ -%{_docdir}/jupyter-nbconvert/nbconvert.pdf -%{_docdir}/jupyter-nbconvert/html %endif %changelog ++++++ nbconvert-6.0.7.tar.gz -> nbconvert-6.4.0.tar.gz ++++++ ++++ 11394 lines of diff (skipped) ++++++ nbconvert-vendorize-mistune.patch ++++++ --- /var/tmp/diff_new_pack.MCFn29/_old 2022-01-08 23:23:46.702239438 +0100 +++ /var/tmp/diff_new_pack.MCFn29/_new 2022-01-08 23:23:46.702239438 +0100 @@ -1,7 +1,7 @@ -Index: nbconvert-6.0.7/nbconvert/filters/markdown_mistune.py +Index: nbconvert-6.3.0/nbconvert/filters/markdown_mistune.py =================================================================== ---- nbconvert-6.0.7.orig/nbconvert/filters/markdown_mistune.py -+++ nbconvert-6.0.7/nbconvert/filters/markdown_mistune.py +--- nbconvert-6.3.0.orig/nbconvert/filters/markdown_mistune.py ++++ nbconvert-6.3.0/nbconvert/filters/markdown_mistune.py @@ -18,7 +18,7 @@ except ImportError: # Python 2 from cgi import escape as html_escape @@ -11,10 +11,10 @@ from pygments import highlight from pygments.lexers import get_lexer_by_name -Index: nbconvert-6.0.7/setup.py +Index: nbconvert-6.3.0/setup.py =================================================================== ---- nbconvert-6.0.7.orig/setup.py -+++ nbconvert-6.0.7/setup.py +--- nbconvert-6.3.0.orig/setup.py ++++ nbconvert-6.3.0/setup.py @@ -212,7 +212,6 @@ setup_args = dict( )