Accepting request 808404 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/808404 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ipython?expand=0&rev=9
This commit is contained in:
commit
dc8f50b9fc
@ -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
3
ipython-7.14.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f0126781d0f959da852fb3089e170ed807388e986a8dd4e6ac44855845b0fb1c
|
||||||
|
size 5153406
|
27
opensuse-disable-net-test.patch
Normal file
27
opensuse-disable-net-test.patch
Normal 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__)
|
@ -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>
|
Thu Mar 19 11:38:34 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%bcond_without iptest
|
%bcond_without iptest
|
||||||
Name: python-ipython%{psuffix}
|
Name: python-ipython%{psuffix}
|
||||||
Version: 7.13.0
|
Version: 7.14.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Rich architecture for interactive computing with Python
|
Summary: Rich architecture for interactive computing with Python
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -37,6 +37,7 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/ipython/ipython
|
URL: https://github.com/ipython/ipython
|
||||||
Source: https://files.pythonhosted.org/packages/source/i/ipython/ipython-%{version}.tar.gz
|
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
|
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 backcall}
|
||||||
BuildRequires: %{python_module base >= 3.5}
|
BuildRequires: %{python_module base >= 3.5}
|
||||||
BuildRequires: %{python_module setuptools >= 18.5}
|
BuildRequires: %{python_module setuptools >= 18.5}
|
||||||
@ -139,6 +140,7 @@ testing software that uses %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n ipython-%{version}
|
%setup -q -n ipython-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Loading…
Reference in New Issue
Block a user