Hello community,
here is the log from the commit of package python-jupyter_client for
openSUSE:Factory checked in at 2017-05-17 17:11:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_client (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_client"
Wed May 17 17:11:42 2017 rev:4 rq:491341 version:5.0.1
Changes:
--------
New Changes file:
--- /dev/null 2017-03-01 00:40:19.279048016 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyter_client.new/python-jupyter_client-doc.changes
2017-05-17 17:11:48.076507687 +0200
@@ -0,0 +1,89 @@
+-------------------------------------------------------------------
+Wed Apr 26 18:39:18 UTC 2017 - [email protected]
+
+- Implement single-spec version.
+
+-------------------------------------------------------------------
+Fri Apr 7 03:06:54 UTC 2017 - [email protected]
+
+- Update to 5.0.1
+ * Update internal protocol version number to 5.1,
+ which should have been done in 5.0.0.
+
+-------------------------------------------------------------------
+Thu Mar 30 19:12:38 UTC 2017 - [email protected]
+
+- Update to 5.0.0
+ + New features:
+ * Introduce :command:`jupyter run` command for running scripts with a
kernel, for instance::
+ jupyter run --kernel python3 myscript.py
+ * New method :meth:`.BlockingKernelClient.execute_interactive`
+ for running code and capturing or redisplaying its output.
+ * New ``KernelManager.shutdown_wait_time`` configurable for adjusting the
time
+ for a kernel manager to wait after politely requesting shutdown
+ before it resorts to forceful termination.
+ + Fixes:
+ * Set sticky bit on connection-file directory to avoid getting cleaned up.
+ * :func:`jupyter_client.launcher.launch_kernel` passes through additional
options to the underlying Popen,
+ matching :meth:`KernelManager.start_kernel`.
+ * Check types of ``buffers`` argument in :meth:`.Session.send`,
+ so that TypeErrors are raised immediately,
+ rather than in the eventloop.
+ + Changes:
+ * In kernelspecs, if the executable is the string ``python`` (as opposed
to an absolute path),
+ ``sys.executable`` will be used rather than resolving ``python`` on PATH.
+ This should enable Python-based kernels to install kernelspecs as part
of wheels.
+ * kernelspec names are now validated.
+ They should only include ascii letters and numbers, plus period, hyphen,
and underscore.
+ + Backward-incompatible changes:
+ * :py:class:`.datetime` objects returned in parsed messages are now always
timezone-aware.
+ Timestamps in messages without timezone info are interpreted as the
local timezone,
+ as this was the behavior in earlier versions.
+- Update to 4.4.0
+ * Add :meth:`.KernelClient.load_connection_info` on KernelClient, etc. for
loading connection info
+ directly from a dict, not just from files.
+ * Include parent headers when adapting messages from older protocol
implementations
+ (treats parent headers the same as headers).
+ * Compatibility fixes in tests for recent changes in ipykernel.
+- Update to 4.3.0
+ * Adds ``--sys-prefix`` argument to :command:`jupyter kernelspec install`,
+ for better symmetry with :command:`jupyter nbextension install`, etc.
+- Update to 4.2.2
+ * Another fix for the :func:`start_new_kernel` issue in 4.2.1 affecting
slow-starting kernels.
+- Update to 4.2.1
+ * Fix regression in 4.2 causing :func:`start_new_kernel`
+ to fail while waiting for kernels to become available.
+- Update to 4.2.0
+ * added :command:`jupyter kernelspec remove` for removing kernelspecs
+ * allow specifying the environment for kernel processes via the ``env``
argument
+ * added ``name`` field to connection files identifying the kernelspec name,
+ so that consumers of connection files (alternate frontends) can identify
the kernelspec in use
+ * added :meth:`KernelSpecManager.get_all_specs` for getting all kernelspecs
more efficiently
+ * various improvements to error messages and documentation
+- Split documentation into own subpackage
+
+-------------------------------------------------------------------
+Mon Oct 12 13:44:23 UTC 2015 - [email protected]
+
+- update to version 4.1.1:
+ * Setuptools fixes for jupyter kernelspec
+ * jupyter kernelspec list includes paths
+ * add :meth:`KernelManager.blocking_client`
+ * provisional implementation of comm_info requests from upcoming 5.1
+ release of the protocol
+
+-------------------------------------------------------------------
+Thu Oct 1 12:04:25 UTC 2015 - [email protected]
+
+- Build documentation
+
+-------------------------------------------------------------------
+Fri Aug 14 07:03:18 UTC 2015 - [email protected]
+
+- Fix update-alternatives usage
+
+-------------------------------------------------------------------
+Tue Jul 21 14:28:11 UTC 2015 - [email protected]
+
+- Initial version
+
---
/work/SRC/openSUSE:Factory/python-jupyter_client/python-jupyter_client.changes
2015-10-17 16:38:56.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter_client.new/python-jupyter_client.changes
2017-05-17 17:11:48.936386483 +0200
@@ -1,0 +2,69 @@
+Wed Apr 26 18:38:46 UTC 2017 - [email protected]
+
+- Implement single-spec version.
+
+-------------------------------------------------------------------
+Fri Apr 7 18:56:07 UTC 2017 - [email protected]
+
+- Clean up alternatives usage.
+
+-------------------------------------------------------------------
+Fri Apr 7 03:06:54 UTC 2017 - [email protected]
+
+- Update to 5.0.1
+ * Update internal protocol version number to 5.1,
+ which should have been done in 5.0.0.
+
+-------------------------------------------------------------------
+Thu Mar 30 19:12:38 UTC 2017 - [email protected]
+
+- Update to 5.0.0
+ + New features:
+ * Introduce :command:`jupyter run` command for running scripts with a
kernel, for instance::
+ jupyter run --kernel python3 myscript.py
+ * New method :meth:`.BlockingKernelClient.execute_interactive`
+ for running code and capturing or redisplaying its output.
+ * New ``KernelManager.shutdown_wait_time`` configurable for adjusting the
time
+ for a kernel manager to wait after politely requesting shutdown
+ before it resorts to forceful termination.
+ + Fixes:
+ * Set sticky bit on connection-file directory to avoid getting cleaned up.
+ * :func:`jupyter_client.launcher.launch_kernel` passes through additional
options to the underlying Popen,
+ matching :meth:`KernelManager.start_kernel`.
+ * Check types of ``buffers`` argument in :meth:`.Session.send`,
+ so that TypeErrors are raised immediately,
+ rather than in the eventloop.
+ + Changes:
+ * In kernelspecs, if the executable is the string ``python`` (as opposed
to an absolute path),
+ ``sys.executable`` will be used rather than resolving ``python`` on PATH.
+ This should enable Python-based kernels to install kernelspecs as part
of wheels.
+ * kernelspec names are now validated.
+ They should only include ascii letters and numbers, plus period, hyphen,
and underscore.
+ + Backward-incompatible changes:
+ * :py:class:`.datetime` objects returned in parsed messages are now always
timezone-aware.
+ Timestamps in messages without timezone info are interpreted as the
local timezone,
+ as this was the behavior in earlier versions.
+- Update to 4.4.0
+ * Add :meth:`.KernelClient.load_connection_info` on KernelClient, etc. for
loading connection info
+ directly from a dict, not just from files.
+ * Include parent headers when adapting messages from older protocol
implementations
+ (treats parent headers the same as headers).
+ * Compatibility fixes in tests for recent changes in ipykernel.
+- Update to 4.3.0
+ * Adds ``--sys-prefix`` argument to :command:`jupyter kernelspec install`,
+ for better symmetry with :command:`jupyter nbextension install`, etc.
+- Update to 4.2.2
+ * Another fix for the :func:`start_new_kernel` issue in 4.2.1 affecting
slow-starting kernels.
+- Update to 4.2.1
+ * Fix regression in 4.2 causing :func:`start_new_kernel`
+ to fail while waiting for kernels to become available.
+- Update to 4.2.0
+ * added :command:`jupyter kernelspec remove` for removing kernelspecs
+ * allow specifying the environment for kernel processes via the ``env``
argument
+ * added ``name`` field to connection files identifying the kernelspec name,
+ so that consumers of connection files (alternate frontends) can identify
the kernelspec in use
+ * added :meth:`KernelSpecManager.get_all_specs` for getting all kernelspecs
more efficiently
+ * various improvements to error messages and documentation
+- Split documentation into own subpackage
+
+-------------------------------------------------------------------
Old:
----
jupyter_client-4.1.1.tar.gz
New:
----
jupyter_client-5.0.1.tar.gz
python-jupyter_client-doc.changes
python-jupyter_client-doc.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_client-doc.spec ++++++
#
# spec file for package python-jupyter_client-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/
#
# PDF documentation currently broken
%bcond_with pdf
%bcond_without html
%bcond_without tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jupyter_client-doc
Version: 5.0.1
Release: 0
Summary: Documentation for python-jupyter_client
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://ipython.org
Source:
https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module jupyter_client}
%if %{with tests}
# Test Requirements
BuildRequires: %{python_module jupyter_ipykernel}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
# 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_client-doc = %{version}}
%description
Documentation and help files for python-jupyter_client.
%prep
%setup -q -n jupyter_client-%{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_client
%if %{with pdf}
cp docs/_build/latex/jupyter_core.pdf
%{buildroot}%{_docdir}/python-jupyter_client/
%endif
%if %{with html}
cp -r docs/_build/html %{buildroot}%{_docdir}/python-jupyter_client/
%endif
%fdupes %{buildroot}%{_docdir}/python-jupyter_client/
%if %{with tests}
%check
pushd jupyter_client/tests
%python_expand py.test-%{$python_bin_suffix}
popd
%endif
%files
%defattr(-,root,root,-)
%doc COPYING.md
%{_docdir}/python-jupyter_client/
%changelog
++++++ python-jupyter_client.spec ++++++
--- /var/tmp/diff_new_pack.lXyxwl/_old 2017-05-17 17:11:49.828260770 +0200
+++ /var/tmp/diff_new_pack.lXyxwl/_new 2017-05-17 17:11:49.828260770 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-jupyter_client
#
-# 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,41 +16,30 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jupyter_client
-Version: 4.1.1
+Version: 5.0.1
Release: 0
Summary: Jupyter protocol implementation and client libraries
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://jupyter.org
-Source:
https://pypi.python.org/packages/source/j/jupyter_client/jupyter_client-%{version}.tar.gz
-BuildRequires: python-devel
-BuildRequires: python-jupyter_core
-BuildRequires: python-pyzmq >= 13
-BuildRequires: python-setuptools
-BuildRequires: python-traitlets
-# Test Requirements
-BuildRequires: python-nose
-# Python 2 Test Requirements
-BuildRequires: python-mock
-# Documentation requirements
-BuildRequires: python-Sphinx
-# Documentation requirements
-BuildRequires: python-Sphinx
-%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} >
1110 )
-BuildRequires: python-Sphinx-latex
-%endif
+Source:
https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-%{version}.tar.gz
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module python-dateutil}
+BuildRequires: %{python_module jupyter_core}
+BuildRequires: %{python_module pyzmq >= 13}
+BuildRequires: %{python_module traitlets}
+Requires: python-python-dateutil
Requires: python-jupyter_core
Requires: python-pyzmq >= 13
Requires: python-traitlets
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
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 contains the reference implementation of the Jupyter protocol.
@@ -59,85 +48,20 @@
It also provides the jupyter kernelspec entrypoint for installing kernelspecs
for use with Jupyter frontends.
-
-%package doc-html
-Summary: HTML documentation for %{name}
-Recommends: %{name} = %{version}
-
-%description doc-html
-Documentation and help files for %{name} in HTML format
-
-%package doc-pdf
-Summary: HTML documentation for %{name}
-Recommends: %{name} = %{version}
-
-%description doc-pdf
-Documentation and help files for %{name} in PDF format
-
%prep
%setup -q -n jupyter_client-%{version}
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-
-# Prepare for update-alternatives usage
-mv %{buildroot}%{_bindir}/jupyter-kernelspec
%{buildroot}%{_bindir}/jupyter2-kernelspec
-ln -s -f %{_bindir}/jupyter2-kernelspec
%{buildroot}%{_bindir}/jupyter-kernelspec-%{py_ver}
-
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-ln -s -f %{_sysconfdir}/alternatives/jupyter-kernelspec
%{buildroot}%{_bindir}/jupyter-kernelspec
-# create a dummy target for /etc/alternatives/jupyter-kernelspec
-touch %{buildroot}%{_sysconfdir}/alternatives/jupyter-kernelspec
-
-# Build the documentation
-pushd docs
-# LaTeX is broken in current version, should be fixed in next version
-# %if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} >
1110 )
-# PYTHONPATH=%{buildroot}%{python_sitelib} make latexpdf
-# %endif
-PYTHONPATH=%{buildroot}%{python_sitelib} make html
-rm -rf _build/html/.buildinfo
-popd
-
-%check
-# We can't test the kernel manager because that requires the ipython kernel,
-# which requires this package, causing a dependency loop. So those tests are
-# excluded
-pushd jupyter_client/tests
-PYTHONPATH=%{buildroot}%{python_sitelib} nosetests -I
test_multikernelmanager.py -I test_kernelmanager.py
-popd
-
-%post
-%_sbindir/update-alternatives \
- --install %{_bindir}/jupyter-kernelspec jupyter-kernelspec
%{_bindir}/jupyter-kernelspec-%{py_ver} 30
-
-%preun
-if [ $1 -eq 0 ] ; then
- %_sbindir/update-alternatives --remove jupyter-kernelspec
%{_bindir}/jupyter-kernelspec-%{py_ver}
-fi
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc CONTRIBUTING.md COPYING.md README.md
-%{_bindir}/jupyter-kernelspec
-%{_bindir}/jupyter2-kernelspec
-%{_bindir}/jupyter-kernelspec-%{py_ver}
-%ghost %{_sysconfdir}/alternatives/jupyter-kernelspec
+%python3_only %{_bindir}/jupyter-kernelspec
%{python_sitelib}/*
-%files doc-html
-%defattr(-,root,root,-)
-%doc COPYING.md
-%doc docs/_build/html/
-
-# %if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} >
1110 )
-# %files doc-pdf
-# %defattr(-,root,root,-)
-# %doc COPYING.md
-# %doc docs/_build/latex/jupyter_core.pdf
-# %endif
-
%changelog
++++++ jupyter_client-4.1.1.tar.gz -> jupyter_client-5.0.1.tar.gz ++++++
++++ 3390 lines of diff (skipped)