From 66b0f3b4c1014d034d8887cc8d91a4a47a9f6512b9d40b40a3cb83960439d274 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 6 Jan 2022 12:24:23 +0000 Subject: [PATCH] Accepting request 944228 from home:bnavigator:branches:devel:languages:python:jupyter - 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 OBS-URL: https://build.opensuse.org/request/show/944228 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbconvert?expand=0&rev=33 --- nbconvert-6.3.0.tar.gz | 3 --- nbconvert-6.4.0.tar.gz | 3 +++ nbconvert.pdf | 3 --- nbconvert.zip | 3 --- python-nbconvert.changes | 24 ++++++++++++++++++++++++ python-nbconvert.spec | 31 ++----------------------------- 6 files changed, 29 insertions(+), 38 deletions(-) delete mode 100644 nbconvert-6.3.0.tar.gz create mode 100644 nbconvert-6.4.0.tar.gz delete mode 100644 nbconvert.pdf delete mode 100644 nbconvert.zip diff --git a/nbconvert-6.3.0.tar.gz b/nbconvert-6.3.0.tar.gz deleted file mode 100644 index 1c1d7d2..0000000 --- a/nbconvert-6.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5e77d6203854944520105e38f2563a813a4a3708e8563aa598928a3b5ee1081a -size 900850 diff --git a/nbconvert-6.4.0.tar.gz b/nbconvert-6.4.0.tar.gz new file mode 100644 index 0000000..b0db9dc --- /dev/null +++ b/nbconvert-6.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5412ec774c6db4fccecb8c4ba07ec5d37d6dcf5762593cb3d6ecbbeb562ebbe5 +size 901586 diff --git a/nbconvert.pdf b/nbconvert.pdf deleted file mode 100644 index 23f696b..0000000 --- a/nbconvert.pdf +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:720196ba36473e3fa6bcbb79b1463640730e0e007acb07aba73cfd9adacae0de -size 548761 diff --git a/nbconvert.zip b/nbconvert.zip deleted file mode 100644 index 1b74f30..0000000 --- a/nbconvert.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fbc32a1803eabb59acee50b81e705fe11c285ff42b7a99e7d4c68b3bc0bd1507 -size 8652426 diff --git a/python-nbconvert.changes b/python-nbconvert.changes index eaf0665..e32e608 100644 --- a/python-nbconvert.changes +++ b/python-nbconvert.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Thu Jan 6 11:23:57 UTC 2022 - Ben Greiner + +- 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 diff --git a/python-nbconvert.spec b/python-nbconvert.spec index 3ced4f6..2bf7a2e 100644 --- a/python-nbconvert.spec +++ b/python-nbconvert.spec @@ -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 @@ -34,16 +34,13 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 %define skip_python36 1 -%define doc_ver 6.3.0 Name: python-nbconvert%{psuffix} -Version: 6.3.0 +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 @@ -124,25 +121,12 @@ via Jinja templates. 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 @@ -159,11 +143,6 @@ sed -i -e "/nbclient/ s/,<.*'/'/" setup.py %python_clone -a %{buildroot}%{_bindir}/jupyter-nbconvert %python_clone -a %{buildroot}%{_bindir}/jupyter-dejavu -mkdir -p %{buildroot}%{_docdir}/jupyter-nbconvert - -cp %{SOURCE1} %{buildroot}%{_docdir}/jupyter-nbconvert/ -cp -r docs/html %{buildroot}%{_docdir}/jupyter-nbconvert/ - %python_expand %fdupes %{buildroot}%{$python_sitelib} %fdupes %{buildroot}%{_docdir}/jupyter-nbconvert/ %endif @@ -206,12 +185,6 @@ popd %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