Hello community,
here is the log from the commit of package python3-jupyter_notebook for
openSUSE:Factory checked in at 2017-04-20 20:51:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-jupyter_notebook (Old)
and /work/SRC/openSUSE:Factory/.python3-jupyter_notebook.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-jupyter_notebook"
Thu Apr 20 20:51:29 2017 rev:8 rq:486648 version:5.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python3-jupyter_notebook/python3-jupyter_notebook-doc.changes
2016-10-28 10:46:05.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python3-jupyter_notebook.new/python3-jupyter_notebook-doc.changes
2017-04-20 20:51:33.794761701 +0200
@@ -1,0 +2,104 @@
+Fri Apr 7 19:37:49 UTC 2017 - [email protected]
+
+- Update to version 5.0.0
+ * Files in the dashboard may now be sorted by last modified date or name
(:ghpull:`943`):
+ * There is a new cell toolbar for adding *cell tags* (:ghpull:`2048`):
+ * The default styling for tables in the notebook has been updated
(:ghpull:`1776`).
+ * You can now edit keyboard shortcuts for *Command Mode* within the UI
+ * You can copy and paste cells between notebooks, using :kbd:`Ctrl-C` and
+ :kbd:`Ctrl-V` (:kbd:`Cmd-C` and :kbd:`Cmd-V` on Mac).
+ * It's easier to configure a password for the notebook with the new
+ ``jupyter notebook password`` command (:ghpull:`2007`).
+ * The file list can now be ordered by *last modified* or by *name*
+ (:ghpull:`943`).
+ * Markdown cells now support attachments. Simply drag and drop an image from
+ your desktop to a markdown cell to add it. Unlike relative links that you
+ enter manually, attachments are embedded in the notebook itself. An
+ unreferenced attachment will be automatically scrubbed from the notebook on
+ save (:ghpull:`621`).
+ * Undoing cell deletion now supports undeleting multiple cells. Cells may
not be
+ in the same order as before their deletion, depending on the actions you
did
+ on the meantime, but this should should help reduce the impact of
+ accidentally deleting code.
+ * The file browser now has *Edit* and *View* buttons.
+ * The file browser now supports moving multiple files at once
+ (:ghpull:`1088`).
+ * The Notebook will refuse to run as root unless the ``--allow-root`` flag is
+ given (:ghpull:`1115`).
+ * Keyboard shortcuts are now declarative (:ghpull:`1234`).
+ * Toggling line numbers can now affect all cells (:ghpull:`1312`).
+ * Add more visible *Trusted* and *Untrusted* notifications (:ghpull:`1658`).
+ * The favicon (browser shortcut icon) now changes to indicate when the
kernel is busy
+ (:ghpull:`1837`).
+ * Header and toolbar visibility is now persisted in nbconfig and across
sessions
+ (:ghpull:`1769`).
+ * Load server extensions with ConfigManager so that merge happens
recursively,
+ unlike normal config values, to make it load more consistently with
frontend
+ extensions(:ghpull:`2108`).
+ * The notebook server now supports the `bundler API
+
<http://jupyter-notebook.readthedocs.io/en/latest/extending/bundler_extensions.html>`__
+ from the `jupyter_cms incubator project
+ <https://github.com/jupyter-incubator/contentmanagement>`__
(:ghpull:`1579`).
+ * The notebook server now provides information about kernel activity in
+ its kernel resource API (:ghpull:`1827`).
+- Update to 4.4.0
+ * Allow override of output callbacks to redirect output messages. This is
used to implement the ipywidgets Output widget, for example.
+ * Fix an async bug in message handling by allowing comm message handlers to
return a promise which halts message processing until the promise resolves.
+- Update to 4.3.2
+ * Monkey-patch for CodeMirror that resolves `#2037
<https://github.com/jupyter/notebook/issues/2037>`__ without breaking `#1967
<https://github.com/jupyter/notebook/issues/1967>`__
+ * Read-only (``"editable": false``) cells can be executed but cannot be
split, merged, or deleted
+- Update to 4.3.1
+ * CVE-2016-9971. Fix CSRF vulnerability,
+ where malicious forms could create untitled files and start kernels
+ (no remote execution or modification of existing files)
+ for users of certain browsers (Firefox, Internet Explorer / Edge).
+ All previous notebook releases are affected.
+ - Bug fixes:
+ * Fix carriage return handling
+ * Make the font size more robust against fickle browsers
+ * Ignore resize events that bubbled up and didn't come from window
+ * Add Authorization to allowed CORS headers
+ * Downgrade CodeMirror to 5.16 while we figure out issues in Safari
+ - Other improvements:
+ * Better docs for token-based authentication
+ * Further highlight token info in log output when autogenerated
+- Update to 4.3.0
+ - Highlights:
+ * API for creating mime-type based renderer extensions using
:code:`OutputArea.register_mime_type` and :code:`Notebook.render_cell_output`
methods. See `mimerender-cookiecutter
<https://github.com/jupyterlab/mimerender-cookiecutter>`__ for reference
implementations and cookiecutter.
+ * Enable token authentication by default. See :ref:`server_security` for
more details.
+ * Update security docs to reflect new signature system
+ * Switched from term.js to xterm.js
+ - Bug fixes:
+ * Ensure variable is set if exc_info is falsey
+ * Catch and log handler exceptions in :code:`events.trigger`
+ * Add debug log for static file paths
+ * Don't check origin on token-authenticated requests
+ * Remove leftover print statement
+ * Fix highlighting of Python code blocks
+ * :code:`json_errors` should be outermost decorator on API handlers
+ * Fix remove old nbserver info files
+ * Fix notebook mime type on download links
+ * Fix carriage symbol bahvior
+ * Fix terminal styles
+ * Update dead links in docs
+ * If kernel is broken, start a new session
+ * Include cross-origin check when allowing login URL redirects
+ - Other improvements:
+ * Allow JSON output data with mime type "application/*+json"
+ * Allow kernelspecs to have spaces in them for backward compat
+ * Allow websocket connections from scripts
+ * Allow :code:`None` for post_save_hook
+ * Upgrade CodeMirror to 5.21
+ * Upgrade xterm to 2.1.0
+ * Docs for using comms
+ * Set :code:`dirty` flag when output arrives
+ * Set :code:`ws-url` data attribute when accessing a notebook terminal
+ * Add base aliases for nbextensions
+ * Include :code:`@` operator in CodeMirror IPython mode
+ * Extend mathjax_url docstring
+ * Load nbextension in predictable order
+ * Improve the error messages for nbextensions
+ * Include cross-origin check when allowing login URL redirects
+- Move tests to doc subpackage.
+
+-------------------------------------------------------------------
python3-jupyter_notebook.changes: same change
Old:
----
notebook-4.2.3.tar.gz
New:
----
notebook-5.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-jupyter_notebook-doc.spec ++++++
--- /var/tmp/diff_new_pack.xLER9p/_old 2017-04-20 20:51:35.006590345 +0200
+++ /var/tmp/diff_new_pack.xLER9p/_new 2017-04-20 20:51:35.006590345 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python3-jupyter_notebook-doc
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,28 +16,47 @@
#
-%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} >
1110 )
-# LaTeX documentation building is currently broken
-%define build_pdf 0
+# HTML documentation requires root access
+%bcond_with html
+
+# PDF documentation currently broken
+%bcond_with pdf
+
+%if 0%{?suse_version} && 0%{?suse_version} > 1320
+%bcond_without tests
%else
-%define build_pdf 0
+%bcond_with tests
%endif
Name: python3-jupyter_notebook-doc
-Version: 4.2.3
+Version: 5.0.0
Release: 0
Summary: Documentation for python3-jupyter_notebook
License: BSD-3-Clause
-Group: Documentation/Other
-Url: http://jupyter.org
+Group: Development/Languages/Python
+Url: http://ipython.org
Source:
https://files.pythonhosted.org/packages/source/n/notebook/notebook-%{version}.tar.gz
+BuildRequires: fdupes
+BuildRequires: python3-jupyter_notebook
+%if %{with tests}
+# Test Requirements
+BuildRequires: python3-nose
+BuildRequires: python3-nose_warnings_filters
+BuildRequires: python3-requests
+%endif
+# Documentation requirements
+BuildRequires: graphviz
+BuildRequires: graphviz-gnome
BuildRequires: pandoc
+BuildRequires: python3-jupyter_ipykernel
+BuildRequires: python3-jupyter_nbsphinx
BuildRequires: python3-Sphinx
-BuildRequires: python3-jupyter_notebook
-%if %{build_pdf}
+BuildRequires: python3-matplotlib
+BuildRequires: python3-numpydoc
+BuildRequires: python3-requests
+%if %{with pdf}
BuildRequires: python3-Sphinx-latex
%endif
-Recommends: python3-jupyter_notebook = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Provides: %{name}-html = %{version}
@@ -46,29 +65,44 @@
Obsoletes: %{name}-pdf < %{version}
%description
-Documentation and help files for python3-jupyter_notebook.
+Documentation and help files for python-jupyter_notebook.
%prep
%setup -q -n notebook-%{version}
%build
-# Not needed
-
-%install
+# Build the documentation
pushd docs
-%if %{build_pdf}
-PYTHONPATH=%{buildroot}%{python3_sitelib} make latexpdf
+%if %{with pdf}
+make latexpdf
%endif
-PYTHONPATH=%{buildroot}%{python3_sitelib} make html
+%if %{with html}
+make html
rm -rf build/html/.buildinfo
+%endif
popd
+%install
+mkdir -p %{buildroot}%{_docdir}/python3-jupyter_notebook
+
+%if %{with pdf}
+cp docs/build/latex/jupyter_core.pdf
%{buildroot}%{_docdir}/python3-jupyter_notebook/
+%endif
+
+%if %{with html}
+cp -r docs/build/html %{buildroot}%{_docdir}/python3-jupyter_notebook/
+%endif
+%fdupes %{buildroot}%{_docdir}/python3-jupyter_notebook/
+
+%if %{with tests}
+%check
+export LANG=en_US.UTF-8
+nosetests-%{py3_ver}
+%endif
+
%files
%defattr(-,root,root,-)
%doc COPYING.md
-%doc docs/build/html/
-%if %{build_pdf}
-%doc docs/build/latex/*.pdf
-%endif
+%{_docdir}/python3-jupyter_notebook/
%changelog
++++++ python3-jupyter_notebook.spec ++++++
--- /var/tmp/diff_new_pack.xLER9p/_old 2017-04-20 20:51:35.078580166 +0200
+++ /var/tmp/diff_new_pack.xLER9p/_new 2017-04-20 20:51:35.082579600 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python3-jupyter_notebook
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,14 @@
Name: python3-jupyter_notebook
-Version: 4.2.3
+Version: 5.0.0
Release: 0
Summary: Jupyter Notebook
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://jupyter.org
Source:
https://files.pythonhosted.org/packages/source/n/notebook/notebook-%{version}.tar.gz
+BuildRequires: hicolor-icon-theme
BuildRequires: python3-Jinja2
BuildRequires: python3-devel
BuildRequires: python3-ipython_genutils
@@ -36,10 +37,6 @@
BuildRequires: python3-terminado >= 0.3.3
BuildRequires: python3-tornado >= 4
BuildRequires: python3-traitlets
-# Test requirements
-BuildRequires: python3-nose
-BuildRequires: python3-requests
-BuildConflicts: python3-buildservice-tweak
Requires: python3-Jinja2
Requires: python3-ipython_genutils
Requires: python3-jupyter_client
@@ -70,48 +67,71 @@
# Prepare for update-alternatives usage
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-for p in notebook nbextension serverextension; do
- mv %{buildroot}%{_bindir}/jupyter-$p %{buildroot}%{_bindir}/jupyter3-$p
- ln -s -f %{_bindir}/jupyter3-$p
%{buildroot}%{_bindir}/jupyter-$p-%{py3_ver}
- ln -s -f %{_sysconfdir}/alternatives/jupyter-$p
%{buildroot}%{_bindir}/jupyter-$p
+for p in jupyter-notebook less-watch jupyter-bundlerextension
jupyter-nbextension jupyter-serverextension ; do
+ mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py3_ver}
+ ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
+ # create a dummy target for /etc/alternatives/$p
+ touch %{buildroot}%{_sysconfdir}/alternatives/$p
done
+ln -s -f %{_bindir}/jupyter-notebook-%{py3_ver}
%{buildroot}%{_bindir}/jupyter3-notebook
+ln -s -f %{_bindir}/jupyter-bundlerextension-%{py3_ver}
%{buildroot}%{_bindir}/jupyter3-bundlerextension
+ln -s -f %{_bindir}/jupyter-nbextension-%{py3_ver}
%{buildroot}%{_bindir}/jupyter3-nbextension
+ln -s -f %{_bindir}/jupyter-serverextension-%{py3_ver}
%{buildroot}%{_bindir}/jupyter3-serverextension
+
# These directories are used for extensions
mkdir -p %{buildroot}%{_datadir}/jupyter_python%{py3_ver}/nbextensions
mkdir -p %{buildroot}%{_sysconfdir}/jupyter_python%{py3_ver}/nbextensions
+# Install icons
+mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
+cp docs/resources/icon_512x512.svg
%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/JupyterNotebook-%{py3_ver}.svg
+
+for x in 16 24 32 48 64 128 256 512 ; do
+ 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-%{py3_ver}.png
+done
+
%post
%_sbindir/update-alternatives \
--install %{_bindir}/jupyter-notebook jupyter-notebook
%{_bindir}/jupyter-notebook-%{py3_ver} 30 \
+ --slave %{_bindir}/less-watch less-watch %{_bindir}/less-watch-%{py3_ver} \
+ --slave %{_bindir}/jupyter-bundlerextension jupyter-bundlerextension
%{_bindir}/jupyter-bundlerextension-%{py3_ver} \
--slave %{_bindir}/jupyter-nbextension jupyter-nbextension
%{_bindir}/jupyter-nbextension-%{py3_ver} \
--slave %{_bindir}/jupyter-serverextension jupyter-serverextension
%{_bindir}/jupyter-serverextension-%{py3_ver}
+%icon_theme_cache_post
%postun
if [ $1 -eq 0 ] ; then
%_sbindir/update-alternatives --remove jupyter-notebook
%{_bindir}/jupyter-notebook-%{py3_ver}
fi
-
-%check
-export LANG=en_US.UTF-8
-nosetests
+%icon_theme_cache_postun
%files
%defattr(-,root,root,-)
-%doc CONTRIBUTING.md COPYING.md README.md
-%{_bindir}/jupyter-notebook
+%doc COPYING.md README.md
+%{_bindir}/less-watch
+%{_bindir}/jupyter-bundlerextension
%{_bindir}/jupyter-nbextension
+%{_bindir}/jupyter-notebook
%{_bindir}/jupyter-serverextension
-%{_bindir}/jupyter3-notebook
+%{_bindir}/jupyter3-bundlerextension
%{_bindir}/jupyter3-nbextension
+%{_bindir}/jupyter3-notebook
%{_bindir}/jupyter3-serverextension
+%{_bindir}/less-watch-%{py3_ver}
+%{_bindir}/jupyter-bundlerextension-%{py3_ver}
%{_bindir}/jupyter-nbextension-%{py3_ver}
%{_bindir}/jupyter-notebook-%{py3_ver}
%{_bindir}/jupyter-serverextension-%{py3_ver}
+%ghost %{_sysconfdir}/alternatives/less-watch
+%ghost %{_sysconfdir}/alternatives/jupyter-bundlerextension
%ghost %{_sysconfdir}/alternatives/jupyter-nbextension
%ghost %{_sysconfdir}/alternatives/jupyter-notebook
%ghost %{_sysconfdir}/alternatives/jupyter-serverextension
%{python3_sitelib}/*
%{_datadir}/jupyter_python%{py3_ver}/nbextensions
%{_sysconfdir}/jupyter_python%{py3_ver}/nbextensions
+%{_datadir}/icons/hicolor/*/apps/JupyterNotebook-%{py3_ver}.*
%changelog
++++++ notebook-4.2.3.tar.gz -> notebook-5.0.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/python3-jupyter_notebook/notebook-4.2.3.tar.gz
/work/SRC/openSUSE:Factory/.python3-jupyter_notebook.new/notebook-5.0.0.tar.gz
differ: char 5, line 1