Accepting request 799685 from home:bnavigator:branches:devel:languages:python:jupyter

- Update to version 7.14.0
  IPython  7.14 is a minor release that fix a couple of bugs and prepare
  compatibility with new or future versions of some libraries. 
  * Fix compatibility with Sphinx 3+
    gh#ipython/ipython#12235
  * Remove deprecated matplotlib parameter usage, compatibility with
    matplotlib3.3+ 
    gh#ipython/ipython#12250
  * set ``.py`` extension when editing current buffer in vi/emacs.
    gh#ipython/ipython#12167
  * support for unicode identifiers in ``?``/``??``
    gh#ipython/ipython#12208
  * add extra options to the ``Video`` Rich objects
    gh#ipython/ipython#12212
  * add pretty-printing to ``SimpleNamespace``
    gh#ipython/ipython#12230 
- add opensuse-disable-net-test.patch to disable network access
  during new test_embed_svg_url

OBS-URL: https://build.opensuse.org/request/show/799685
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-ipython?expand=0&rev=43
This commit is contained in:
Tomáš Chvátal 2020-05-23 13:42:20 +00:00 committed by Git OBS Bridge
parent df3cda4bd9
commit f6e4024847
5 changed files with 55 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ca478e52ae1f88da0102360e57e528b92f3ae4316aabac80a2cd7f7ab2efb48a
size 5224667

3
ipython-7.14.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f0126781d0f959da852fb3089e170ed807388e986a8dd4e6ac44855845b0fb1c
size 5153406

View File

@ -0,0 +1,27 @@
From: Ben Greiner <code@bnavigator.de>
Date: 2020-05-02 16:33:59 +0200
Subject: Disable the network part of test_embed_svg_url
Upstream: no
OBS can't access the wikimedia url. Disabling this part of the test.
---
diff -u -r ipython-7.14.0orig/IPython/core/tests/test_display.py ipython-7.14.0/IPython/core/tests/test_display.py
--- ipython-7.14.0orig/IPython/core/tests/test_display.py 2020-05-02 16:33:59.393228712 +0200
+++ ipython-7.14.0/IPython/core/tests/test_display.py 2020-05-02 16:35:11.825203757 +0200
@@ -106,10 +106,11 @@
svg = display.SVG(url=url + 'z')
nt.assert_true(svg._repr_svg_().startswith('<svg'))
- # do it for real: 6.1kB of data
- url = "https://upload.wikimedia.org/wikipedia/commons/3/30/Vector-based_example.svg"
- svg = display.SVG(url=url)
- nt.assert_true(svg._repr_svg_().startswith('<svg'))
+ # no network on OBS
+ # # do it for real: 6.1kB of data
+ # url = "https://upload.wikimedia.org/wikipedia/commons/3/30/Vector-based_example.svg"
+ # svg = display.SVG(url=url)
+ # nt.assert_true(svg._repr_svg_().startswith('<svg'))
def test_retina_jpeg():
here = os.path.dirname(__file__)

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Sat May 2 14:44:45 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to version 7.14.0
IPython 7.14 is a minor release that fix a couple of bugs and prepare
compatibility with new or future versions of some libraries.
* Fix compatibility with Sphinx 3+
gh#ipython/ipython#12235
* Remove deprecated matplotlib parameter usage, compatibility with
matplotlib3.3+
gh#ipython/ipython#12250
* set ``.py`` extension when editing current buffer in vi/emacs.
gh#ipython/ipython#12167
* support for unicode identifiers in ``?``/``??``
gh#ipython/ipython#12208
* add extra options to the ``Video`` Rich objects
gh#ipython/ipython#12212
* add pretty-printing to ``SimpleNamespace``
gh#ipython/ipython#12230
- add opensuse-disable-net-test.patch to disable network access
during new test_embed_svg_url
-------------------------------------------------------------------
Thu Mar 19 11:38:34 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@ -29,7 +29,7 @@
%define skip_python2 1
%bcond_without iptest
Name: python-ipython%{psuffix}
Version: 7.13.0
Version: 7.14.0
Release: 0
Summary: Rich architecture for interactive computing with Python
License: BSD-3-Clause
@ -37,6 +37,7 @@ Group: Development/Languages/Python
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
Patch0: opensuse-disable-net-test.patch
BuildRequires: %{python_module backcall}
BuildRequires: %{python_module base >= 3.5}
BuildRequires: %{python_module setuptools >= 18.5}
@ -139,6 +140,7 @@ testing software that uses %{name}.
%prep
%setup -q -n ipython-%{version}
%patch0 -p1
%build
%python_build