Hello community,
here is the log from the commit of package python-nbconvert for
openSUSE:Factory checked in at 2019-08-13 20:33:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbconvert (Old)
and /work/SRC/openSUSE:Factory/.python-nbconvert.new.9556 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nbconvert"
Tue Aug 13 20:33:25 2019 rev:2 rq:722422 version:5.6.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbconvert/python-nbconvert.changes
2019-05-22 11:12:38.494576022 +0200
+++
/work/SRC/openSUSE:Factory/.python-nbconvert.new.9556/python-nbconvert.changes
2019-08-13 20:33:32.639247978 +0200
@@ -1,0 +2,34 @@
+Sun Aug 11 03:24:23 UTC 2019 - Todd R <[email protected]>
+
+- Update to 5.6.0
+ + New Features
+ * Make a default global location for custom user templates
+ * Parallel execution improvements
+ * Added ``store_history`` option to ``preprocess_cell`` and ``run_cell``
+ * Simplify the function signature for preprocess()
+ * Set flag to not always stop kernel execution on errors
+ * ``setup_preprocessor`` passes kwargs to ``start_new_kernel``
+ + Fixing Problems
+ * Very fast stream outputs no longer drop some messages
+ * LaTeX errors now properly raise exceptions
+ * Improve template whitespacing
+ * Fixes for character in LaTeX exports and filters
+ * Mistune pinned in preparation for 2.0 release
+ * Require mock only on Python 2
+ * Fix selection of mimetype when converting to HTML
+ * Correct a few typos
+ * Update ``export_from_notebook`` names
+ * Dedenting html in ExtractOutputPreprocessor
+ * Fix backwards incompatibility with markdown2html
+ * Fixed html image tagging
+ * Remove unnecessary css
+ + Testing, Docs, and Builds
+ * Pip-install nbconvert on readthedocs.org
+ * Fix various doc build issues
+ * Add issue templates
+ * Added instructions for bumping the version forward when releasing
+ * Fix Testing on Windows
+ * Refactored ``test_run_notebooks``
+ * Fixed documentation typos
+
+-------------------------------------------------------------------
Old:
----
nbconvert-5.5.0.tar.gz
New:
----
nbconvert-5.6.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-nbconvert.spec ++++++
--- /var/tmp/diff_new_pack.uOU51K/_old 2019-08-13 20:33:34.883247331 +0200
+++ /var/tmp/diff_new_pack.uOU51K/_new 2019-08-13 20:33:34.915247321 +0200
@@ -17,9 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define doc_ver 5.4
+%define doc_ver 5.6.0
Name: python-nbconvert
-Version: 5.5.0
+Version: 5.6.0
Release: 0
Summary: Conversion of Jupyter Notebooks
License: BSD-3-Clause
@@ -28,15 +28,20 @@
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
-# Test requirements
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+BuildRequires: unzip
+# SECTION test requirements
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 >= 4.2}
+BuildRequires: %{python_module jupyter_client >= 5.3.1}
BuildRequires: %{python_module jupyter_core}
BuildRequires: %{python_module mistune >= 0.7.4}
BuildRequires: %{python_module mock}
@@ -44,28 +49,24 @@
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pandocfilters >= 1.4.1}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module testpath}
BuildRequires: %{python_module tornado >= 4.0}
BuildRequires: %{python_module traitlets >= 4.2}
-BuildRequires: fdupes
-BuildRequires: python-rpm-macros
-BuildRequires: unzip
+# /SECTION
Requires: jupyter-nbconvert = %{version}
-# Python 2 test requirements
Requires: python-Jinja2
Requires: python-Pygments
Requires: python-bleach
Requires: python-defusedxml
Requires: python-entrypoints >= 0.2.2
Requires: python-jupyter_core
+Requires: python-jupyter_client >= 5.3.1
Requires: python-mistune >= 0.7.4
Requires: python-nbformat >= 4.4
Requires: python-pandocfilters >= 1.4.1
Requires: python-testpath
Requires: python-traitlets >= 4.2
Recommends: pandoc
-Recommends: python-jupyter_client >= 4.2
Recommends: python-tornado >= 4.0
Suggests: %{name}-latex
Provides: python-jupyter_nbconvert = %{version}
@@ -129,40 +130,33 @@
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
%build
%python_build
%install
%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
-
-%{python_expand chmod a+x
%{buildroot}%{$python_sitelib}/nbconvert/nbconvertapp.py
-chmod a+x %{buildroot}%{$python_sitelib}/nbconvert/filters/filter_links.py
-sed -i "s|^#!%{_bindir}/env python$|#!%{__$python}|"
%{buildroot}%{$python_sitelib}/nbconvert/nbconvertapp.py
-sed -i "s|^#!%{_bindir}/env python3$|#!%{__$python}|"
%{buildroot}%{$python_sitelib}/nbconvert/filters/filter_links.py
-$python -m compileall -d %{$python_sitelib}
%{buildroot}%{$python_sitelib}/nbconvert/
-$python -O -m compileall -d %{$python_sitelib}
%{buildroot}%{$python_sitelib}/nbconvert/
-$python -m compileall -d %{$python_sitelib}
%{buildroot}%{$python_sitelib}/nbconvert/filters/
-$python -O -m compileall -d %{$python_sitelib}
%{buildroot}%{$python_sitelib}/nbconvert/filters/
-%fdupes %{buildroot}%{$python_sitelib}
-}
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/
%check
pushd docs
export LANG=en_US.UTF-8
+export PYTHONDONTWRITEBYTECODE=1
# test_run_notebooks disabled until IPython 7 incompatibility in tests fixed.
# See https://github.com/jupyter/nbconvert/issues/898
+# parallel notebooks don't work reliably on python 2.x
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-$python -m ipykernel.kernelspec --user
-%pytest --pyargs -k 'not (test_svg_handling or test_run_notebooks)' nbconvert
+$python -B -m ipykernel.kernelspec --user
+%pytest --pyargs -k 'not (test_svg_handling or test_run_notebooks or
test_parallel_notebooks or test_many_parallel_notebooks)' nbconvert
}
popd
++++++ nbconvert-5.5.0.tar.gz -> nbconvert-5.6.0.tar.gz ++++++
++++ 2850 lines of diff (skipped)
++++++ nbconvert.pdf ++++++
(binary differes)
++++++ nbconvert.zip ++++++
Binary files /var/tmp/diff_new_pack.uOU51K/_old and
/var/tmp/diff_new_pack.uOU51K/_new differ