Hello community,
here is the log from the commit of package python-jupyter_ipykernel for
openSUSE:Factory checked in at 2017-10-03 23:17:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_ipykernel (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_ipykernel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_ipykernel"
Tue Oct 3 23:17:01 2017 rev:5 rq:527573 version:4.6.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_ipykernel/python-jupyter_ipykernel-doc.changes
2017-05-17 17:12:19.812034350 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter_ipykernel.new/python-jupyter_ipykernel-doc.changes
2017-10-03 23:17:02.504472874 +0200
@@ -1,0 +2,9 @@
+Tue Sep 19 20:00:24 UTC 2017 - [email protected]
+
+- Update to 4.6.1
+ * Fix eventloop-integration bug preventing Qt windows/widgets
+ from displaying with ipykernel 4.6.0 and IPython ≥ 5.2.
+ * Avoid deprecation warnings about naive datetimes when working
+ with jupyter_client ≥ 5.0.
+
+-------------------------------------------------------------------
python-jupyter_ipykernel.changes: same change
Old:
----
ipykernel-4.6.0.tar.gz
New:
----
ipykernel-4.6.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_ipykernel-doc.spec ++++++
--- /var/tmp/diff_new_pack.uk8sCl/_old 2017-10-03 23:17:03.276364242 +0200
+++ /var/tmp/diff_new_pack.uk8sCl/_new 2017-10-03 23:17:03.284363116 +0200
@@ -16,19 +16,13 @@
#
-%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
+Version: 4.6.1
Release: 0
Summary: Documentation for python-jupyter_ipykernel
License: BSD-3-Clause
@@ -52,7 +46,6 @@
%if %{with pdf}
BuildRequires: python3-Sphinx-latex
%endif
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Provides: %{name}-html = %{version}
Provides: %{name}-pdf = %{version}
@@ -68,6 +61,7 @@
%build
# Build the documentation
+export LANG=en_US.UTF-8
pushd docs
%if %{with html}
make html
@@ -81,14 +75,14 @@
%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
+%if %{with pdf}
+cp docs/_build/latex/*.pdf %{buildroot}%{_docdir}/python-jupyter_ipykernel/
+%endif
+
%fdupes %{buildroot}%{_docdir}/python-jupyter_ipykernel/
%if %{with tests}
++++++ python-jupyter_ipykernel.spec ++++++
--- /var/tmp/diff_new_pack.uk8sCl/_old 2017-10-03 23:17:03.332356362 +0200
+++ /var/tmp/diff_new_pack.uk8sCl/_new 2017-10-03 23:17:03.336355799 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jupyter_ipykernel
-Version: 4.6.0
+Version: 4.6.1
Release: 0
Summary: IPython Kernel for Jupyter
License: BSD-3-Clause
@@ -29,12 +29,11 @@
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 setuptools}
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-tornado >= 4.0
@@ -44,10 +43,8 @@
%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
BuildArch: noarch
%python_subpackages
++++++ ipykernel-4.6.0.tar.gz -> ipykernel-4.6.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ipykernel-4.6.0/PKG-INFO new/ipykernel-4.6.1/PKG-INFO
--- old/ipykernel-4.6.0/PKG-INFO 2017-04-04 09:46:09.000000000 +0200
+++ new/ipykernel-4.6.1/PKG-INFO 2017-04-11 18:12:21.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: ipykernel
-Version: 4.6.0
+Version: 4.6.1
Summary: IPython Kernel for Jupyter
Home-page: http://ipython.org
Author: IPython Development Team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ipykernel-4.6.0/docs/changelog.rst
new/ipykernel-4.6.1/docs/changelog.rst
--- old/ipykernel-4.6.0/docs/changelog.rst 2017-03-31 15:34:41.000000000
+0200
+++ new/ipykernel-4.6.1/docs/changelog.rst 2017-04-11 18:11:32.000000000
+0200
@@ -4,6 +4,15 @@
4.6
---
+4.6.1
+*****
+
+`4.6.1 on GitHub <https://github.com/ipython/ipykernel/milestones/4.6.1>`__
+
+- Fix eventloop-integration bug preventing Qt windows/widgets from displaying
with ipykernel 4.6.0 and IPython ≥ 5.2.
+- Avoid deprecation warnings about naive datetimes when working with
jupyter_client ≥ 5.0.
+
+
4.6.0
*****
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ipykernel-4.6.0/ipykernel/_version.py
new/ipykernel-4.6.1/ipykernel/_version.py
--- old/ipykernel-4.6.0/ipykernel/_version.py 2017-04-04 09:36:16.000000000
+0200
+++ new/ipykernel-4.6.1/ipykernel/_version.py 2017-04-11 18:11:41.000000000
+0200
@@ -1,4 +1,4 @@
-version_info = (4, 6, 0)
+version_info = (4, 6, 1)
__version__ = '.'.join(map(str, version_info))
kernel_protocol_version_info = (5, 1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ipykernel-4.6.0/ipykernel/eventloops.py
new/ipykernel-4.6.1/ipykernel/eventloops.py
--- old/ipykernel-4.6.0/ipykernel/eventloops.py 2016-11-30 10:07:29.000000000
+0100
+++ new/ipykernel-4.6.1/ipykernel/eventloops.py 2017-04-11 18:11:19.000000000
+0200
@@ -72,11 +72,23 @@
return decorator
+def _loop_qt(app):
+ """Inner-loop for running the Qt eventloop
+
+ Pulled from guisupport.start_event_loop in IPython < 5.2,
+ since IPython 5.2 only checks `get_ipython().active_eventloop` is defined,
+ rather than if the eventloop is actually running.
+ """
+ app._in_event_loop = True
+ app.exec_()
+ app._in_event_loop = False
+
+
@register_integration('qt', 'qt4')
def loop_qt4(kernel):
"""Start a kernel with PyQt4 event loop integration."""
- from IPython.lib.guisupport import get_app_qt4, start_event_loop_qt4
+ from IPython.lib.guisupport import get_app_qt4
kernel.app = get_app_qt4([" "])
kernel.app.setQuitOnLastWindowClosed(False)
@@ -84,7 +96,8 @@
for s in kernel.shell_streams:
_notify_stream_qt(kernel, s)
- start_event_loop_qt4(kernel.app)
+ _loop_qt(kernel.app)
+
@register_integration('qt5')
def loop_qt5(kernel):
@@ -93,12 +106,23 @@
return loop_qt4(kernel)
+def _loop_wx(app):
+ """Inner-loop for running the Wx eventloop
+
+ Pulled from guisupport.start_event_loop in IPython < 5.2,
+ since IPython 5.2 only checks `get_ipython().active_eventloop` is defined,
+ rather than if the eventloop is actually running.
+ """
+ app._in_event_loop = True
+ app.MainLoop()
+ app._in_event_loop = False
+
+
@register_integration('wx')
def loop_wx(kernel):
"""Start a kernel with wx event loop support."""
import wx
- from IPython.lib.guisupport import start_event_loop_wx
if _use_appnope() and kernel._darwin_app_nap:
# we don't hook up App Nap contexts for Wx,
@@ -143,7 +167,7 @@
if not callable(signal.getsignal(signal.SIGINT)):
signal.signal(signal.SIGINT, signal.default_int_handler)
- start_event_loop_wx(kernel.app)
+ _loop_wx(kernel.app)
@register_integration('tk')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ipykernel-4.6.0/ipykernel/ipkernel.py
new/ipykernel-4.6.1/ipykernel/ipkernel.py
--- old/ipykernel-4.6.0/ipykernel/ipkernel.py 2016-11-30 10:07:29.000000000
+0100
+++ new/ipykernel-4.6.1/ipykernel/ipkernel.py 2017-04-11 18:11:32.000000000
+0200
@@ -213,7 +213,7 @@
u'evalue': safe_unicode(err),
})
- # FIXME: deprecate piece for ipyparallel:
+ # FIXME: deprecated piece for ipyparallel (remove in 5.0):
e_info = dict(engine_uuid=self.ident, engine_id=self.int_id,
method='execute')
reply_content['engine_info'] = e_info
@@ -351,7 +351,7 @@
u'ename': unicode_type(type(e).__name__),
u'evalue': safe_unicode(e),
}
- # FIXME: deprecate piece for ipyparallel:
+ # FIXME: deprecated piece for ipyparallel (remove in 5.0):
e_info = dict(engine_uuid=self.ident, engine_id=self.int_id,
method='apply')
reply_content['engine_info'] = e_info
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ipykernel-4.6.0/ipykernel/kernelbase.py
new/ipykernel-4.6.1/ipykernel/kernelbase.py
--- old/ipykernel-4.6.0/ipykernel/kernelbase.py 2017-03-31 15:34:41.000000000
+0200
+++ new/ipykernel-4.6.1/ipykernel/kernelbase.py 2017-04-11 18:11:32.000000000
+0200
@@ -11,6 +11,13 @@
import uuid
from datetime import datetime
+try:
+ # jupyter_client >= 5, use tz-aware now
+ from jupyter_client.session import utcnow as now
+except ImportError:
+ # jupyter_client < 5, use local now()
+ now = datetime.now
+
from signal import signal, default_int_handler, SIGINT
import zmq
@@ -350,8 +357,10 @@
Run at the beginning of execution requests.
"""
+ # FIXME: `started` is part of ipyparallel
+ # Remove for ipykernel 5.0
return {
- 'started': datetime.now(),
+ 'started': now(),
}
def finish_metadata(self, parent, metadata, reply_content):