Hello community,

here is the log from the commit of package python-jupyter_ipyparallel for 
openSUSE:Factory checked in at 2017-05-17 17:14:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_ipyparallel (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter_ipyparallel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter_ipyparallel"

Wed May 17 17:14:24 2017 rev:4 rq:491662 version:6.0.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_ipyparallel/python-jupyter_ipyparallel-doc.changes
        2016-03-26 15:21:53.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_ipyparallel.new/python-jupyter_ipyparallel-doc.changes
   2017-05-17 17:14:26.430184832 +0200
@@ -1,0 +2,45 @@
+Thu Apr 27 17:28:08 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version.
+
+-------------------------------------------------------------------
+Thu Mar 30 19:24:51 UTC 2017 - toddrme2...@gmail.com
+
+- Update to 6.0.2
+  * Upload fixed sdist for 6.0.1.
+- Update to 6.0.1
+  * Small encoding fix for Python 2.
+- Update to 6.0
+  * Due to a compatibility change and semver, this is a major release. 
However, it is not a big release.
+  * The main compatibility change is that all timestamps are now 
timezone-aware UTC timestamps.
+  * This means you may see comparison errors if you have code that uses 
datetime objects without timezone info (so-called naïve datetime objects).
+  *  Rename :meth:`Client.become_distributed` to :meth:`Client.become_dask`.
+    :meth:`become_distributed` remains as an alias.
+  *  import joblib from a public API instead of a private one
+    when using IPython Parallel as a joblib backend.
+  *  Compatibility fix in extensions for security changes in notebook 4.3
+- Update to 5.2
+  *  Fix compatibility with changes in ipykernel 4.3, 4.4
+  *  Improve inspection of ``@remote`` decorated functions
+  *  :meth:`Client.wait` accepts any Future.
+  *  Add ``--user`` flag to :command:`ipcluster nbextension`
+  *  Default to one core per worker in :meth:`Client.become_distributed`.
+    Override by specifying `ncores` keyword-argument.
+  *  Subprocess logs are no longer sent to files by default in 
:command:`ipcluster`.
+- Update to 5.1
+  * IPython Parallel 5.1 adds integration with other parallel computing tools,
+    such as `dask.distributed <https://distributed.readthedocs.io>`_ and 
`joblib <https://pythonhosted.org/joblib>`__.
+  * IPython parallel now supports the notebook-4.2 API for enabling server 
extensions,
+    to provide the IPython clusters tab
+      jupyter serverextension enable --py ipyparallel
+      jupyter nbextension install --py ipyparallel
+      jupyter nbextension enable --py ipyparallel
+    though you can still use the more convenient single-call::
+      ipcluster nbextension enable
+    which does all three steps above.
+  * `Slurm <https://computing.llnl.gov/tutorials/linux_clusters>`_ support is 
added to ipcluster.
+- Update to 5.0.1
+  *  Fix imports in :meth:`use_cloudpickle`, :meth:`use_dill`.
+  *  Various typos and documentation updates to catch up with 5.0.
+
+-------------------------------------------------------------------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_ipyparallel/python-jupyter_ipyparallel.changes
    2016-03-26 15:21:54.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_ipyparallel.new/python-jupyter_ipyparallel.changes
       2017-05-17 17:14:26.518172428 +0200
@@ -1,0 +2,50 @@
+Thu Apr 27 17:28:08 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version.
+
+-------------------------------------------------------------------
+Fri Apr  7 19:04:07 UTC 2017 - toddrme2...@gmail.com
+
+- Clean up update-alternatives usage.
+
+-------------------------------------------------------------------
+Thu Mar 30 19:24:51 UTC 2017 - toddrme2...@gmail.com
+
+- Update to 6.0.2
+  * Upload fixed sdist for 6.0.1.
+- Update to 6.0.1
+  * Small encoding fix for Python 2.
+- Update to 6.0
+  * Due to a compatibility change and semver, this is a major release. 
However, it is not a big release.
+  * The main compatibility change is that all timestamps are now 
timezone-aware UTC timestamps.
+  * This means you may see comparison errors if you have code that uses 
datetime objects without timezone info (so-called naïve datetime objects).
+  *  Rename :meth:`Client.become_distributed` to :meth:`Client.become_dask`.
+    :meth:`become_distributed` remains as an alias.
+  *  import joblib from a public API instead of a private one
+    when using IPython Parallel as a joblib backend.
+  *  Compatibility fix in extensions for security changes in notebook 4.3
+- Update to 5.2
+  *  Fix compatibility with changes in ipykernel 4.3, 4.4
+  *  Improve inspection of ``@remote`` decorated functions
+  *  :meth:`Client.wait` accepts any Future.
+  *  Add ``--user`` flag to :command:`ipcluster nbextension`
+  *  Default to one core per worker in :meth:`Client.become_distributed`.
+    Override by specifying `ncores` keyword-argument.
+  *  Subprocess logs are no longer sent to files by default in 
:command:`ipcluster`.
+- Update to 5.1
+  * IPython Parallel 5.1 adds integration with other parallel computing tools,
+    such as `dask.distributed <https://distributed.readthedocs.io>`_ and 
`joblib <https://pythonhosted.org/joblib>`__.
+  * IPython parallel now supports the notebook-4.2 API for enabling server 
extensions,
+    to provide the IPython clusters tab
+      jupyter serverextension enable --py ipyparallel
+      jupyter nbextension install --py ipyparallel
+      jupyter nbextension enable --py ipyparallel
+    though you can still use the more convenient single-call::
+      ipcluster nbextension enable
+    which does all three steps above.
+  * `Slurm <https://computing.llnl.gov/tutorials/linux_clusters>`_ support is 
added to ipcluster.
+- Update to 5.0.1
+  *  Fix imports in :meth:`use_cloudpickle`, :meth:`use_dill`.
+  *  Various typos and documentation updates to catch up with 5.0.
+
+-------------------------------------------------------------------

Old:
----
  ipyparallel-5.0.0.tar.gz

New:
----
  ipyparallel-6.0.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jupyter_ipyparallel-doc.spec ++++++
--- /var/tmp/diff_new_pack.i4boMZ/_old  2017-05-17 17:14:28.565883737 +0200
+++ /var/tmp/diff_new_pack.i4boMZ/_new  2017-05-17 17:14:28.569883172 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jupyter_ipyparallel-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
@@ -15,74 +15,86 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
-# LaTeX is broken in current version, should be fixed in next version
-# %define build_pdf 1
-%define build_pdf 0
-%else
-%define build_pdf 0
-%endif
+# PDF documentation currently broken
+%bcond_with pdf
+
+%bcond_without html
+
+%bcond_without tests
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-jupyter_ipyparallel-doc
-Version:        5.0.0
+Version:        6.0.2
 Release:        0
 Summary:        Documentation for python-jupyter_ipyparallel
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 Url:            http://ipython.org
-Source:         
https://pypi.python.org/packages/source/i/ipyparallel/ipyparallel-%{version}.tar.gz
-BuildRequires:  python-jupyter_ipyparallel
+Source:         
https://files.pythonhosted.org/packages/source/i/ipyparallel/ipyparallel-%{version}.tar.gz
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module jupyter_ipyparallel = %{version}}
+%if %{with tests}
+# Test requirements
+BuildRequires:  %{python_module jupyter_ipython-iptest}
+%endif
 # Documentation requirements
-BuildRequires:  python-Sphinx
-%if %{?build_pdf}
-BuildRequires:  python-Sphinx-latex
+%if %{with pdf} || %{with html}
+BuildRequires:  python3-Sphinx
+%endif
+%if %{with pdf}
+BuildRequires:  python3-Sphinx-latex
+BuildRequires:  tex(unicode-math.sty)
 %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_ipyparallel-doc = %{version}}
 
 %description
 Documentation and help files for python-jupyter_ipyparallel.
 
-%package html
-Summary:        HTML documentation for python-jupyter_ipyparallel
-Recommends:     python-jupyter_ipyparallel = %{version}
-
-%description html
-Documentation and help files for python-jupyter_ipyparallel in HTML format.
-
-%package pdf
-Summary:        PDF documentation for python-jupyter_ipyparallel
-Recommends:     python-jupyter_ipyparallel = %{version}
-
-%description pdf
-Documentation and help files for python-jupyter_ipyparallel in PDF format.
-
 %prep
 %setup -q -n ipyparallel-%{version}
 
 %build
-# Not needed
-
-%install
 # Build the documentation
 pushd docs
-%if %{build_pdf}
-PYTHONPATH=%{buildroot}%{python_sitelib} make latexpdf
-%endif
-PYTHONPATH=%{buildroot}%{python_sitelib} make html
+%if %{with html}
+make html
 rm -rf build/html/.buildinfo
+%endif
+%if %{with pdf}
+make latexpdf
+%endif
 popd
 
-%files html
-%defattr(-,root,root,-)
-%doc COPYING.md
-%doc docs/build/html/
+%install
+mkdir -p %{buildroot}%{_docdir}/python-jupyter_ipyparallel
 
-%if %{build_pdf}
-files pdf
-defattr(-,root,root,-)
-%doc COPYING.md
-%doc docs/build/latex/*.pdf
+%if %{with pdf}
+cp docs/build/latex/*.pdf %{buildroot}%{_docdir}/python-jupyter_ipyparallel/
+%endif
+
+%if %{with html}
+cp -r docs/build/html %{buildroot}%{_docdir}/python-jupyter_ipyparallel/
 %endif
 
+cp -r examples %{buildroot}%{_docdir}/python-jupyter_ipyparallel/
+%fdupes %{buildroot}%{_docdir}/python-jupyter_ipyparallel/
+
+%if %{with tests}
+%check
+export LANG=en_US.UTF-8
+%python_expand iptest-%{$python_bin_suffix}
+%endif
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING.md
+%{_docdir}/python-jupyter_ipyparallel/
+
 %changelog

++++++ python-jupyter_ipyparallel.spec ++++++
--- /var/tmp/diff_new_pack.i4boMZ/_old  2017-05-17 17:14:28.601878661 +0200
+++ /var/tmp/diff_new_pack.i4boMZ/_new  2017-05-17 17:14:28.605878098 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jupyter_ipyparallel
 #
-# 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,30 +16,31 @@
 #
 
 
+# Easily disable nbextension installation
+%bcond_without nbextension
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-jupyter_ipyparallel
-Version:        5.0.0
+Version:        6.0.2
 Release:        0
 Summary:        Interactive Parallel Computing with IPython
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 Url:            http://ipython.org
-Source:         
https://pypi.python.org/packages/source/i/ipyparallel/ipyparallel-%{version}.tar.gz
-BuildRequires:  python-decorator
-BuildRequires:  python-devel
-BuildRequires:  python-ipython_genutils
-BuildRequires:  python-jupyter_client
-BuildRequires:  python-jupyter_ipykernel
-BuildRequires:  python-jupyter_ipython >= 4
-BuildRequires:  python-pyzmq >= 13
-BuildRequires:  python-setuptools
-%if 0%{?suse_version} && 0%{?suse_version} > 1320
-# Test requirements
-BuildRequires:  python-jupyter_ipython-iptest
-%endif
-# Documentation requirements
-BuildRequires:  python-Sphinx
-%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
-BuildRequires:  python-Sphinx-latex
+Source:         
https://files.pythonhosted.org/packages/source/i/ipyparallel/ipyparallel-%{version}.tar.gz
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module decorator}
+BuildRequires:  %{python_module ipython_genutils}
+BuildRequires:  %{python_module jupyter_client}
+BuildRequires:  %{python_module jupyter_ipykernel}
+BuildRequires:  %{python_module jupyter_ipython >= 4}
+BuildRequires:  %{python_module pyzmq >= 13}
+BuildRequires:  %{python_module traitlets}
+%if %{with nbextension}
+BuildRequires:  python3-jupyter_notebook
 %endif
 Requires:       python-decorator
 Requires:       python-ipython_genutils
@@ -48,116 +49,67 @@
 Requires:       python-jupyter_ipython >= 4
 Requires:       python-pyzmq >= 13
 Recommends:     python-jupyter_notebook
+Recommends:     %{name}-nbextension = %{version}
 Recommends:     python-mpi4py
 Recommends:     python-pymongo
 Recommends:     python-tornado
-Conflicts:      IPython < 4
-Conflicts:      python-IPython < 4
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(preun):  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
 Use multiple instances of IPython in parallel, interactively.
 
-%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
+%package -n %{name}-nbextension
+Summary:        Notebook extension for %{name}
+Provides:       %{python_module jupyter_ipyparallel-nbextension = %{version}}
+
+%description -n %{name}-nbextension
+This package provides the python version-independent nbextension files
+for %{name}. It is useless on its own, the proper python version-
+specific package will require this.
 
 %prep
 %setup -q -n ipyparallel-%{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}
 
-# Prepare for update-alternatives usage
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-for p in ipcluster ipcontroller ipengine ; do
-    mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/${p}2
-    ln -s -f %{_bindir}/${p}2 %{buildroot}%{_bindir}/$p-%{py_ver}
-    ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
-    # create a dummy target for /etc/alternatives/$p
-    touch %{buildroot}%{_sysconfdir}/alternatives/$p
-done
+PYTHONPATH=%{buildroot}%{python3_sitelib} jupyter nbextension install 
--prefix=%{buildroot}%{_prefix} --py ipyparallel
+
+# Prepare for update-alternatives
+%python_clone -a %{buildroot}%{_bindir}/ipcluster
+%python_clone -a %{buildroot}%{_bindir}/ipcontroller
+%python_clone -a %{buildroot}%{_bindir}/ipengine
 
 # These files are meant to be runnable stand-alone, so they should be 
executable
-chmod a+x %{buildroot}%{python_sitelib}/ipyparallel/apps/*app.py
-chmod a-x %{buildroot}%{python_sitelib}/ipyparallel/apps/baseapp.py
-chmod a+x %{buildroot}%{python_sitelib}/ipyparallel/controller/heartmonitor.py
-
-# Build the documentation
-pushd docs
-# PDF documentation currently doesn't build
-# 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
+%python_expand chmod a+x 
%{buildroot}%{$python_sitelib}/ipyparallel/apps/*app.py
+%python_expand chmod a+x 
%{buildroot}%{$python_sitelib}/ipyparallel/apps/baseapp.py
+%python_expand chmod a+x 
%{buildroot}%{$python_sitelib}/ipyparallel/controller/heartmonitor.py
 
 %post
-%_sbindir/update-alternatives \
-   --install %{_bindir}/ipcluster ipcluster %{_bindir}/ipcluster-%{py_ver} 30 \
-   --slave %{_bindir}/ipcontroller ipcontroller 
%{_bindir}/ipcontroller-%{py_ver} \
-   --slave %{_bindir}/ipengine ipengine %{_bindir}/ipengine-%{py_ver}
-
-%preun
-if [ $1 -eq 0 ] ; then
-    %_sbindir/update-alternatives --remove ipcluster 
%{_bindir}/ipcluster-%{py_ver}
-fi
-
-%if 0%{?suse_version} && 0%{?suse_version} > 1320
-%check
-export LANG=en_US.UTF-8
-iptest
-%endif
+%{python_install_alternative ipcluster ipcontroller ipengine}
 
-%files
+%postun
+%python_uninstall_alternative ipcluster
+
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc COPYING.md README.md
-%doc examples/
-%{_bindir}/ipcluster
-%{_bindir}/ipcluster2
-%{_bindir}/ipcluster-%{py_ver}
-%ghost %{_sysconfdir}/alternatives/ipcluster
-%{_bindir}/ipcontroller
-%{_bindir}/ipcontroller2
-%{_bindir}/ipcontroller-%{py_ver}
-%ghost %{_sysconfdir}/alternatives/ipcontroller
-%{_bindir}/ipengine
-%{_bindir}/ipengine2
-%{_bindir}/ipengine-%{py_ver}
-%ghost %{_sysconfdir}/alternatives/ipengine
+%python_alternative %{_bindir}/ipcluster
+%python_alternative %{_bindir}/ipcontroller
+%python_alternative %{_bindir}/ipengine
 %{python_sitelib}/*
 
-%files doc-html
+%files -n %{name}-nbextension
 %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/*.pdf
-# %endif
+%{_datadir}/jupyter/nbextensions/ipyparallel/
 
 %changelog

++++++ ipyparallel-5.0.0.tar.gz -> ipyparallel-6.0.2.tar.gz ++++++
++++ 11746 lines of diff (skipped)


Reply via email to