From d7371c5190f796132ce00f2a734cd0fb0bf8bca0 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: May 04 2020 07:07:39 +0000 Subject: Update to 7.14.0 (#1830483) --- diff --git a/ipython.spec b/ipython.spec index adf13f5..7b74ad1 100644 --- a/ipython.spec +++ b/ipython.spec @@ -2,8 +2,8 @@ %bcond_without doc Name: ipython -Version: 7.13.0 -Release: 2%{?dist} +Version: 7.14.0 +Release: 1%{?dist} Summary: An enhanced interactive Python shell # See bug #603178 for a quick overview for the choice of licenses @@ -13,6 +13,10 @@ License: (BSD and MIT and Python) and GPLv2+ URL: http://ipython.org/ Source0: %pypi_source +# test_embed_svg_url needs internet connection +# https://github.com/ipython/ipython/issues/12281 +Patch0: remove-a-part-of-a-test-which-needs-internet.patch + BuildArch: noarch BuildRequires: python3-devel @@ -149,11 +153,6 @@ sed -i '1d' $(grep -lr '^#!/usr/' IPython) find . -name '*.py' -print0 | xargs -0 sed -i '1s|^#!python|#!%{__python3}|' -# `l_` is deprecated in Sphinx and replaced by `_` in version 3.0.0 -# but the import seems to be completely useless there so it's commented out -# Upstream PR: https://github.com/ipython/ipython/pull/12235 -sed -i "s/from sphinx.locale import l_/#from sphinx.locale import _/" docs/sphinxext/configtraits.py - %build %py3_build @@ -236,6 +235,9 @@ popd %changelog +* Mon May 04 2020 Lumír Balhar - 7.14.0-1 +- Update to 7.14.0 (#1830483) + * Tue Apr 14 2020 Lumír Balhar - 7.13.0-2 - Fix compatibility with Sphinx 3.0.0 diff --git a/remove-a-part-of-a-test-which-needs-internet.patch b/remove-a-part-of-a-test-which-needs-internet.patch new file mode 100644 index 0000000..0c1d427 --- /dev/null +++ b/remove-a-part-of-a-test-which-needs-internet.patch @@ -0,0 +1,29 @@ +From f75c754e2fa82a1cb24a79ca691adf3c167a1633 Mon Sep 17 00:00:00 2001 +From: Lumir Balhar +Date: Mon, 4 May 2020 08:53:00 +0200 +Subject: [PATCH] Remove a part of a test which needs internet + +--- + IPython/core/tests/test_display.py | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/IPython/core/tests/test_display.py b/IPython/core/tests/test_display.py +index 04c9325..cdc7272 100644 +--- a/IPython/core/tests/test_display.py ++++ b/IPython/core/tests/test_display.py +@@ -106,11 +106,7 @@ def test_embed_svg_url(): + svg = display.SVG(url=url + 'z') + nt.assert_true(svg._repr_svg_().startswith('