Hello community,

here is the log from the commit of package python-jupyter_ipython for 
openSUSE:Factory checked in at 2018-10-17 08:41:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_ipython (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter_ipython.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter_ipython"

Wed Oct 17 08:41:14 2018 rev:13 rq:642131 version:7.0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_ipython/python-jupyter_ipython-doc.changes
        2018-09-15 15:36:13.728985806 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_ipython.new/python-jupyter_ipython-doc.changes
   2018-10-17 08:42:27.585801911 +0200
@@ -1,0 +2,25 @@
+Tue Oct 16 01:17:20 UTC 2018 - Todd R <toddrme2...@gmail.com>
+
+- Update to version 7.0.1
+  Highlights
+  * IPython 7.0+ now uses prompt_toolkit 2.0
+  * IPython can automatically await code at top level, you should
+    not need to access an event loop or runner yourself.
+  * The magic %autoreload 2 now captures new methods added to
+    classes. Earlier, only methods existing as of the initial
+    import were being tracked and updated.
+  * The autoindent feature that was deprecated in 5.x was
+    re-enabled and un-deprecated.
+  * Make %run -n -i ... work correctly. Earlier, if %run was
+    passed both arguments, -n would be silently ignored.
+  * The %%script (as well as %%bash, %%ruby, ... ) cell magics
+    now raise by default if the return code of the given code is
+    non-zero (thus halting execution of further cells in a
+    notebook). The behavior can be disable by passing the 
+    --no-raise-error flag.
+- Add fix_test_history.patch
+  Fixes failure in test_history.py for sqlite >= 3.25
+  Should be fixed in next release
+  see https://github.com/ipython/ipython/issues/11372
+
+-------------------------------------------------------------------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_ipython/python-jupyter_ipython.changes
    2018-09-15 15:36:14.580985246 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_ipython.new/python-jupyter_ipython.changes
       2018-10-17 08:42:27.685801826 +0200
@@ -1,0 +2,30 @@
+Tue Oct 16 01:17:20 UTC 2018 - Todd R <toddrme2...@gmail.com>
+
+- Update to version 7.0.1
+  Highlights
+  * IPython 7.0+ now uses prompt_toolkit 2.0
+  * IPython can automatically await code at top level, you should
+    not need to access an event loop or runner yourself.
+  * The magic %autoreload 2 now captures new methods added to
+    classes. Earlier, only methods existing as of the initial
+    import were being tracked and updated.
+  * The autoindent feature that was deprecated in 5.x was
+    re-enabled and un-deprecated.
+  * Make %run -n -i ... work correctly. Earlier, if %run was
+    passed both arguments, -n would be silently ignored.
+  * The %%script (as well as %%bash, %%ruby, ... ) cell magics
+    now raise by default if the return code of the given code is
+    non-zero (thus halting execution of further cells in a
+    notebook). The behavior can be disable by passing the 
+    --no-raise-error flag.
+- Add fix_test_history.patch
+  Fixes failure in test_history.py for sqlite >= 3.25
+  Should be fixed in next release
+  see https://github.com/ipython/ipython/issues/11372
+
+-------------------------------------------------------------------
+Tue Oct  9 17:43:22 UTC 2018 - Todd R <toddrme2...@gmail.com>
+
+- Fix prompt_toolkit dependency.
+
+-------------------------------------------------------------------

Old:
----
  ipython-6.5.0.tar.gz

New:
----
  fix_test_history.patch
  ipython-7.0.1.tar.gz

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

Other differences:
------------------
++++++ python-jupyter_ipython-doc.spec ++++++
--- /var/tmp/diff_new_pack.hbBH6Y/_old  2018-10-17 08:42:28.437801188 +0200
+++ /var/tmp/diff_new_pack.hbBH6Y/_new  2018-10-17 08:42:28.437801188 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,9 +21,8 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         oldpython python
-%bcond_without tests
 Name:           python-jupyter_ipython-doc
-Version:        6.5.0
+Version:        7.0.1
 Release:        0
 Summary:        Documentation for python3-jupyter_ipython
 License:        BSD-3-Clause
@@ -33,6 +32,8 @@
 # Please make sure you update the documentation files at every release
 Source1:        https://media.readthedocs.org/pdf/ipython/stable/ipython.pdf
 Source2:        
https://media.readthedocs.org/htmlzip/ipython/stable/ipython.zip
+# PATCH-FIX-UPSTREAM fix_test_history.patch -- fix test failure in 
test_history.py for sqlite >= 3.25 -- see 
https://github.com/ipython/ipython/issues/11372
+Patch0:         fix_test_history.patch
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
@@ -47,29 +48,16 @@
 Obsoletes:      python-jupyter_ipython-doc-html < %{version}
 Obsoletes:      python-jupyter_ipython-doc-pdf < %{version}
 BuildArch:      noarch
-%if  %{with tests}
-# Test Requirements
-BuildRequires:  python3-backcall
-BuildRequires:  python3-jedi
-BuildRequires:  python3-jupyter_ipykernel
-BuildRequires:  python3-jupyter_ipyparallel
-BuildRequires:  python3-jupyter_ipython = %{version}
+# SECTION test requirements
 BuildRequires:  python3-jupyter_ipython-iptest = %{version}
-BuildRequires:  python3-jupyter_ipywidgets
-BuildRequires:  python3-jupyter_nbconvert
-BuildRequires:  python3-jupyter_nbformat
-BuildRequires:  python3-jupyter_notebook
-BuildRequires:  python3-jupyter_qtconsole
-BuildRequires:  python3-matplotlib
-BuildRequires:  python3-nose
-BuildRequires:  python3-testpath
-%endif
+# /SECTION
 
 %description
 Documentation and help files for python3-jupyter_ipython.
 
 %prep
 %setup -q -n ipython-%{version}
+%patch0 -p1
 unzip %{SOURCE2} -d docs
 mv docs/ipython-* docs/html
 rm docs/html/.buildinfo
@@ -77,17 +65,7 @@
 find examples -type f -name "*.py" -exec sed -i "s|^#!%{_bindir}/env 
python$|#!%{_bindir}/python3|" {} \;
 
 %build
-# Build the documentation
-export LANG="en_US.UTF-8"
-pushd docs
-%if %{with pdf}
-make %{?_smp_mflags} pdf
-%endif
-%if %{with html}
-make %{?_smp_mflags} html
-rm -rf build/html/.buildinfo
-%endif
-popd
+# Not needed
 
 %install
 mkdir -p %{buildroot}%{_docdir}/python-jupyter_ipython
@@ -98,13 +76,12 @@
 
 %fdupes %{buildroot}%{_docdir}/python-jupyter_ipython/
 
-%if %{with tests}
 %check
 export LANG="en_US.UTF-8"
-pushd docs
-iptest-%{python3_bin_suffix}
+mkdir tester
+pushd tester
+iptest
 popd
-%endif
 
 %files
 %license COPYING.rst  docs/source/about/license_and_copyright.rst

++++++ python-jupyter_ipython.spec ++++++
--- /var/tmp/diff_new_pack.hbBH6Y/_old  2018-10-17 08:42:28.453801174 +0200
+++ /var/tmp/diff_new_pack.hbBH6Y/_new  2018-10-17 08:42:28.457801171 +0200
@@ -12,32 +12,15 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 %bcond_without iptest
-%if 0%{?is_opensuse}
-%ifarch %{ix86}
-%if 0%{?leap_version} == 420200
-%bcond_with backends
-%else
-%bcond_without backends
-%endif
-%else
-%bcond_without backends
-%endif
-%else
-%if 0%{?sle_version} && 0%{sle_version} < 150000
-%bcond_with backends
-%else
-%bcond_without backends
-%endif
-%endif
 Name:           python-jupyter_ipython
-Version:        6.5.0
+Version:        7.0.1
 Release:        0
 Summary:        Rich architecture for interactive computing with Python
 License:        BSD-3-Clause
@@ -45,8 +28,10 @@
 Url:            https://github.com/ipython/ipython
 Source:         
https://files.pythonhosted.org/packages/source/i/ipython/ipython-%{version}.tar.gz
 Source1:        
https://raw.githubusercontent.com/jupyter/qtconsole/4.0.0/qtconsole/resources/icon/JupyterConsole.svg
+# PATCH-FIX-UPSTREAM fix_test_history.patch -- fix test failure in 
test_history.py for sqlite >= 3.25 -- see 
https://github.com/ipython/ipython/issues/11372
+Patch0:         fix_test_history.patch
 BuildRequires:  %{python_module backcall}
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module base >= 3.5}
 BuildRequires:  %{python_module setuptools >= 18.5}
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
@@ -55,17 +40,17 @@
 BuildRequires:  update-desktop-files
 Requires:       python-Pygments
 Requires:       python-backcall
+Requires:       python-base >= 3.5
 Requires:       python-decorator
 Requires:       python-jedi >= 0.10
 Requires:       python-pexpect
 Requires:       python-pickleshare
-Requires:       python-prompt_toolkit >= 1.0.4
-Requires:       python-prompt_toolkit < 2
+Requires:       python-prompt_toolkit < 2.1
+Requires:       python-prompt_toolkit >= 2.0
 Requires:       python-simplegeneric > 0.8
 Requires:       python-traitlets >= 4.2
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
-Recommends:     python-docrepr
 Recommends:     python-jupyter_ipykernel
 Recommends:     python-jupyter_ipyparallel
 Recommends:     python-jupyter_ipywidgets
@@ -77,16 +62,11 @@
 %if %{with ico}
 BuildRequires:  icoutils
 %endif
-%ifpython3
 Provides:       IPython3 = %{version}
 Obsoletes:      IPython3 < %{version}
 Provides:       python3-IPython = %{version}
 Obsoletes:      python3-IPython < %{version}
-%endif
-# typing is only built-in for later versions of python
-%if 0%{?suse_version} <= 1320
-Requires:       python-typing
-%endif
+
 %python_subpackages
 
 %description
@@ -123,8 +103,11 @@
 Summary:        Tools for testing packages that rely in %{name}
 Group:          Development/Languages/Python
 Requires:       %{name} = %{version}
-Requires:       python-matplotlib
-Requires:       python-nose
+Requires:       python-Pygments
+Requires:       python-jupyter_ipykernel
+Requires:       python-jupyter_nbformat
+Requires:       python-nose >= 0.10.1
+Requires:       python-numpy
 Requires:       python-requests
 Requires:       python-testpath
 
@@ -134,6 +117,7 @@
 
 %prep
 %setup -q -n ipython-%{version}
+%patch0 -p1
 
 %build
 %python_build


++++++ fix_test_history.patch ++++++
Adapted From 6830e3d44cb82733ed32777743e033dd2faa487c Mon Sep 17 00:00:00 2001
Adapted From: luciana <lucianadacostamarq...@gmail.com>
Date: Mon, 15 Oct 2018 19:58:21 -0300
Subject: added skipif for sqlite3 version > 3.24.0

---
 IPython/core/tests/test_history.py | 5 +++++
 1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/IPython/core/tests/test_history.py 
b/IPython/core/tests/test_history.py
index fcc22f1c00..c3a2007c73 100644
--- a/IPython/core/tests/test_history.py
+++ b/IPython/core/tests/test_history.py
@@ -11,6 +11,7 @@
 import sys
 import tempfile
 from datetime import datetime
+import sqlite3
 
 # third party
 import nose.tools as nt
@@ -20,9 +21,14 @@
 from IPython.utils.tempdir import TemporaryDirectory
 from IPython.core.history import HistoryManager, extract_hist_ranges
 
+from IPython.testing.decorators import skipif
+
+
 def setUp():
     nt.assert_equal(sys.getdefaultencoding(), "utf-8")
 
+
+@skipif(sqlite3.sqlite_version_info > (3, 24, 0))
 def test_history():
     ip = get_ipython()
     with TemporaryDirectory() as tmpdir:
++++++ ipython-6.5.0.tar.gz -> ipython-7.0.1.tar.gz ++++++
++++ 8769 lines of diff (skipped)

++++++ ipython.pdf ++++++
(binary differes)

++++++ ipython.zip ++++++
Binary files /var/tmp/diff_new_pack.hbBH6Y/_old and 
/var/tmp/diff_new_pack.hbBH6Y/_new differ


Reply via email to