Hello community,
here is the log from the commit of package python-jupyter_ipykernel for
openSUSE:Factory checked in at 2017-05-17 17:12:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_ipykernel (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_ipykernel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_ipykernel"
Wed May 17 17:12:14 2017 rev:4 rq:491347 version:4.6.0
Changes:
--------
New Changes file:
--- /dev/null 2017-03-01 00:40:19.279048016 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyter_ipykernel.new/python-jupyter_ipykernel-doc.changes
2017-05-17 17:12:19.812034350 +0200
@@ -0,0 +1,109 @@
+-------------------------------------------------------------------
+Wed Apr 26 18:52:53 UTC 2017 - [email protected]
+
+- Implement single-spec version.
+
+-------------------------------------------------------------------
+Fri Apr 7 03:10:04 UTC 2017 - [email protected]
+
+- Update to 4.6.0
+ * Add to API `DisplayPublisher.publish` two new fully backward-compatible
+ keyword-args:
+ - `update: bool`
+ - `transient: dict`
+ * Support new `transient` key in `display_data` messages spec for `publish`.
+ For a display data message, `transient` contains data that shouldn't be
+ persisted to files or documents. Add a `display_id` to this `transient`
+ dict by `display(obj, display_id=...)`
+ * Add `ipykernel_launcher` module which removes the current working directory
+ from `sys.path` before launching the kernel. This helps to reduce the cases
+ where the kernel won't start because there's a `random.py` (or similar)
+ module in the current working directory.
+ * Add busy/idle messages on IOPub during processing of aborted requests
+ * Add active event loop setting to GUI, which enables the correct response
+ to IPython's `is_event_loop_running_xxx`
+ * Include IPython kernelspec in wheels to reduce reliance on "native kernel
+ spec" in jupyter_client
+ * Modify `OutStream` to inherit from `TextIOBase` instead of object to
improve
+ API support and error reporting
+ * Fix IPython kernel death messages at start, such as "Kernel Restarting..."
+ and "Kernel appears to have died", when parent-poller handles PID 1
+ * Various bugfixes
+
+-------------------------------------------------------------------
+Thu Mar 30 19:23:26 UTC 2017 - [email protected]
+
+- Update to 4.5.2
+ * Fix bug when instantating Comms outside of the IPython kernel (introduced
in 4.5.1).
+- Update to 4.5.1
+ * Add missing ``stream`` parameter to overridden :func:`getpass`
+ * Remove locks from iopub thread, which could cause deadlocks during
debugging
+ * Fix regression where KeyboardInterrupt was treated as an aborted request,
rather than an error
+ * Allow instantating Comms outside of the IPython kernel
+- Update to 4.5.0
+ * Use figure.dpi instead of savefig.dpi to set DPI for inline figures
+ * Support ipympl matplotlib backend (requires IPython update as well to
fully work)
+ * Various bugfixes, including fixes for output coming from threads,
+ and :func:`input` when called with non-string prompts, which stdlib allows.
+- Update to 4.4.1
+ * Fix circular import of matplotlib on Python 2 caused by the inline backend
changes in 4.4.0.
+- Update to 4.4.0
+ * Use `MPLBACKEND`_ environment variable to tell matplotlib >= 1.5 use use
the inline backend by default.
+ This is only done if MPLBACKEND is not already set and no backend has been
explicitly loaded,
+ so setting ``MPLBACKEND=Qt4Agg`` or calling ``%matplotlib notebook`` or
``matplotlib.use('Agg')``
+ will take precedence.
+ * Fixes for logging problems caused by 4.3,
+ where logging could go to the terminal instead of the notebook.
+ * Add ``--sys-prefix`` and ``--profile`` arguments to :command:`ipython
kernel install`
+ * Allow Comm (Widget) messages to be sent from background threads.
+ * Select inline matplotlib backend by default if ``%matplotlib`` magic or
+ ``matplotlib.use()`` are not called explicitly (for matplotlib >= 1.5).
+ * Fix some longstanding minor deviations from the message protocol
+ (missing status: ok in a few replies, connect_reply format).
+ * Remove calls to NoOpContext from IPython, deprecated in 5.0.
+- Update to 4.3.2
+ * Use a nonempty dummy session key for inprocess kernels to avoid security
+ warnings.
+ * Fix Windows Python 3.5 incompatibility caused by faulthandler patch in 4.3
+- Update to 4.3.0
+ * Publish all IO in a thread, via :class:`IOPubThread`.
+ This solves the problem of requiring :meth:`sys.stdout.flush` to be called
in the notebook to produce output promptly during long-running cells.
+ * Remove refrences to outdated IPython guiref in kernel banner.
+ * Patch faulthandler to use ``sys.__stderr__`` instead of forwarded
``sys.stderr``,
+ which has no fileno when forwarded.
+ * Deprecate some vestiges of the Big Split:
+ * :func:`ipykernel.find_connection_file` is deprecated. Use
:func:`jupyter_client.find_connection_file` instead.
+ * Various pieces of code specific to IPython parallel are deprecated in
ipykernel
+ and moved to ipyparallel.
+- Split documentation into own subpackage
+
+-------------------------------------------------------------------
+Wed Feb 17 13:35:39 UTC 2016 - [email protected]
+
+- Update to version 4.2.2
+ * Don't show interactive debugging info when kernel crashes
+ * Fix handling of numerical types in json_clean
+ * Testing fixes for output capturing
+- update to version 4.2.1:
+ * Fix default display name back to "Python X" instead of "pythonX"
+- update to version 4.2.0:
+ * Support sending a full message in initial opening of comms
+ (metadata, buffers were not previously allowed)
+ * When using "ipython kernel install --name" to install the IPython
+ kernelspec, default display-name to the same value as "--name".
+- update to version 4.1.1:
+ * Fix missing "ipykernel.__version__" on Python 2.
+ * Fix missing "target_name" when opening comms from the frontend.
+
+-------------------------------------------------------------------
+Thu Oct 8 10:34:53 UTC 2015 - [email protected]
+
+- Update to 4.1.0
+ * add ipython kernel install entrypoint for installing the IPython kernelspec
+ * provisional implementation of comm_info request/reply for msgspec v5.1
+
+-------------------------------------------------------------------
+Tue Jul 21 15:14:54 UTC 2015 - [email protected]
+
+- Initial version
+
---
/work/SRC/openSUSE:Factory/python-jupyter_ipykernel/python-jupyter_ipykernel.changes
2016-02-18 12:36:44.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyter_ipykernel.new/python-jupyter_ipykernel.changes
2017-05-17 17:12:20.091994886 +0200
@@ -1,0 +2,103 @@
+Wed Apr 26 18:52:53 UTC 2017 - [email protected]
+
+- Implement single-spec version.
+
+-------------------------------------------------------------------
+Fri Apr 7 03:10:04 UTC 2017 - [email protected]
+
+- Update to 4.6.0
+ * Add to API `DisplayPublisher.publish` two new fully backward-compatible
+ keyword-args:
+ - `update: bool`
+ - `transient: dict`
+ * Support new `transient` key in `display_data` messages spec for `publish`.
+ For a display data message, `transient` contains data that shouldn't be
+ persisted to files or documents. Add a `display_id` to this `transient`
+ dict by `display(obj, display_id=...)`
+ * Add `ipykernel_launcher` module which removes the current working directory
+ from `sys.path` before launching the kernel. This helps to reduce the cases
+ where the kernel won't start because there's a `random.py` (or similar)
+ module in the current working directory.
+ * Add busy/idle messages on IOPub during processing of aborted requests
+ * Add active event loop setting to GUI, which enables the correct response
+ to IPython's `is_event_loop_running_xxx`
+ * Include IPython kernelspec in wheels to reduce reliance on "native kernel
+ spec" in jupyter_client
+ * Modify `OutStream` to inherit from `TextIOBase` instead of object to
improve
+ API support and error reporting
+ * Fix IPython kernel death messages at start, such as "Kernel Restarting..."
+ and "Kernel appears to have died", when parent-poller handles PID 1
+ * Various bugfixes
+- Install icons
+
+-------------------------------------------------------------------
+Thu Mar 30 19:23:26 UTC 2017 - [email protected]
+
+- Update to 4.6.0
+ * Add to API `DisplayPublisher.publish` two new fully backward-compatible
+ keyword-args:
+ - `update: bool`
+ - `transient: dict`
+ * Support new `transient` key in `display_data` messages spec for `publish`.
+ For a display data message, `transient` contains data that shouldn't be
+ persisted to files or documents. Add a `display_id` to this `transient`
+ dict by `display(obj, display_id=...)`
+ * Add `ipykernel_launcher` module which removes the current working directory
+ from `sys.path` before launching the kernel. This helps to reduce the cases
+ where the kernel won't start because there's a `random.py` (or similar)
+ module in the current working directory.
+ * Add busy/idle messages on IOPub during processing of aborted requests
+ * Add active event loop setting to GUI, which enables the correct response
+ to IPython's `is_event_loop_running_xxx`
+ * Include IPython kernelspec in wheels to reduce reliance on "native kernel
+ spec" in jupyter_client
+ * Modify `OutStream` to inherit from `TextIOBase` instead of object to
improve
+ API support and error reporting
+ * Fix IPython kernel death messages at start, such as "Kernel Restarting..."
+ and "Kernel appears to have died", when parent-poller handles PID 1
+ * Various bugfixes
+- Update to 4.5.2
+ * Fix bug when instantating Comms outside of the IPython kernel (introduced
in 4.5.1).
+- Update to 4.5.1
+ * Add missing ``stream`` parameter to overridden :func:`getpass`
+ * Remove locks from iopub thread, which could cause deadlocks during
debugging
+ * Fix regression where KeyboardInterrupt was treated as an aborted request,
rather than an error
+ * Allow instantating Comms outside of the IPython kernel
+- Update to 4.5.0
+ * Use figure.dpi instead of savefig.dpi to set DPI for inline figures
+ * Support ipympl matplotlib backend (requires IPython update as well to
fully work)
+ * Various bugfixes, including fixes for output coming from threads,
+ and :func:`input` when called with non-string prompts, which stdlib allows.
+- Update to 4.4.1
+ * Fix circular import of matplotlib on Python 2 caused by the inline backend
changes in 4.4.0.
+- Update to 4.4.0
+ * Use `MPLBACKEND`_ environment variable to tell matplotlib >= 1.5 use use
the inline backend by default.
+ This is only done if MPLBACKEND is not already set and no backend has been
explicitly loaded,
+ so setting ``MPLBACKEND=Qt4Agg`` or calling ``%matplotlib notebook`` or
``matplotlib.use('Agg')``
+ will take precedence.
+ * Fixes for logging problems caused by 4.3,
+ where logging could go to the terminal instead of the notebook.
+ * Add ``--sys-prefix`` and ``--profile`` arguments to :command:`ipython
kernel install`
+ * Allow Comm (Widget) messages to be sent from background threads.
+ * Select inline matplotlib backend by default if ``%matplotlib`` magic or
+ ``matplotlib.use()`` are not called explicitly (for matplotlib >= 1.5).
+ * Fix some longstanding minor deviations from the message protocol
+ (missing status: ok in a few replies, connect_reply format).
+ * Remove calls to NoOpContext from IPython, deprecated in 5.0.
+- Update to 4.3.2
+ * Use a nonempty dummy session key for inprocess kernels to avoid security
+ warnings.
+ * Fix Windows Python 3.5 incompatibility caused by faulthandler patch in 4.3
+- Update to 4.3.0
+ * Publish all IO in a thread, via :class:`IOPubThread`.
+ This solves the problem of requiring :meth:`sys.stdout.flush` to be called
in the notebook to produce output promptly during long-running cells.
+ * Remove refrences to outdated IPython guiref in kernel banner.
+ * Patch faulthandler to use ``sys.__stderr__`` instead of forwarded
``sys.stderr``,
+ which has no fileno when forwarded.
+ * Deprecate some vestiges of the Big Split:
+ * :func:`ipykernel.find_connection_file` is deprecated. Use
:func:`jupyter_client.find_connection_file` instead.
+ * Various pieces of code specific to IPython parallel are deprecated in
ipykernel
+ and moved to ipyparallel.
+- Split documentation into own subpackage
+
+-------------------------------------------------------------------
Old:
----
ipykernel-4.2.2.tar.gz
New:
----
ipykernel-4.6.0.tar.gz
python-jupyter_ipykernel-doc.changes
python-jupyter_ipykernel-doc.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_ipykernel-doc.spec ++++++
#
# spec file for package python-jupyter_ipykernel-doc
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%if 0%{?suse_version} && 0%{?suse_version} != 1315
%bcond_without pdf
%else
%bcond_with pdf
%endif
%bcond_without html
%bcond_without tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jupyter_ipykernel-doc
Version: 4.6.0
Release: 0
Summary: Documentation for python-jupyter_ipykernel
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://ipython.org
Source:
https://files.pythonhosted.org/packages/source/i/ipykernel/ipykernel-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module jupyter_ipykernel}
%if %{with tests}
# Test Requirements
BuildRequires: %{python_module nose}
BuildRequires: %{python_module nose_warnings_filters}
# Python 2.7 test requirements
BuildRequires: python-mock
%endif
# Documentation requirements
%if %{with pdf} || %{with html}
BuildRequires: python3-Sphinx
%endif
%if %{with pdf}
BuildRequires: python3-Sphinx-latex
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Provides: %{name}-html = %{version}
Provides: %{name}-pdf = %{version}
Obsoletes: %{name}-html < %{version}
Obsoletes: %{name}-pdf < %{version}
Provides: %{python_module jupyter_ipykernel-doc = %{version}}
%description
Documentation and help files for python-jupyter_ipykernel.
%prep
%setup -q -n ipykernel-%{version}
%build
# Build the documentation
pushd docs
%if %{with html}
make html
rm -rf _build/html/.buildinfo
%endif
%if %{with pdf}
make latexpdf
%endif
popd
%install
mkdir -p %{buildroot}%{_docdir}/python-jupyter_ipykernel
%if %{with pdf}
cp docs/_build/latex/*.pdf %{buildroot}%{_docdir}/python-jupyter_ipykernel/
%endif
%if %{with html}
cp -r docs/_build/html %{buildroot}%{_docdir}/python-jupyter_ipykernel/
%endif
%fdupes %{buildroot}%{_docdir}/python-jupyter_ipykernel/
%if %{with tests}
%check
%python_expand nosetests-%{$python_bin_suffix}
%endif
%files
%defattr(-,root,root,-)
%doc COPYING.md
%{_docdir}/python-jupyter_ipykernel/
%changelog
++++++ python-jupyter_ipykernel.spec ++++++
--- /var/tmp/diff_new_pack.qbQesi/_old 2017-05-17 17:12:20.711907503 +0200
+++ /var/tmp/diff_new_pack.qbQesi/_new 2017-05-17 17:12:20.715906940 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-jupyter_ipykernel
#
-# Copyright (c) 2015 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,32 +16,40 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jupyter_ipykernel
-Version: 4.2.2
+Version: 4.6.0
Release: 0
Summary: IPython Kernel for Jupyter
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://ipython.org
-Source:
https://pypi.python.org/packages/source/i/ipykernel/ipykernel-%{version}.tar.gz
-BuildRequires: python-devel
-BuildRequires: python-jupyter_client
-BuildRequires: python-jupyter_ipython >= 4.0.0
-BuildRequires: python-setuptools
-BuildRequires: python-traitlets
-# testing requirements
-BuildRequires: python-nose
-# testing requirements, Python 2.7 only
-BuildRequires: python-mock
+Source:
https://files.pythonhosted.org/packages/source/i/ipykernel/ipykernel-%{version}.tar.gz
+BuildRequires: hicolor-icon-theme
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module jupyter_client}
+BuildRequires: %{python_module jupyter_ipython >= 4.0.0}
+BuildRequires: %{python_module tornado >= 4.0}
+BuildRequires: %{python_module traitlets >= 4.1.0}
+BuildRequires: python-typing
Requires: python-jupyter_client
Requires: python-jupyter_ipython >= 4.0.0
-Requires: python-traitlets
+Requires: python-tornado >= 4.0
+Requires: python-traitlets >= 4.1.0
+%ifpython2
+Requires: python-typing
+%endif
+# typing is only built-in for later versions of python
+%if 0%{?suse_version} <= 1320
+BuildRequires: %{python_module typing}
+Requires: python-typing
+%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
BuildArch: noarch
-%endif
+%python_subpackages
%description
This package provides the IPython kernel for Jupyter.
@@ -50,17 +58,37 @@
%setup -q -n ipykernel-%{version}
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+# Install icons
+for x in 32 64 ; do
+ mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/
+ cp ipykernel/resources/logo-${x}x${x}.png
%{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/JupyterIPyKernel.png
+done
+
+rm -r %{buildroot}%{_datadir}/jupyter/
+
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
+$python -m ipykernel install --display-name "Python %{$python_bin_suffix}" \
+ --name "python_%{$python_bin_suffix}" \
+ --prefix %{buildroot}%{_prefix}
+}
+
+%post -n %{python3_prefix}-jupyter_ipykernel
+%icon_theme_cache_post
-%check
-nosetests
+%postun -n %{python3_prefix}-jupyter_ipykernel
+%icon_theme_cache_postun
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc COPYING.md README.md
%{python_sitelib}/*
+%{_datadir}/jupyter/kernels/python_%{python_bin_suffix}/
+%python3_only %{_datadir}/icons/hicolor/*/apps/JupyterIPyKernel.*
%changelog
++++++ ipykernel-4.2.2.tar.gz -> ipykernel-4.6.0.tar.gz ++++++
++++ 4174 lines of diff (skipped)