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-09-26 18:48:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbconvert (Old)
 and      /work/SRC/openSUSE:Factory/.python-nbconvert.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nbconvert"

Mon Sep 26 18:48:02 2022 rev:15 rq:1005929 version:7.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbconvert/python-nbconvert.changes        
2022-08-11 18:33:17.638200044 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-nbconvert.new.2275/python-nbconvert.changes  
    2022-09-26 18:48:03.536037832 +0200
@@ -1,0 +2,29 @@
+Sun Sep 25 23:02:48 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Update to version 7.0.0
+  * Update to Mistune 2.0.2 by @TiagodePAlves in #1764
+  * Clean up markdown parsing by @blink1073 in #1774
+  * Switch to hatch build backend by @blink1073 in #1777
+  * switch from entrypoints to importlib-metadata by @konstin in
+    #1782
+  * Add recursive flag for glob notebook search by @paoloalba in
+    #1785
+  * Updates for sphinx 5.0 support by @blink1073 in #1788
+  * Fixed unique div ids in lab template, fixed #1759 by @veghdev
+    in #1761
+  * WebPDFExporter: Emulate media print by @martinRenou in #1791
+  * Fix fonts overriden by user stylesheet by inheriting styles by
+    @dakoop in #1793
+  * Fix lab template output alignment by @dakoop in #1795
+  * Add qtpdf and qtpng exporters by @davidbrochart in #1611
+  * Fix linters by @martinRenou in #1825
+  * Remove downloaded CSS from repository by @martinRenou in #1827
+  * escape_html: prevent escaping quotes on widgets JSON reprs
+    (#1829) by @martinRenou in #1830
+  * Remove tests from bdist by @TiagodePAlves in #1822
+  * Encode SVG image data as UTF-8 before calling lxml cleaner
+    (fixes #1836) by @emarsden in #1837
+  * Handle nbformat 5.5 by @blink1073 in #1841
+- Drop nbconvert-vendorize-mistune.patch and mistune 0.8.4 sources.
+
+-------------------------------------------------------------------

Old:
----
  mistune-0.8.4.tar.gz
  nbconvert-6.5.3.tar.gz
  nbconvert-vendorize-mistune.patch

New:
----
  nbconvert-7.0.0.tar.gz
  style.min.css

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-nbconvert.spec ++++++
--- /var/tmp/diff_new_pack.w6lIS0/_old  2022-09-26 18:48:04.096038890 +0200
+++ /var/tmp/diff_new_pack.w6lIS0/_new  2022-09-26 18:48:04.100038898 +0200
@@ -29,25 +29,22 @@
 %else
 %bcond_with libalternatives
 %endif
-%{?!python_module:%define python_module() python3-%{**}}
+
 Name:           python-nbconvert%{psuffix}
-Version:        6.5.3
+Version:        7.0.0
 Release:        0
 Summary:        Conversion of Jupyter Notebooks
-License:        BSD-3-Clause
+License:        BSD-3-Clause AND MIT
 URL:            https://github.com/jupyter/nbconvert
 Source0:        
https://files.pythonhosted.org/packages/source/n/nbconvert/nbconvert-%{version}.tar.gz
-# 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
+# See hatch_build.py
+# License10: MIT
+Source10:       https://cdn.jupyter.org/notebook/5.4.0/style/style.min.css
 # PATCH-FIX-OPENSUSE ignore-bleach-deprecation-test.patch -- ignore warning 
that we don't have bleach5 yet
-Patch2:         ignore-bleach-deprecation-test.patch
+Patch0:         ignore-bleach-deprecation-test.patch
 BuildRequires:  %{python_module base >= 3.7}
-BuildRequires:  %{python_module beautifulsoup4}
-BuildRequires:  %{python_module lxml}
-BuildRequires:  %{python_module packaging}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module hatchling >= 0.25}
+BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
@@ -58,7 +55,6 @@
 Requires:       python-beautifulsoup4
 Requires:       python-bleach
 Requires:       python-defusedxml
-Requires:       python-entrypoints >= 0.2.2
 Requires:       python-jupyter-core >= 4.7
 Requires:       python-jupyterlab-pygments
 Requires:       python-lxml
@@ -68,9 +64,14 @@
 Requires:       python-pandocfilters >= 1.4.1
 Requires:       python-tinycss2
 Requires:       python-traitlets >= 5.0
+Requires:       (python-mistune >= 2.0.3 with python-mistune < 3)
+%if 0%{python_version_nodots} < 310
+Requires:       python-importlib-metadata >= 3.6
+%endif
 Recommends:     pandoc
 Recommends:     python-tornado >= 6.1
 Suggests:       %{name}-latex
+Suggests:       python-qtwebengine-qt5 >= 5.15
 Provides:       python-jupyter_nbconvert = %{version}
 Obsoletes:      python-jupyter_nbconvert < %{version}
 BuildArch:      noarch
@@ -128,26 +129,25 @@
 This package pulls in the LaTeX dependencies for nbconvert.
 
 %prep
-%setup -q -n nbconvert-%{version} -b3
-
-mkdir nbconvert/vendor
-touch nbconvert/vendor/__init__.py
-cp ../mistune-0.8.4/mistune.py nbconvert/vendor/
-%patch1 -p1
-sed -i -e '/^#!\//, 1d' nbconvert/nbconvertapp.py
-sed -i -e '/^#!\//, 1d' nbconvert/filters/filter_links.py
-%patch2 -p1
+%autosetup -p1 -n nbconvert-%{version}
+for f in nbconvert/nbconvertapp.py nbconvert/filters/filter_links.py; do
+  sed -i -e '/^#!\//, 1d' $f
+  chmod -x $f
+done
+mkdir share/templates/classic/static
+cp %{SOURCE10} share/templates/classic/static/style.css
+sed -i '/addopts/ s/--color=yes//' pyproject.toml
 
 %build
-%python_build
+%if ! %{with test}
+%pyproject_wheel
+%endif
 
 %install
 %if ! %{with test}
-%python_install
-
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/jupyter-nbconvert
 %python_clone -a %{buildroot}%{_bindir}/jupyter-dejavu
-
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %fdupes %{buildroot}%{_docdir}/jupyter-nbconvert/
 %endif
@@ -155,10 +155,15 @@
 %if %{with test}
 %check
 export LANG=en_US.UTF-8
+# not test_webpdf: no pyppeteer, not even offline
+donttest="test_webpdf"
+# requires modules not installed: 
https://github.com/jupyter/nbconvert/issues/1846
+donttest="$donttest or test_convert_full_qualified_name or test_post_processor"
+# nbformat error
+donttest="$donttest or test_empty_code_cell"
 %{python_expand # installed package in :test flavor
 $python -B -m ipykernel.kernelspec --user
-# not test_webpdf: no pyppeteer, not even offline
-pytest-%{$python_bin_suffix} -v -m 'not network' -k "not test_webpdf" --pyargs 
nbconvert
+pytest-%{$python_bin_suffix} -v -m 'not network' -k "not ($donttest)" --pyargs 
nbconvert
 }
 %endif
 

++++++ nbconvert-6.5.3.tar.gz -> nbconvert-7.0.0.tar.gz ++++++
++++ 50642 lines of diff (skipped)

++++++ style.min.css ++++++
++++ 12937 lines (skipped)

Reply via email to