Update to 7.14.0 (#1830483)
This commit is contained in:
parent
404298fcf1
commit
d7371c5190
16
ipython.spec
16
ipython.spec
@ -2,8 +2,8 @@
|
|||||||
%bcond_without doc
|
%bcond_without doc
|
||||||
|
|
||||||
Name: ipython
|
Name: ipython
|
||||||
Version: 7.13.0
|
Version: 7.14.0
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: An enhanced interactive Python shell
|
Summary: An enhanced interactive Python shell
|
||||||
|
|
||||||
# See bug #603178 for a quick overview for the choice of licenses
|
# 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/
|
URL: http://ipython.org/
|
||||||
Source0: %pypi_source
|
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
|
BuildArch: noarch
|
||||||
BuildRequires: python3-devel
|
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}|'
|
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
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
@ -236,6 +235,9 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 04 2020 Lumír Balhar <lbalhar@redhat.com> - 7.14.0-1
|
||||||
|
- Update to 7.14.0 (#1830483)
|
||||||
|
|
||||||
* Tue Apr 14 2020 Lumír Balhar <lbalhar@redhat.com> - 7.13.0-2
|
* Tue Apr 14 2020 Lumír Balhar <lbalhar@redhat.com> - 7.13.0-2
|
||||||
- Fix compatibility with Sphinx 3.0.0
|
- Fix compatibility with Sphinx 3.0.0
|
||||||
|
|
||||||
|
29
remove-a-part-of-a-test-which-needs-internet.patch
Normal file
29
remove-a-part-of-a-test-which-needs-internet.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From f75c754e2fa82a1cb24a79ca691adf3c167a1633 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Lumir Balhar <lbalhar@redhat.com>
|
||||||
|
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('<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'))
|
||||||
|
-
|
||||||
|
+
|
||||||
|
def test_retina_jpeg():
|
||||||
|
here = os.path.dirname(__file__)
|
||||||
|
img = display.Image(os.path.join(here, "2x2.jpg"), retina=True)
|
||||||
|
--
|
||||||
|
2.26.2
|
||||||
|
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (ipython-7.13.0.tar.gz) = 3fff48649ee67f2f5652e49815595c66aea1545dfcdf045e717c4142f698ad3b37b90fabe544cb57a4db5d467a91d6f091871fc7361c08d68b00e57591f29d85
|
SHA512 (ipython-7.14.0.tar.gz) = 412829d521711e5cb678b8db169d5b8958d742a07c165a656f7e40c776f21f6e436e8116f31e349da555d500c582d3797c846ac0d7efa8c3f2ea11e87fbfc8c6
|
||||||
|
Loading…
Reference in New Issue
Block a user