Hello community,

here is the log from the commit of package python-jupyter_ipyparallel for 
openSUSE:Factory checked in at 2018-06-22 13:30:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_ipyparallel (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter_ipyparallel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter_ipyparallel"

Fri Jun 22 13:30:25 2018 rev:8 rq:615056 version:6.2.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_ipyparallel/python-jupyter_ipyparallel.changes
    2018-02-16 21:43:54.056756841 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_ipyparallel.new/python-jupyter_ipyparallel.changes
       2018-06-22 13:30:29.561496999 +0200
@@ -1,0 +2,15 @@
+Thu Jun  7 17:42:57 UTC 2018 - toddrme2...@gmail.com
+
+- Update to version 6.2.1
+  * Workaround a setuptools issue preventing installation from sdist on Windows
+- Update to version 6.2.0
+  * Drop support for Python 3.3. IPython parallel now requires Python 2.7 or 
>= 3.4.
+  * Further fixes for compatibility with tornado 5 when run with asyncio 
(Python 3)
+  * Fix for enabling clusters tab via nbextension
+  * Multiple fixes for handling when engines stop unexpectedly
+  * Installing IPython Parallel enables the Clusters tab extension by default, 
without any additional commands.
+- Switch to wheel-based install
+- Run tests in main package
+- Remove -doc subpackage and use upstream-build docs
+
+-------------------------------------------------------------------

Old:
----
  ipyparallel-6.1.1.tar.gz
  python-jupyter_ipyparallel-doc.changes
  python-jupyter_ipyparallel-doc.spec

New:
----
  COPYING.md
  README.md
  ipyparallel-6.2.1-py2.py3-none-any.whl
  ipyparallel.pdf
  ipyparallel.zip

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

Other differences:
------------------
++++++ python-jupyter_ipyparallel.spec ++++++
--- /var/tmp/diff_new_pack.kU43jc/_old  2018-06-22 13:30:30.825450281 +0200
+++ /var/tmp/diff_new_pack.kU43jc/_new  2018-06-22 13:30:30.829450133 +0200
@@ -15,49 +15,62 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-# Easily disable nbextension installation
-%bcond_without nbextension
-
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-jupyter_ipyparallel
-Version:        6.1.1
+Version:        6.2.1
 Release:        0
 Summary:        Interactive Parallel Computing with IPython
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 Url:            https://github.com/ipython/ipyparallel
-Source:         
https://files.pythonhosted.org/packages/source/i/ipyparallel/ipyparallel-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/py2.py3/i/ipyparallel/ipyparallel-%{version}-py2.py3-none-any.whl
+Source10:       
https://raw.githubusercontent.com/ipython/ipyparallel/%{version}/COPYING.md
+Source11:       
https://raw.githubusercontent.com/ipython/ipyparallel/%{version}/README.md
+Source20:       
https://media.readthedocs.org/pdf/ipyparallel/%{version}/ipyparallel.pdf
+Source21:       
https://media.readthedocs.org/htmlzip/ipyparallel/%{version}/ipyparallel.zip
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
-%if %{with nbextension}
-BuildRequires:  python3-jupyter_notebook
-%endif
-Requires:       python-python-dateutil >= 2.1
+BuildRequires:  unzip
+# Test requirements
+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 jupyter_ipython-iptest >= 4}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module pytest-cov}
+BuildRequires:  %{python_module python-dateutil >= 2.1}
+BuildRequires:  %{python_module pyzmq >= 13}
+BuildRequires:  %{python_module testpath}
+BuildRequires:  %{python_module tornado >= 4}
+BuildRequires:  %{python_module traitlets >= 4.3}
+BuildRequires:  python-futures
+# Python 2 test requirements
 Requires:       python-decorator
 Requires:       python-ipython_genutils
 Requires:       python-jupyter_client
 Requires:       python-jupyter_ipykernel
 Requires:       python-jupyter_ipython >= 4
+Requires:       python-python-dateutil >= 2.1
 Requires:       python-pyzmq >= 13
 Requires:       python-tornado >= 4
+Requires:       python-traitlets >= 4.3
 %ifpython2      
 Requires:       python-futures
+Requires:       python3-jupyter_ipyparallel
+%endif
+%ifpython3    
+Requires:       python3-jupyter_notebook
 %endif
-Recommends:     %{name}-nbextension = %{version}
 Recommends:     python-mpi4py
 Recommends:     python-pymongo
-%ifpython2
-Requires:       python3-jupyter_ipyparallel
-%endif
 %ifpython3
 Provides:         python-jupyter_ipyparallel-nbextension = %{version}
-# Change <= to < in next version of 6.0.2
-Obsoletes:        python-jupyter_ipyparallel-nbextension <= %{version}
-Requires(post):   python3-jupyter_notebook
-Requires(preun):  python3-jupyter_notebook
+Obsoletes:        python-jupyter_ipyparallel-nbextension < %{version}
 %endif
 Requires(post):   update-alternatives
 Requires(postun):  update-alternatives
@@ -68,15 +81,36 @@
 %description
 Use multiple instances of IPython in parallel, interactively.
 
+%package -n     %{name}-doc
+Summary:        Documentation for python-jupyter_ipyparallel
+Group:          Documentation/Other
+Provides:       %{python_module jupyter_ipyparallel-doc = %{version}}
+
+%description -n %{name}-doc
+Documentation and help files for python-jupyter_ipyparallel.
+
 %prep
-%setup -q -n ipyparallel-%{version}
+%setup -c -T
+cp %{SOURCE10} .
+cp %{SOURCE11} .
+cp %{SOURCE20} .
+%setup -T -D -a 21
+mv ipyparallel-%{version} html
+rm html/.buildinfo
 
 %build
-%python_build
+# Not Needed
 
 %install
-%python_install
+%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0}
 
+%{fdupes %{buildroot}%{_datadir}/jupyter/ %{buildroot}%{python3_sitelib}}
+
+if [ "$(dirname %{_prefix}/etc/jupyter)" != "$(dirname 
%{_sysconfdir}/jupyter)" ]; then
+mkdir -p %{buildroot}%{_sysconfdir}
+mv %{buildroot}%{_prefix}/etc/jupyter %{buildroot}%{_sysconfdir}/jupyter
+rm -d %{buildroot}%{_prefix}/etc
+fi
 
 # Prepare for update-alternatives
 %python_clone -a %{buildroot}%{_bindir}/ipcluster
@@ -99,34 +133,33 @@
 %fdupes .
 popd
 }
-%python_expand rm -f %{buildroot}%{$python_sitelib}/_current_flavor
-
-PYTHONPATH=%{buildroot}%{python3_sitelib} jupyter nbextension install 
--prefix=%{buildroot}%{_prefix} --py ipyparallel
 
 %post
 %{python_install_alternative ipcluster ipcontroller ipengine}
-%ifpython3
-ipcluster nbextension enable
-%endif
-exit 0
 
 %postun
 %python_uninstall_alternative ipcluster
 
-%preun -n python3-jupyter_ipyparallel
-if [ $1 == 0 ] && [ -d %{python3_sitelib}/ipyparallel/ ] ; then
-    ipcluster nbextension disable
-fi
-exit 0
-
 %files %{python_files}
 %defattr(-,root,root,-)
-%doc COPYING.md README.md
+%doc README.md
+%license COPYING.md
 %python_alternative %{_bindir}/ipcluster
 %python_alternative %{_bindir}/ipcontroller
 %python_alternative %{_bindir}/ipengine
-%{python_sitelib}/ipyparallel-%{version}-py*.egg-info
+%{python_sitelib}/ipyparallel-*.dist-info
 %{python_sitelib}/ipyparallel/
+%python3_only %dir %{_datadir}/jupyter/nbextensions/
+%python3_only %dir %{_sysconfdir}/jupyter/jupyter_notebook_config.d
+%python3_only %dir %{_sysconfdir}/jupyter/nbconfig/
+%python3_only %dir %{_sysconfdir}/jupyter/nbconfig/tree.d
 %python3_only %{_datadir}/jupyter/nbextensions/ipyparallel/
+%python3_only 
%{_sysconfdir}/jupyter/jupyter_notebook_config.d/ipyparallel-serverextension.json
+%python3_only 
%{_sysconfdir}/jupyter/nbconfig/tree.d/ipyparallel-nbextension.json
+
+%files -n %{name}-doc
+%license COPYING.md
+%doc ipyparallel.pdf
+%doc html/
 
 %changelog

++++++ COPYING.md ++++++
# Licensing terms

Traitlets is adapted from enthought.traits, Copyright (c) Enthought, Inc.,
under the terms of the Modified BSD License.

This project is licensed under the terms of the Modified BSD License
(also known as New or Revised or 3-Clause BSD), as follows:

- Copyright (c) 2001-, IPython Development Team

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.

Neither the name of the IPython Development Team nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

## About the IPython Development Team

The IPython Development Team is the set of all contributors to the IPython 
project.
This includes all of the IPython subprojects.

The core team that coordinates development on GitHub can be found here:
https://github.com/jupyter/.

## Our Copyright Policy

IPython uses a shared copyright model. Each contributor maintains copyright
over their contributions to IPython. But, it is important to note that these
contributions are typically only changes to the repositories. Thus, the IPython
source code, in its entirety is not the copyright of any single person or
institution.  Instead, it is the collective copyright of the entire IPython
Development Team.  If individual contributors want to maintain a record of what
changes/contributions they have specific copyright on, they should indicate
their copyright in the commit message of the change, when they commit the
change to one of the IPython repositories.

With this in mind, the following banner should be used in any source code file
to indicate the copyright and license terms:

    # Copyright (c) IPython Development Team.
    # Distributed under the terms of the Modified BSD License.
++++++ README.md ++++++
# Interactive Parallel Computing with IPython

ipyparallel is the new home of IPython.parallel. ipyparallel is a Python 
package and collection of CLI scripts for controlling clusters for Jupyter. 

ipyparallel contains the following CLI scripts:

* ipcluster - start/stop a cluster
* ipcontroller - start a scheduler
* ipengine - start an engine

## Install

Install ipyparallel:

    pip install ipyparallel

To enable the `IPython Clusters` tab in Jupyter Notebook:

    ipcluster nbextension enable


To disable it again:

    ipcluster nbextension disable

See the [documentation on configuring the notebook 
server](https://jupyter-notebook.readthedocs.io/en/latest/public_server.html)
to find your config or setup your initial `jupyter_notebook_config.py`.

### JupyterHub Install

To install for all users on JupyterHub, as root:

    jupyter nbextension install --sys-prefix --py ipyparallel
    jupyter nbextension enable --sys-prefix --py ipyparallel
    jupyter serverextension enable --sys-prefix --py ipyparallel

## Run

Start a cluster:

    ipcluster start

Use it from Python:

```python
import os
import ipyparallel as ipp

rc = ipp.Client()
ar = rc[:].apply_async(os.getpid)
pid_map = ar.get_dict()
```

See [the docs](https://ipyparallel.readthedocs.io) for more info.

Reply via email to