commit python3-jupyter_ipyparallel for openSUSE:Factory
Hello community, here is the log from the commit of package python3-jupyter_ipyparallel for openSUSE:Factory checked in at 2017-04-20 20:51:03 Comparing /work/SRC/openSUSE:Factory/python3-jupyter_ipyparallel (Old) and /work/SRC/openSUSE:Factory/.python3-jupyter_ipyparallel.new (New) Package is "python3-jupyter_ipyparallel" Thu Apr 20 20:51:03 2017 rev:7 rq:486614 version:6.0.2 Changes: --- /work/SRC/openSUSE:Factory/python3-jupyter_ipyparallel/python3-jupyter_ipyparallel-doc.changes 2016-11-13 22:50:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-jupyter_ipyparallel.new/python3-jupyter_ipyparallel-doc.changes 2017-04-20 20:51:23.488219070 +0200 @@ -1,0 +2,18 @@ +Fri Apr 7 19:21:42 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 +- Move tests to doc subpackage + +--- python3-jupyter_ipyparallel.changes: same change Old: ipyparallel-5.2.0.tar.gz New: ipyparallel-6.0.2.tar.gz Other differences: -- ++ python3-jupyter_ipyparallel-doc.spec ++ --- /var/tmp/diff_new_pack.QXyktn/_old 2017-04-20 20:51:24.784035840 +0200 +++ /var/tmp/diff_new_pack.QXyktn/_new 2017-04-20 20:51:24.788035274 +0200 @@ -1,7 +1,7 @@ # # spec file for package python3-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,29 +15,31 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +# PDF documentation currently broken +%bcond_with pdf -%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 ) -# LaTeX documentation building is currently broken -%define build_pdf 0 -%else -%define build_pdf 0 -%endif +%bcond_without tests Name: python3-jupyter_ipyparallel-doc -Version:5.2.0 +Version:6.0.2 Release:0 -Summary:Documentation for python-jupyter_ipyparallel +Summary:Documentation for python3-jupyter_ipyparallel License:BSD-3-Clause Group: Development/Languages/Python Url:http://ipython.org Source: https://files.pythonhosted.org/packages/source/i/ipyparallel/ipyparallel-%{version}.tar.gz +BuildRequires: fdupes BuildRequires: python3-jupyter_ipyparallel +%if %{with tests} +# Test requirements +BuildRequires: python3-jupyter_ipython-iptest +%endif # Documentation requirements BuildRequires: python3-Sphinx -%if %{?build_pdf} +%if %{with pdf} BuildRequires: python3-Sphinx-latex +BuildRequires: tex(unicode-math.sty) %endif -Recommends: python3-jupyter_ipyparallel = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Provides: %{name}-html = %{version} @@ -52,24 +54,35 @@ %setup -q -n ipyparallel-%{version} %build -# Not needed - -%install # Build the documentation pushd docs -%if %{build_pdf} -PYTHONPATH=%{buildroot}%{python3_sitelib} make latexpdf +%if %{with pdf} +make latexpdf %endif -PYTHONPATH=%{buildroot}%{python3_sitelib} make html -rm -rf _build/html/.buildinfo +make html +rm -rf build/html/.buildinfo popd +%install +mkdir -p %{buildroot}%{_docdir}/python3-jupyter_ipyparallel + +%if %{with pdf} +cp docs/build/latex/*.pdf %{buildroot}%{_docdir}/python3-jupyter_ipyparallel/ +%endif + +cp -r docs/build/html %{buildroot}%{_docdir}/python3-jupyter_ipyparallel/ +cp -r examples %{buildroot}%{_docdir}/python3-jupyter_ipyparallel/ +%fdupes %{buildroot}%{_docdir}/python3-jupyter_ipyparallel/ + +%if %{with tests} +%check +export LANG=en_US.UTF-8 +iptest +%endif + %files %defattr(-,root,root,-) %doc COPYING.md -%doc docs/build/html/ -%if %{build_pdf} -%doc docs/build/latex/*.pdf -%endif +%{_docdir}/python3-jupyter_ipyparallel/ %changelog ++ python3
commit python3-jupyter_ipyparallel for openSUSE:Factory
Hello community, here is the log from the commit of package python3-jupyter_ipyparallel for openSUSE:Factory checked in at 2016-11-13 22:50:55 Comparing /work/SRC/openSUSE:Factory/python3-jupyter_ipyparallel (Old) and /work/SRC/openSUSE:Factory/.python3-jupyter_ipyparallel.new (New) Package is "python3-jupyter_ipyparallel" Changes: --- /work/SRC/openSUSE:Factory/python3-jupyter_ipyparallel/python3-jupyter_ipyparallel-doc.changes 2016-08-05 18:16:17.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-jupyter_ipyparallel.new/python3-jupyter_ipyparallel-doc.changes 2016-11-13 22:50:56.0 +0100 @@ -1,0 +2,14 @@ +Sun Oct 2 17:14:20 UTC 2016 - a...@gmx.de + +- update to version 5.2.0: + * 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`. + +--- python3-jupyter_ipyparallel.changes: same change Old: ipyparallel-5.1.1.tar.gz New: ipyparallel-5.2.0.tar.gz Other differences: -- ++ python3-jupyter_ipyparallel-doc.spec ++ --- /var/tmp/diff_new_pack.4a5HWE/_old 2016-11-13 22:50:58.0 +0100 +++ /var/tmp/diff_new_pack.4a5HWE/_new 2016-11-13 22:50:58.0 +0100 @@ -24,7 +24,7 @@ %endif Name: python3-jupyter_ipyparallel-doc -Version:5.1.1 +Version:5.2.0 Release:0 Summary:Documentation for python-jupyter_ipyparallel License:BSD-3-Clause ++ python3-jupyter_ipyparallel.spec ++ --- /var/tmp/diff_new_pack.4a5HWE/_old 2016-11-13 22:50:58.0 +0100 +++ /var/tmp/diff_new_pack.4a5HWE/_new 2016-11-13 22:50:58.0 +0100 @@ -17,7 +17,7 @@ Name: python3-jupyter_ipyparallel -Version:5.1.1 +Version:5.2.0 Release:0 Summary:Interactive Parallel Computing with IPython License:BSD-3-Clause ++ ipyparallel-5.1.1.tar.gz -> ipyparallel-5.2.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipyparallel-5.1.1/PKG-INFO new/ipyparallel-5.2.0/PKG-INFO --- old/ipyparallel-5.1.1/PKG-INFO 2016-06-24 16:15:33.0 +0200 +++ new/ipyparallel-5.2.0/PKG-INFO 2016-08-17 21:49:40.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: ipyparallel -Version: 5.1.1 +Version: 5.2.0 Summary: Interactive Parallel Computing with IPython Home-page: http://ipython.org Author: IPython Development Team diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipyparallel-5.1.1/README.md new/ipyparallel-5.2.0/README.md --- old/ipyparallel-5.1.1/README.md 2016-06-22 02:20:14.0 +0200 +++ new/ipyparallel-5.2.0/README.md 2016-08-14 19:49:09.0 +0200 @@ -1,6 +1,12 @@ # Interactive Parallel Computing with IPython -ipyparallel is the new home of IPython.parallel. +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 @@ -17,10 +23,17 @@ ipcluster nbextension disable - See the [documentation on configuring the notebook server](https://jupyter-notebook.readthedocs.org/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: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipyparallel-5.1.1/docs/source/changelog.rst new/ipyparallel-5.2.0/docs/source/changelog.rst --- old/ipyparallel-5.1.1/docs/source/changelog.rst 2016-06-24 16:15:05.0 +0200 +++ new/ipyparallel-5.2.0/docs/source/changelog.rst 2016-08-17 21:36:01.0 +0200 @@ -4,6 +4,18 @@ === +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
commit python3-jupyter_ipyparallel for openSUSE:Factory
Hello community, here is the log from the commit of package python3-jupyter_ipyparallel for openSUSE:Factory checked in at 2016-08-05 18:16:16 Comparing /work/SRC/openSUSE:Factory/python3-jupyter_ipyparallel (Old) and /work/SRC/openSUSE:Factory/.python3-jupyter_ipyparallel.new (New) Package is "python3-jupyter_ipyparallel" Changes: --- /work/SRC/openSUSE:Factory/python3-jupyter_ipyparallel/python3-jupyter_ipyparallel-doc.changes 2016-06-02 09:36:03.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-jupyter_ipyparallel.new/python3-jupyter_ipyparallel-doc.changes 2016-08-05 18:16:17.0 +0200 @@ -1,0 +2,18 @@ +Fri Jul 29 18:26:26 UTC 2016 - toddrme2...@gmail.com + +- Fix source url. + +--- +Wed Jul 27 21:39:26 UTC 2016 - toddrme2...@gmail.com + +- Update to version 5.1.1 + + 5.1.1 fixes iteration through AsyncResults, which was broken in +some instances by 5.0. +- Update to version 5.1.0 + + IPython Parallel 5.1 adds integration with other parallel +computing tools, such as `dask.distributed` and `joblib`. + + IPython parallel now supports the notebook-4.2 API for +enabling server extensions, to provide the IPython clusters tab +- Merge documentation subpackages into single package. + +--- --- /work/SRC/openSUSE:Factory/python3-jupyter_ipyparallel/python3-jupyter_ipyparallel.changes 2016-06-02 09:36:03.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-jupyter_ipyparallel.new/python3-jupyter_ipyparallel.changes 2016-08-05 18:16:17.0 +0200 @@ -1,0 +2,12 @@ +Wed Jul 27 21:39:26 UTC 2016 - toddrme2...@gmail.com + +- Update to version 5.1.1 + + 5.1.1 fixes iteration through AsyncResults, which was broken in +some instances by 5.0. +- Update to version 5.1.0 + + IPython Parallel 5.1 adds integration with other parallel +computing tools, such as `dask.distributed` and `joblib`. + + IPython parallel now supports the notebook-4.2 API for +enabling server extensions, to provide the IPython clusters tab + +--- Old: ipyparallel-5.0.1.tar.gz New: ipyparallel-5.1.1.tar.gz Other differences: -- ++ python3-jupyter_ipyparallel-doc.spec ++ --- /var/tmp/diff_new_pack.JwGRMU/_old 2016-08-05 18:16:19.0 +0200 +++ /var/tmp/diff_new_pack.JwGRMU/_new 2016-08-05 18:16:19.0 +0200 @@ -17,49 +17,37 @@ %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 +# LaTeX documentation building is currently broken %define build_pdf 0 %else %define build_pdf 0 %endif Name: python3-jupyter_ipyparallel-doc -Version:5.0.1 +Version:5.1.1 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 +Source: https://files.pythonhosted.org/packages/source/i/ipyparallel/ipyparallel-%{version}.tar.gz BuildRequires: python3-jupyter_ipyparallel # Documentation requirements BuildRequires: python3-Sphinx %if %{?build_pdf} BuildRequires: python3-Sphinx-latex %endif +Recommends: python3-jupyter_ipyparallel = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +Provides: %{name}-html = %{version} +Provides: %{name}-pdf = %{version} +Obsoletes: %{name}-html < %{version} +Obsoletes: %{name}-pdf < %{version} %description Documentation and help files for python3-jupyter_ipyparallel. -%package html -Summary:HTML documentation for python3-jupyter_ipyparallel -Group: Development/Languages/Python -Recommends: python3-jupyter_ipyparallel = %{version} - -%description html -Documentation and help files for python3-jupyter_ipyparallel in HTML format. - -%package pdf -Summary:PDF documentation for python3-jupyter_ipyparallel -Group: Development/Languages/Python -Recommends: python3-jupyter_ipyparallel = %{version} - -%description pdf -Documentation and help files for python3-jupyter_ipyparallel in PDF format. - %prep %setup -q -n ipyparallel-%{version} @@ -76,15 +64,11 @@ rm -rf _build/html/.buildinfo popd -%files html +%files %defattr(-,root,root,-) %doc COPYING.md %doc docs/build/html/ - %if %{build_pdf} -files pdf -defattr(-,root,root,-) -%doc COPYING.md %doc docs/build/latex/*.pdf %endif
commit python3-jupyter_ipyparallel for openSUSE:Factory
Hello community, here is the log from the commit of package python3-jupyter_ipyparallel for openSUSE:Factory checked in at 2016-06-02 09:36:02 Comparing /work/SRC/openSUSE:Factory/python3-jupyter_ipyparallel (Old) and /work/SRC/openSUSE:Factory/.python3-jupyter_ipyparallel.new (New) Package is "python3-jupyter_ipyparallel" Changes: --- /work/SRC/openSUSE:Factory/python3-jupyter_ipyparallel/python3-jupyter_ipyparallel-doc.changes 2016-03-26 15:21:58.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-jupyter_ipyparallel.new/python3-jupyter_ipyparallel-doc.changes 2016-06-02 09:36:03.0 +0200 @@ -1,0 +2,7 @@ +Sun May 8 07:13:29 UTC 2016 - a...@gmx.de + +- specfile: + * updated source url to files.pythonhosted.org + + +--- --- /work/SRC/openSUSE:Factory/python3-jupyter_ipyparallel/python3-jupyter_ipyparallel.changes 2016-03-26 15:21:59.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-jupyter_ipyparallel.new/python3-jupyter_ipyparallel.changes 2016-06-02 09:36:03.0 +0200 @@ -1,0 +2,7 @@ +Sun May 8 07:13:27 UTC 2016 - a...@gmx.de + +- specfile: + * updated source url to files.pythonhosted.org + + +--- Other differences: -- ++ python3-jupyter_ipyparallel.spec ++ --- /var/tmp/diff_new_pack.CHbJ43/_old 2016-06-02 09:36:04.0 +0200 +++ /var/tmp/diff_new_pack.CHbJ43/_new 2016-06-02 09:36:04.0 +0200 @@ -23,7 +23,7 @@ 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 +Source: https://files.pythonhosted.org/packages/source/i/ipyparallel/ipyparallel-%{version}.tar.gz BuildRequires: python3-decorator BuildRequires: python3-devel BuildRequires: python3-ipython_genutils
commit python3-jupyter_ipyparallel for openSUSE:Factory
Hello community, here is the log from the commit of package python3-jupyter_ipyparallel for openSUSE:Factory checked in at 2016-03-26 15:21:56 Comparing /work/SRC/openSUSE:Factory/python3-jupyter_ipyparallel (Old) and /work/SRC/openSUSE:Factory/.python3-jupyter_ipyparallel.new (New) Package is "python3-jupyter_ipyparallel" Changes: New Changes file: --- /dev/null 2016-01-27 19:41:03.648095915 +0100 +++ /work/SRC/openSUSE:Factory/.python3-jupyter_ipyparallel.new/python3-jupyter_ipyparallel-doc.changes 2016-03-26 15:21:58.0 +0100 @@ -0,0 +1,72 @@ +--- +Wed Feb 24 07:21:17 UTC 2016 - a...@gmx.de + +- update to version 5.0.1: + * Fix imports in :meth:`use_cloudpickle`, :meth:`use_dill`. + * Various typos and documentation updates to catch up with 5.0. + +--- +Wed Feb 17 13:42:08 UTC 2016 - toddrme2...@gmail.com + +- Split documentation into subpackage + +--- +Wed Feb 3 20:49:51 UTC 2016 - a...@gmx.de + +- specfile: + * update copyright year + +- update to version 5.0.0: + * The highlight of ipyparallel 5.0 is that the Client has been +reorganized a bit to use Futures. AsyncResults are now a Future +subclass, so they can be `yield`ed in coroutines, etc. Views have +also received an Executor interface. This rewrite better connects +results to their handles, so the Client.results cache should no +longer grow unbounded. ++ The Executor API :class:`ipyparallel.ViewExecutor` ++ Creating an Executor from a Client: + :meth:`ipyparallel.Client.executor` ++ Each View has an :attr:`executor` attribute + * Part of the Future refactor is that Client IO is now handled in a +background thread, which means that :meth:`Client.spin_thread` is +obsolete and deprecated. + * Other changes: ++ Add :command:`ipcluster nbextension enable|disable` to toggle +the clusters tab in Jupyter notebook + * Less interesting development changes for users: Some +IPython-parallel extensions to the IPython kernel have been moved +to the ipyparallel package: ++ :mod:`ipykernel.datapub` is now :mod:`ipyparallel.datapub` ++ ipykernel Python serialization is now in + :mod:`ipyparallel.serialize` ++ apply_request message handling is implememented in a Kernel + subclass, rather than the base ipykernel Kernel. + +--- +Tue Oct 27 15:14:11 UTC 2015 - a...@gmx.de + +- update to version 4.1.0: + * Add :meth:`.Client.wait_interactive` + * Improvements for specifying engines with SSH launcher. + +--- +Wed Oct 21 13:28:07 UTC 2015 - toddrme2...@gmail.com + +- Don't build with python3-buildservice-tweak. + It causes package tests to fail . + +--- +Mon Oct 5 10:01:17 UTC 2015 - toddrme2...@gmail.com + +- Build documentation + +--- +Fri Aug 28 18:40:23 UTC 2015 - toddrme2...@gmail.com + +- Fix conflict + +--- +Wed Aug 26 13:41:45 UTC 2015 - toddrme2...@gmail.com + +- Initial version + --- /work/SRC/openSUSE:Factory/python3-jupyter_ipyparallel/python3-jupyter_ipyparallel.changes 2015-11-18 22:34:26.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-jupyter_ipyparallel.new/python3-jupyter_ipyparallel.changes 2016-03-26 15:21:59.0 +0100 @@ -1,0 +2,44 @@ +Wed Feb 24 07:21:17 UTC 2016 - a...@gmx.de + +- update to version 5.0.1: + * Fix imports in :meth:`use_cloudpickle`, :meth:`use_dill`. + * Various typos and documentation updates to catch up with 5.0. + +--- +Wed Feb 17 13:42:08 UTC 2016 - toddrme2...@gmail.com + +- Split documentation into subpackage + +--- +Wed Feb 3 20:49:51 UTC 2016 - a...@gmx.de + +- specfile: + * update copyright year + +- update to version 5.0.0: + * The highlight of ipyparallel 5.0 is that the Client has been +reorganized a bit to use Futures. AsyncResults are now a Future +subclass, so they can be `yield`ed in coroutines, etc. Views have +also received an Executor interface. This rewrite better connects +results to their handles, so the Client.results cache should no +longer grow unbounded. ++ The Executor API :class:`ipyparallel.ViewExecutor` ++ Creating an Executor from a Client: + :meth:`ipyparallel.Client.executor` ++ Each View has an :attr:`executor` attribute + * Part of the F
commit python3-jupyter_ipyparallel for openSUSE:Factory
Hello community, here is the log from the commit of package python3-jupyter_ipyparallel for openSUSE:Factory checked in at 2015-11-18 22:34:22 Comparing /work/SRC/openSUSE:Factory/python3-jupyter_ipyparallel (Old) and /work/SRC/openSUSE:Factory/.python3-jupyter_ipyparallel.new (New) Package is "python3-jupyter_ipyparallel" Changes: --- /work/SRC/openSUSE:Factory/python3-jupyter_ipyparallel/python3-jupyter_ipyparallel.changes 2015-09-30 05:50:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-jupyter_ipyparallel.new/python3-jupyter_ipyparallel.changes 2015-11-18 22:34:26.0 +0100 @@ -1,0 +2,18 @@ +Tue Oct 27 15:14:11 UTC 2015 - a...@gmx.de + +- update to version 4.1.0: + * Add :meth:`.Client.wait_interactive` + * Improvements for specifying engines with SSH launcher. + +--- +Wed Oct 21 13:28:07 UTC 2015 - toddrme2...@gmail.com + +- Don't build with python3-buildservice-tweak. + It causes package tests to fail . + +--- +Mon Oct 5 10:01:17 UTC 2015 - toddrme2...@gmail.com + +- Build documentation + +--- Old: ipyparallel-4.0.2.tar.gz New: ipyparallel-4.1.0.tar.gz Other differences: -- ++ python3-jupyter_ipyparallel.spec ++ --- /var/tmp/diff_new_pack.BnZr6e/_old 2015-11-18 22:34:26.0 +0100 +++ /var/tmp/diff_new_pack.BnZr6e/_new 2015-11-18 22:34:26.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package python3-ipyparallel +# spec file for package python3-jupyter_ipyparallel # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -13,24 +13,33 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Name: python3-jupyter_ipyparallel -Version:4.0.2 +Version:4.1.0 Release:0 -License:BSD-3-Clause Summary:Interactive Parallel Computing with IPython -Url:http://ipython.org +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: python3-devel -BuildRequires: python3-setuptools BuildRequires: python3-decorator +BuildRequires: python3-devel BuildRequires: python3-ipython_genutils BuildRequires: python3-jupyter_client BuildRequires: python3-jupyter_ipykernel BuildRequires: python3-jupyter_ipython >= 4 BuildRequires: python3-pyzmq >= 13 +BuildRequires: python3-setuptools +# Test requirements +BuildRequires: python3-jupyter_ipython-iptest +BuildConflicts: python3-buildservice-tweak +# Documentation requirements +BuildRequires: python3-Sphinx +%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 ) +BuildRequires: python3-Sphinx-latex +%endif Requires: python3-decorator Requires: python3-ipython_genutils Requires: python3-jupyter_client @@ -50,6 +59,22 @@ %description Use multiple instances of IPython in parallel, interactively. +%package doc-html +Summary:HTML documentation for %{name} +Group: Development/Languages/Python +Recommends: %{name} = %{version} + +%description doc-html +Documentation and help files for %{name} in HTML format + +%package doc-pdf +Summary:HTML documentation for %{name} +Group: Development/Languages/Python +Recommends: %{name} = %{version} + +%description doc-pdf +Documentation and help files for %{name} in PDF format + %prep %setup -q -n ipyparallel-%{version} @@ -62,7 +87,8 @@ # Prepare for update-alternatives usage mkdir -p %{buildroot}%{_sysconfdir}/alternatives for p in ipcluster ipcontroller ipengine ; do -mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py3_ver} +mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/${p}3 +ln -s -f %{_bindir}/${p}3 %{buildroot}%{_bindir}/$p-%{py3_ver} ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p # create a dummy target for /etc/alternatives/$p touch %{buildroot}%{_sysconfdir}/alternatives/$p @@ -73,6 +99,16 @@ chmod a-x %{buildroot}%{python3_sitelib}/ipyparallel/apps/baseapp.py chmod a+x %{buildroot}%{python3_sitelib}/ipyparallel/controller/heartmonitor.py +# Build the documentation +pushd docs +# PDF documentation currently doesn't build +# %if 0%{?sus