Hello community, here is the log from the commit of package python3-jupyter_ipython for openSUSE:Factory checked in at 2017-04-20 20:56:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-jupyter_ipython (Old) and /work/SRC/openSUSE:Factory/.python3-jupyter_ipython.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-jupyter_ipython" Thu Apr 20 20:56:40 2017 rev:10 rq:487992 version:5.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python3-jupyter_ipython/python3-jupyter_ipython-doc.changes 2016-10-28 10:45:13.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-jupyter_ipython.new/python3-jupyter_ipython-doc.changes 2017-04-20 20:56:43.318991932 +0200 @@ -1,0 +2,55 @@ +Fri Apr 7 19:09:38 UTC 2017 - toddrme2...@gmail.com + +- Update to IPython 5.3 + * Fix a bug in ``set_next_input`` leading to a crash of terminal IPython. + :ghpull:`10231`, :ghissue:`10296`, :ghissue:`10229` + * Always wait for editor inputhook for terminal IPython :ghpull:`10239`, + :ghpull:`10240` + * Disable ``_ipython_display_`` in terminal :ghpull:`10249`, :ghpull:`10274` + * Update terminal colors to be more visible by default on windows + :ghpull:`10260`, :ghpull:`10238`, :ghissue:`10281` + * Add Ctrl-Z shortcut (suspend) in terminal debugger :ghpull:`10254`, + :ghissue:`10273` + * Indent on new line by looking at the text before the cursor :ghpull:`10264`, + :ghpull:`10275`, :ghissue:`9283` + * Update QtEventloop integration to fix some matplotlib integration issues + :ghpull:`10201`, :ghpull:`10311`, :ghissue:`10201` + * Respect completions display style in terminal debugger :ghpull:`10305`, + :ghpull:`10313` + * Add a config option ``TerminalInteractiveShell.extra_open_editor_shortcuts`` + to enable extra shortcuts to open the input in an editor. These are :kbd:`v` + in vi mode, and :kbd:`C-X C-E` in emacs mode (:ghpull:`10330`). + The :kbd:`F2` shortcut is always enabled. +- Update to IPython 5.2.2 + * Fix error when starting with ``IPCompleter.limit_to__all__`` configured. +- Update to IPython 5.2.1 + * Fix tab completion in the debugger. :ghpull:`10223` +- Update to IPython 5.2 + * restore IPython's debugger to raise on quit. :ghpull:`10009` + * The configuration value ``c.TerminalInteractiveShell.highlighting_style`` can + now directly take a class argument for custom color style. :ghpull:`9848` + * Correctly handle matplotlib figures dpi :ghpull:`9868` + * Deprecate ``-e`` flag for the ``%notebook`` magic that had no effects. + :ghpull:`9872` + * You can now press F2 while typing at a terminal prompt to edit the contents + in your favourite terminal editor. Set the :envvar:`EDITOR` environment + variable to pick which editor is used. :ghpull:`9929` + * sdists will now only be ``.tar.gz`` as per upstream PyPI requirements. + :ghpull:`9925` + * :any:`IPython.core.debugger` have gained a ``set_trace()`` method for + convenience. :ghpull:`9947` + * The 'smart command mode' added to the debugger in 5.0 was removed, as more + people preferred the previous behaviour. Therefore, debugger commands such as + ``c`` will act as debugger commands even when ``c`` is defined as a variable. + :ghpull:`10050` + * Fixes OS X event loop issues at startup, :ghpull:`10150` + * Deprecate the ``%autoindent`` magic. :ghpull:`10176` + * Emit a :any:`DeprecationWarning` when setting the deprecated + ``limit_to_all`` option of the completer. :ghpull:`10198` + * The :cellmagic:`capture` magic can now capture the result of a cell (from an + expression on the last line), as well as printed and displayed output. + :ghpull:`9851`. +- Install icons. +- Install .desktop file. + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/python3-jupyter_ipython/python3-jupyter_ipython.changes 2016-11-12 13:02:44.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python3-jupyter_ipython.new/python3-jupyter_ipython.changes 2017-04-20 20:56:44.114879380 +0200 @@ -1,0 +2,59 @@ +Fri Apr 14 15:45:26 UTC 2017 - toddrme2...@gmail.com + +- Remove unneeded python3-pathlib2 dependency. This is only needed + for python3 <= 3.3, which we don't ship anymore. + +------------------------------------------------------------------- +Fri Apr 7 19:09:38 UTC 2017 - toddrme2...@gmail.com + +- Update to IPython 5.3 + * Fix a bug in ``set_next_input`` leading to a crash of terminal IPython. + :ghpull:`10231`, :ghissue:`10296`, :ghissue:`10229` + * Always wait for editor inputhook for terminal IPython :ghpull:`10239`, + :ghpull:`10240` + * Disable ``_ipython_display_`` in terminal :ghpull:`10249`, :ghpull:`10274` + * Update terminal colors to be more visible by default on windows + :ghpull:`10260`, :ghpull:`10238`, :ghissue:`10281` + * Add Ctrl-Z shortcut (suspend) in terminal debugger :ghpull:`10254`, + :ghissue:`10273` + * Indent on new line by looking at the text before the cursor :ghpull:`10264`, + :ghpull:`10275`, :ghissue:`9283` + * Update QtEventloop integration to fix some matplotlib integration issues + :ghpull:`10201`, :ghpull:`10311`, :ghissue:`10201` + * Respect completions display style in terminal debugger :ghpull:`10305`, + :ghpull:`10313` + * Add a config option ``TerminalInteractiveShell.extra_open_editor_shortcuts`` + to enable extra shortcuts to open the input in an editor. These are :kbd:`v` + in vi mode, and :kbd:`C-X C-E` in emacs mode (:ghpull:`10330`). + The :kbd:`F2` shortcut is always enabled. +- Update to IPython 5.2.2 + * Fix error when starting with ``IPCompleter.limit_to__all__`` configured. +- Update to IPython 5.2.1 + * Fix tab completion in the debugger. :ghpull:`10223` +- Update to IPython 5.2 + * restore IPython's debugger to raise on quit. :ghpull:`10009` + * The configuration value ``c.TerminalInteractiveShell.highlighting_style`` can + now directly take a class argument for custom color style. :ghpull:`9848` + * Correctly handle matplotlib figures dpi :ghpull:`9868` + * Deprecate ``-e`` flag for the ``%notebook`` magic that had no effects. + :ghpull:`9872` + * You can now press F2 while typing at a terminal prompt to edit the contents + in your favourite terminal editor. Set the :envvar:`EDITOR` environment + variable to pick which editor is used. :ghpull:`9929` + * sdists will now only be ``.tar.gz`` as per upstream PyPI requirements. + :ghpull:`9925` + * :any:`IPython.core.debugger` have gained a ``set_trace()`` method for + convenience. :ghpull:`9947` + * The 'smart command mode' added to the debugger in 5.0 was removed, as more + people preferred the previous behaviour. Therefore, debugger commands such as + ``c`` will act as debugger commands even when ``c`` is defined as a variable. + :ghpull:`10050` + * Fixes OS X event loop issues at startup, :ghpull:`10150` + * Deprecate the ``%autoindent`` magic. :ghpull:`10176` + * Emit a :any:`DeprecationWarning` when setting the deprecated + ``limit_to_all`` option of the completer. :ghpull:`10198` + * The :cellmagic:`capture` magic can now capture the result of a cell (from an + expression on the last line), as well as printed and displayed output. + :ghpull:`9851`. + +------------------------------------------------------------------- Old: ---- do_not_reload_numpy_globals.patch ipython-5.1.0.tar.gz New: ---- ipython-5.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-jupyter_ipython-doc.spec ++++++ --- /var/tmp/diff_new_pack.iwnAc3/_old 2017-04-20 20:56:45.570673506 +0200 +++ /var/tmp/diff_new_pack.iwnAc3/_new 2017-04-20 20:56:45.570673506 +0200 @@ -1,7 +1,7 @@ # # spec file for package python3-jupyter_ipython-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 @@ -16,47 +16,47 @@ # -%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 ) # PDF documentation currently broken -# %define build_pdf 1 -%define build_pdf 0 -%else -%define build_pdf 0 -%endif +%bcond_with pdf + +# HTML documentation currently only builds for Python 3 +%bcond_without html + +%bcond_without tests Name: python3-jupyter_ipython-doc -Version: 5.1.0 +Version: 5.3.0 Release: 0 -Summary: Documentation for python-jupyter_ipython +Summary: Documentation for python3-jupyter_ipython License: BSD-3-Clause -Group: Documentation/Other +Group: Development/Languages/Python Url: http://ipython.org Source: https://files.pythonhosted.org/packages/source/i/ipython/ipython-%{version}.tar.gz BuildRequires: fdupes BuildRequires: python3-jupyter_ipykernel BuildRequires: python3-jupyter_ipython +%if %{with tests} # Test Requirements -BuildRequires: python3-jupyter_ipython-iptest -BuildConflicts: python3-buildservice-tweak +BuildRequires: python3-jupyter_ipython-iptest = %{version} +BuildRequires: python3-nose +BuildRequires: python3-testpath +%endif # Documentation requirements BuildRequires: graphviz BuildRequires: graphviz-gnome BuildRequires: python3-Sphinx BuildRequires: python3-matplotlib -BuildRequires: python3-nose BuildRequires: python3-numpydoc BuildRequires: python3-requests -BuildRequires: python3-jupyter_ipython-iptest = %{version} -%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 ) +%if %{with pdf} BuildRequires: python3-Sphinx-latex %endif -Recommends: python3-jupyter_ipython = %{version} -Provides: %{name}-html -Provides: %{name}-pdf -Obsoletes: %{name}-html -Obsoletes: %{name}-pdf 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_ipython. @@ -66,39 +66,41 @@ %build # Build the documentation -export LANG="en_US.UTF-8" pushd docs -sed -i -s 's/ python/ python3/' Makefile -%if %{build_pdf} +%if %{with pdf} make pdf %endif +%if %{with html} make html rm -rf build/html/.buildinfo +%endif popd %install mkdir -p %{buildroot}%{_docdir}/python3-jupyter_ipython -%if %{build_pdf} -cp docs/build/latex/jupyter_core.pdf %{buildroot}%{_docdir}/python3-jupyter_ipython/ +%if %{with pdf} +cp docs/build/latex/*.pdf %{buildroot}%{_docdir}/python3-jupyter_ipython/ %endif +%if %{with html} cp -r docs/build/html %{buildroot}%{_docdir}/python3-jupyter_ipython/ -%fdupes %{buildroot}%{_docdir}/python3-jupyter_ipython/html/ +%endif + +cp -r examples %{buildroot}%{_docdir}/python3-jupyter_ipython/ +%fdupes %{buildroot}%{_docdir}/python3-jupyter_ipython/ +%if %{with tests} %check -mkdir temp -pushd temp export LANG="en_US.UTF-8" +pushd docs iptest popd +%endif %files %defattr(-,root,root,-) -%doc COPYING.rst -%{_docdir}/python3-jupyter_ipython/html/ -%if %{build_pdf} -%{_docdir}/python3-jupyter_ipython/jupyter_core.pdf -%endif +%doc COPYING.rst docs/source/about/license_and_copyright.rst +%{_docdir}/python3-jupyter_ipython/ %changelog ++++++ python3-jupyter_ipython.spec ++++++ --- /var/tmp/diff_new_pack.iwnAc3/_old 2017-04-20 20:56:45.594670112 +0200 +++ /var/tmp/diff_new_pack.iwnAc3/_new 2017-04-20 20:56:45.594670112 +0200 @@ -1,7 +1,7 @@ # # spec file for package python3-jupyter_ipython # -# 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,47 +16,52 @@ # +%bcond_without iptest + Name: python3-jupyter_ipython -Version: 5.1.0 +Version: 5.3.0 Release: 0 Summary: Rich architecture for interactive computing with Python License: BSD-3-Clause Group: Development/Languages/Python Url: http://ipython.org Source: https://files.pythonhosted.org/packages/source/i/ipython/ipython-%{version}.tar.gz -# PATCH-FIX-UPSTREAM do_not_reload_numpy_globals.patch -- disable reloading numpy _globals which is now forbidden https://github.com/ipython/ipython/issues/9983 and https://github.com/ipython/ipython/pull/9988 -Patch0: do_not_reload_numpy_globals.patch +BuildRequires: desktop-file-utils +BuildRequires: icoutils BuildRequires: fdupes -BuildRequires: python3-backports.shutil_get_terminal_size +BuildRequires: hicolor-icon-theme +BuildRequires: update-desktop-files BuildRequires: python3-decorator BuildRequires: python3-devel +BuildRequires: python3-jupyter_nbformat BuildRequires: python3-pexpect BuildRequires: python3-pickleshare -BuildRequires: python3-prompt_toolkit >= 1.0.3 -BuildRequires: python3-setuptools >= 18.5 +BuildRequires: python3-prompt_toolkit +BuildRequires: python3-setuptools BuildRequires: python3-simplegeneric > 0.8 -BuildRequires: python3-traitlets >= 4.2 +BuildRequires: python3-traitlets +%if %{with iptest} # Test Requirements BuildRequires: python3-matplotlib -BuildRequires: python3-nose >= 0.10.1 -BuildRequires: python3-path.py +BuildRequires: python3-nose BuildRequires: python3-requests BuildRequires: python3-testpath -Requires: python3-backports.shutil_get_terminal_size +%endif Requires: python3-decorator -Requires: python3-path.py +Requires: python3-jupyter_nbformat Requires: python3-pexpect Requires: python3-pickleshare -Requires: python3-prompt_toolkit >= 1.0.3 +Requires: python3-prompt_toolkit Requires: python3-simplegeneric > 0.8 -Requires: python3-traitlets >= 4.2 +Requires: python3-traitlets Recommends: python3-docrepr Recommends: python3-jupyter_ipykernel Recommends: python3-jupyter_ipyparallel Recommends: python3-jupyter_nbconvert -Recommends: python3-jupyter_nbformat Recommends: python3-jupyter_notebook Recommends: python3-jupyter_qtconsole +Provides: IPython3 = %{version} +Obsoletes: IPython3 < %{version} Provides: python3-IPython = %{version} Obsoletes: python3-IPython < %{version} Requires(post): update-alternatives @@ -98,10 +103,8 @@ Summary: Tools for testing packages that rely in %{name} Group: Development/Languages/Python Requires: %{name} = %{version} -Requires: python3-jupyter_nbformat Requires: python3-matplotlib -Requires: python3-nose >= 0.10.1 -Requires: python3-numpy +Requires: python3-nose Requires: python3-requests Requires: python3-testpath @@ -111,11 +114,15 @@ %prep %setup -q -n ipython-%{version} -%patch0 -p1 %build python3 setup.py build +pushd scripts +icotool -x ipython.ico +icotool -x ipython_nb.ico +popd + %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} @@ -133,7 +140,7 @@ # create a dummy target for /etc/alternatives/ipython.1.gz touch %{buildroot}%{_sysconfdir}/alternatives/ipython.1.gz -# We also want a manual for ipython3 +# We also want a manual for ipython2 ln -s %{_mandir}/man1/ipython-%{py3_ver}.1.gz %{buildroot}%{_mandir}/man1/ipython3.1.gz # These can be run stand-alone, so make them executable rather than removing shebang @@ -142,12 +149,36 @@ chmod a+x %{buildroot}%{python3_sitelib}/IPython/testing/plugin/setup.py chmod a+x %{buildroot}%{python3_sitelib}/IPython/terminal/ipapp.py +# Install the icons +for x in 16 24 32 48 256 ; do + mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/ + ipyf=(scripts/ipython_*_${x}x${x}x32.png) + ipynbf=(scripts/ipython_nb_*_${x}x${x}x32.png) + cp ${ipyf[0]} %{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/IPython-%{py3_ver}.png + cp ${ipynbf[0]} %{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/IPythonNotebook-%{py3_ver}.png +done + +# Modify and install .desktop file +mv examples/IPython\ Kernel/ipython.desktop ipython-%{py3_ver}.desktop +desktop-file-edit --set-comment="Enhanced interactive Python %{py3_ver} shell" --set-name="ipython %{py3_ver}" --set-generic-name="IPython %{py3_ver}" --set-key="Exec" --set-value="ipython-%{py3_ver}" --set-icon="IPython-%{py3_ver}" ipython-%{py3_ver}.desktop +%suse_update_desktop_file -i -r ipython-%{py3_ver} "System;TerminalEmulator;" + %fdupes -s %{buildroot}%{_bindir} +# Remove these since they won't work +%if !%{with iptest} +rm %{buildroot}%{_bindir}/iptest +rm %{buildroot}%{_bindir}/iptest3 +rm %{buildroot}%{_bindir}/iptest-%{py3_ver} +rm %{buildroot}%{_sysconfdir}/alternatives/iptest +%endif + %post %_sbindir/update-alternatives \ --install %{_bindir}/ipython ipython %{_bindir}/ipython-%{py3_ver} 30 \ --slave %{_mandir}/man1/ipython.1.gz ipython.1.gz %{_mandir}/man1/ipython-%{py3_ver}.1.gz +%desktop_database_post +%icon_theme_cache_post %post iptest %_sbindir/update-alternatives \ @@ -157,6 +188,8 @@ if [ $1 -eq 0 ] ; then %_sbindir/update-alternatives --remove ipython %{_bindir}/ipython-%{py3_ver} fi +%desktop_database_postun +%icon_theme_cache_postun %postun iptest if [ $1 -eq 0 ] ; then @@ -171,16 +204,22 @@ %{_bindir}/ipython-%{py3_ver} %ghost %{_sysconfdir}/alternatives/ipython %{_mandir}/man1/ipython.1.gz -%{_mandir}/man1/ipython-%{py3_ver}.1.gz %{_mandir}/man1/ipython3.1.gz +%{_mandir}/man1/ipython-%{py3_ver}.1.gz %ghost %{_sysconfdir}/alternatives/ipython.1.gz -%{python3_sitelib}/* +%{python3_sitelib}/IPython/ +%{python3_sitelib}/ipython-%{version}-py*.egg-info +%{_datadir}/applications/ipython-%{py3_ver}.desktop +%{_datadir}/icons/hicolor/*/apps/IPython-%{py3_ver}.png +%{_datadir}/icons/hicolor/*/apps/IPythonNotebook-%{py3_ver}.png +%if %{with iptest} %files iptest %defattr(-,root,root,-) %{_bindir}/iptest %{_bindir}/iptest3 %{_bindir}/iptest-%{py3_ver} %ghost %{_sysconfdir}/alternatives/iptest +%endif %changelog ++++++ ipython-5.1.0.tar.gz -> ipython-5.3.0.tar.gz ++++++ ++++ 3100 lines of diff (skipped)