Hello community,
here is the log from the commit of package python-jupyter_notebook for
openSUSE:Factory checked in at 2018-10-01 08:19:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_notebook (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_notebook.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_notebook"
Mon Oct 1 08:19:00 2018 rev:14 rq:638902 version:5.7.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_notebook/python-jupyter_notebook.changes
2018-08-03 12:39:40.251780961 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter_notebook.new/python-jupyter_notebook.changes
2018-10-01 08:19:07.001902725 +0200
@@ -1,0 +2,27 @@
+Fri Sep 28 03:58:22 UTC 2018 - Todd R <[email protected]>
+
+- Update to version 5.7.0
+ + New features:
+ * Update to CodeMirror to 5.37, which includes f-string sytax for Python
3.6 (:ghpull:`3816`)
+ * Update jquery-ui to 1.12 (:ghpull:`3836`)
+ * Check Host header to more securely protect localhost deployments from
DNS rebinding.
+ This is a pre-emptive measure, not fixing a known vulnerability
(:ghpull:`3766`).
+ Use ``.NotebookApp.allow_remote_access`` and
``.NotebookApp.local_hostnames`` to configure
+ access.
+ * Allow access-control-allow-headers to be overridden (:ghpull:`3886`)
+ * Allow configuring max_body_size and max_buffer_size (:ghpull:`3829`)
+ * Allow configuring get_secure_cookie keyword-args (:ghpull:`3778`)
+ * Respect nbconvert entrypoints as sources for exporters (:ghpull:`3879`)
+ * Include translation sources in source distributions (:ghpull:`3925`,
:ghpull:`3931`)
+ * Various improvements to documentation (:ghpull:`3799`, :ghpull:`3800`,
+ :ghpull:`3806`, :ghpull:`3883`, :ghpull:`3908`)
+ + Fixing problems:
+ * Fix breadcrumb link when running with a base url (:ghpull:`3905`)
+ * Fix possible type error when closing activity stream (:ghpull:`3907`)
+ * Disable metadata editing for non-editable cells (:ghpull:`3744`)
+ * Fix some styling and alignment of prompts caused by regressions in 5.6.0.
+ * Enter causing page reload in shortcuts editor (:ghpull:`3871`)
+ * Fix uploading to the same file twice (:ghpull:`3712`)
+ * Drop -doc subpackage. Use pre-built upstream docs instead.
+
+-------------------------------------------------------------------
Old:
----
notebook-5.6.0.tar.gz
python-jupyter_notebook-doc.changes
python-jupyter_notebook-doc.spec
New:
----
jupyter-notebook.pdf
jupyter-notebook.zip
notebook-5.7.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_notebook.spec ++++++
--- /var/tmp/diff_new_pack.TcDxyQ/_old 2018-10-01 08:19:07.857902179 +0200
+++ /var/tmp/diff_new_pack.TcDxyQ/_new 2018-10-01 08:19:07.857902179 +0200
@@ -18,19 +18,43 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jupyter_notebook
-Version: 5.6.0
+Version: 5.7.0
Release: 0
Summary: Jupyter Notebook
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/jupyter/notebook
-Source:
https://files.pythonhosted.org/packages/source/n/notebook/notebook-%{version}.tar.gz
-BuildRequires: %{python_module devel}
+Source0:
https://files.pythonhosted.org/packages/source/n/notebook/notebook-%{version}.tar.gz
+Source1:
https://media.readthedocs.org/pdf/jupyter-notebook/%{version}/jupyter-notebook.pdf
+Source2:
https://media.readthedocs.org/htmlzip/jupyter-notebook/%{version}/jupyter-notebook.zip
BuildRequires: %{python_module jupyter_core}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: python-rpm-macros
+BuildRequires: unzip
+# SECTION test requirements
+BuildRequires: %{python_module Jinja2}
+BuildRequires: %{python_module Send2Trash}
+BuildRequires: %{python_module ipython_genutils}
+BuildRequires: %{python_module jupyter_client >= 5.2.0}
+BuildRequires: %{python_module jupyter_core}
+BuildRequires: %{python_module jupyter_ipykernel}
+BuildRequires: %{python_module jupyter_nbconvert}
+BuildRequires: %{python_module jupyter_nbformat}
+BuildRequires: %{python_module nose-exclude}
+BuildRequires: %{python_module nose_warnings_filters}
+BuildRequires: %{python_module nose}
+BuildRequires: %{python_module prometheus_client}
+BuildRequires: %{python_module requests}
+BuildRequires: %{python_module terminado >= 0.3.3}
+BuildRequires: %{python_module tornado >= 4}
+BuildRequires: %{python_module traitlets >= 4.2.1}
+# /SECTION
+# SECTION Python 2.7 test requirements
+BuildRequires: python-ipaddress
+BuildRequires: python-mock
+# /SECTION
Requires: python-Jinja2
Requires: python-Send2Trash
Requires: python-ipython_genutils
@@ -49,6 +73,7 @@
Recommends: python-jupyter_ipywidgets
Suggests: %{name}-latex
BuildArch: noarch
+
%python_subpackages
%description
@@ -64,8 +89,21 @@
This package pulls in the LaTeX dependencies for the Jupyter Notebook.
+%package -n %{name}-doc
+Summary: Documentation for %{name}
+Group: Documentation/Other
+Provides: %{python_module jupyter_notebook-doc = %{version}}
+
+%description -n %{name}-doc
+Documentation and help files for %{name}.
+
%prep
%setup -q -n notebook-%{version}
+cp %{SOURCE1} .
+unzip %{SOURCE2} -d docs
+mv docs/jupyter-notebook-* docs/html
+rm docs/html/.buildinfo
+%fdupes docs/html/
%build
%python_build
@@ -88,16 +126,17 @@
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/
cp docs/resources/ipynb.iconset/icon_${x}x${x}.png
%{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/JupyterNotebook.png
done
-
-%post -n %{python3_prefix}-jupyter_notebook
-%icon_theme_cache_post
-
-%postun -n %{python3_prefix}-jupyter_notebook
-%icon_theme_cache_postun
+mkdir -p %{buildroot}%{_docdir}/%{name}/
+cp -r docs/html %{buildroot}%{_docdir}/%{name}/
+%fdupes %{buildroot}%{_docdir}/%{name}/html/
+
+%check
+export LANG=en_US.UTF-8
+%python_expand nosetests-%{$python_bin_suffix} --exclude-dir
notebook/tests/selenium
%files %{python_files}
-%defattr(-,root,root,-)
%doc README.md
+%exclude %{_docdir}/%{name}/html/
%license COPYING.md
%python3_only %{_bindir}/jupyter-bundlerextension
%python3_only %{_bindir}/jupyter-nbextension
@@ -105,15 +144,22 @@
%python3_only %{_bindir}/jupyter-serverextension
%python3_only %{_datadir}/icons/hicolor/*/apps/JupyterNotebook.*
%dir %{_datadir}/jupyter/nbextensions
-%dir %{_sysconfdir}/jupyter/jupyter_notebook_config.d//
+%dir %{_sysconfdir}/jupyter/jupyter_notebook_config.d/
%dir %{_sysconfdir}/jupyter/nbconfig/
%dir %{_sysconfdir}/jupyter/nbconfig/notebook.d/
%dir %{_sysconfdir}/jupyter/nbextensions/
-%{python_sitelib}/*
+%{python_sitelib}/notebook-*-py*.egg-info
+%{python_sitelib}/notebook/
+# %%lang(fr_FR) %%{python_sitelib}/notebook/18n/fr_FR/
+# %%lang(zh_CN) %%{python_sitelib}/notebook/18n/zh_CN/
%files %{python_files latex}
-%defattr(-,root,root,-)
-%doc README.md
%license COPYING.md
+%files -n %{name}-doc
+%license COPYING.md
+%doc jupyter-notebook.pdf
+%dir %{_docdir}/%{name}/
+%{_docdir}/%{name}/html/
+
%changelog
++++++ notebook-5.6.0.tar.gz -> notebook-5.7.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-jupyter_notebook/notebook-5.6.0.tar.gz
/work/SRC/openSUSE:Factory/.python-jupyter_notebook.new/notebook-5.7.0.tar.gz
differ: char 5, line 1