Hello community,
here is the log from the commit of package python-jupyter_ipykernel for
openSUSE:Factory checked in at 2018-10-01 08:18:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_ipykernel (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_ipykernel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_ipykernel"
Mon Oct 1 08:18:51 2018 rev:11 rq:638894 version:5.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_ipykernel/python-jupyter_ipykernel.changes
2018-09-11 17:16:59.371438520 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter_ipykernel.new/python-jupyter_ipykernel.changes
2018-10-01 08:18:54.833910489 +0200
@@ -1,0 +2,10 @@
+Thu Sep 27 20:44:12 UTC 2018 - Todd R <[email protected]>
+
+- Update to version 5.0.0
+ * Drop support for Python 2. ipykernel 5.0 requires Python >= 3.4
+ * Add support for IPython’s asynchronous code execution (PR #323)
+ * Update release process in CONTRIBUTING.md (PR #339)
+- Drop python 2 build since they are no longer supported.
+- Switch to wheels for more reliable installation.
+
+-------------------------------------------------------------------
Old:
----
ipykernel-4.9.0.tar.gz
New:
----
ipykernel-5.0.0-py3-none-any.whl
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_ipykernel.spec ++++++
--- /var/tmp/diff_new_pack.A5OZCz/_old 2018-10-01 08:18:55.389910134 +0200
+++ /var/tmp/diff_new_pack.A5OZCz/_new 2018-10-01 08:18:55.393910131 +0200
@@ -17,21 +17,21 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
Name: python-jupyter_ipykernel
-Version: 4.9.0
+Version: 5.0.0
Release: 0
Summary: IPython Kernel for Jupyter
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/ipython/ipykernel
-Source0:
https://files.pythonhosted.org/packages/source/i/ipykernel/ipykernel-%{version}.tar.gz
+Source0:
https://files.pythonhosted.org/packages/py3/i/ipykernel/ipykernel-%{version}-py3-none-any.whl
# Please make sure you update the documentation files at every release
Source1:
https://media.readthedocs.org/pdf/ipykernel/stable/ipykernel.pdf
Source2:
https://media.readthedocs.org/htmlzip/ipykernel/stable/ipykernel.zip
-BuildRequires: %{python_module devel}
BuildRequires: %{python_module jupyter_client}
BuildRequires: %{python_module jupyter_ipython >= 4.0.0}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module tornado >= 4.0}
BuildRequires: %{python_module traitlets >= 4.1.0}
BuildRequires: fdupes
@@ -45,19 +45,14 @@
BuildRequires: %{python_module nose_warnings_filters}
BuildRequires: %{python_module tornado >= 4.0}
BuildRequires: %{python_module traitlets >= 4.1.0}
-BuildRequires: python-mock
-BuildRequires: python-typing
%if 0%{?suse_version} <= 1320
-Requires: python3-typing
+BuildRequires: %{python_module typing}
%endif
# /SECTION
Requires: python-jupyter_client
Requires: python-jupyter_ipython >= 4.0.0
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
Requires: python-typing
@@ -78,45 +73,37 @@
Documentation and help files for python-jupyter_ipykernel.
%prep
-%setup -q -n ipykernel-%{version}
+%setup -T -c -n %{name}-%{version}
cp %{SOURCE1} .
unzip %{SOURCE2} -d docs
mv docs/ipykernel-* docs/html
rm docs/html/.buildinfo
%build
-%python_build
+# Not needed
%install
-%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}
-}
+%python_expand pip%{$python_bin_suffix} install \
+ --root %{buildroot} \
+ --prefix %{_prefix} \
+ --compile \
+ %{SOURCE0}
%check
-%python_expand nosetests-%{$python_bin_suffix}
+export PYTHONDONTWRITEBYTECODE=1
+%{python_expand export PYTHONPATH=%{buildroot}%{python_sitelib}
+nosetests-%{$python_bin_suffix}
+}
%files %{python_files}
-%doc README.md
-%license COPYING.md
-%{python_sitelib}/*
-%{_datadir}/jupyter/kernels/python_%{python_bin_suffix}/
-%python3_only %{_datadir}/icons/hicolor/*/apps/JupyterIPyKernel.*
+%{python_sitelib}/ipykernel-%{version}.dist-info/
+%license %{python_sitelib}/ipykernel-%{version}.dist-info/LICENSE.txt
+%{python_sitelib}/ipykernel/
+%{_datadir}/jupyter/kernels/python3/
+%{python_sitelib}/ipykernel_launcher.py*
+%pycache_only %{python_sitelib}/__pycache__/ipykernel_launcher*.py*
%files -n python-jupyter_ipykernel-doc
-%license COPYING.md
%doc ipykernel.pdf
%doc docs/html
++++++ ipykernel.pdf ++++++
(binary differes)
++++++ ipykernel.zip ++++++
Binary files /var/tmp/diff_new_pack.A5OZCz/_old and
/var/tmp/diff_new_pack.A5OZCz/_new differ