forked from pool/python-ipython
Accepting request 1004233 from devel:languages:python:jupyter
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1004233 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ipython?expand=0&rev=33
This commit is contained in:
commit
f0100afe9a
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f2db3a10254241d9b447232cec8b424847f338d9d36f9a577a6192c332a46abd
|
||||
size 5314601
|
3
ipython-8.5.0.tar.gz
Normal file
3
ipython-8.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:097bdf5cd87576fd066179c9f7f208004f7a6864ee1b20f37d346c0bcb099f84
|
||||
size 5319096
|
@ -1,28 +0,0 @@
|
||||
From d858213d4088237e1481038865bc52ccdd074053 Mon Sep 17 00:00:00 2001
|
||||
From: Lumir Balhar <lbalhar@redhat.com>
|
||||
Date: Fri, 29 Jul 2022 08:48:59 +0200
|
||||
Subject: [PATCH] xxlimited_35 module now has the same name in repr in Py 3.11
|
||||
|
||||
See https://github.com/python/cpython/commit/a87c9b538fbfc42883417c4d5e69f1a5922690e3
|
||||
---
|
||||
IPython/lib/tests/test_pretty.py | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/IPython/lib/tests/test_pretty.py b/IPython/lib/tests/test_pretty.py
|
||||
index 86085166071..b93ab97eb9e 100644
|
||||
--- a/IPython/lib/tests/test_pretty.py
|
||||
+++ b/IPython/lib/tests/test_pretty.py
|
||||
@@ -141,9 +141,12 @@ def test_pprint_heap_allocated_type():
|
||||
Test that pprint works for heap allocated types.
|
||||
"""
|
||||
module_name = "xxlimited" if sys.version_info < (3, 10) else "xxlimited_35"
|
||||
+ expected_output = (
|
||||
+ "xxlimited.Null" if sys.version_info < (3, 10, 6) else "xxlimited_35.Null"
|
||||
+ )
|
||||
xxlimited = pytest.importorskip(module_name)
|
||||
output = pretty.pretty(xxlimited.Null)
|
||||
- assert output == "xxlimited.Null"
|
||||
+ assert output == expected_output
|
||||
|
||||
|
||||
def test_pprint_nomod():
|
@ -1,3 +1,37 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 8 14:37:43 UTC 2022 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
- specfile:
|
||||
* remove patch ipython-pr13714-xxlimited.patch; included upstream
|
||||
* update required versions
|
||||
|
||||
- update to version 8.5.0:
|
||||
* Added shortcut for accepting auto suggestion. The End key shortcut
|
||||
for accepting auto-suggestion This binding works in Vi mode too,
|
||||
provided TerminalInteractiveShell.emacs_bindings_in_vi_insert_mode
|
||||
is set to be True :ghpull:`13566`.
|
||||
* No popup in window for latex generation w hen generating latex
|
||||
(e.g. via _latex_repr_) no popup window is shows under
|
||||
Windows. :ghpull:`13679`
|
||||
* Fixed error raised when attempting to tab-complete an input string
|
||||
with consecutive periods or forward slashes (such as
|
||||
"file:///var/log/..."). :ghpull:`13675`
|
||||
* Relative filenames in Latex rendering : The latex_to_png_dvipng
|
||||
command internally generates input and output file arguments to
|
||||
latex and dvipis. These arguments are now generated as relative
|
||||
files to the current working directory instead of absolute file
|
||||
paths. This solves a problem where the current working directory
|
||||
contains characters that are not handled properly by latex and
|
||||
dvips. There are no changes to the user API. :ghpull:`13680`
|
||||
* Stripping decorators bug: Fixed bug which meant that ipython code
|
||||
blocks in restructured text documents executed with the
|
||||
ipython-sphinx extension skipped any lines of code containing
|
||||
python decorators. :ghpull:`13612`
|
||||
* Allow some modules with frozen dataclasses to be
|
||||
reloaded. :ghpull:`13732`
|
||||
* Fix paste magic on wayland. :ghpull:`13671`
|
||||
* show maxlen in deque's repr. :ghpull:`13648`
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 5 13:54:20 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -24,17 +24,15 @@
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
# extra tests are skipped automatically, don't require these packages for Ring1
|
||||
%bcond_with localtest
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
|
||||
# extra tests are skipped automatically, don't require these packages for Ring1
|
||||
%bcond_with localtest
|
||||
Name: python-ipython%{psuffix}
|
||||
Version: 8.4.0
|
||||
Version: 8.5.0
|
||||
Release: 0
|
||||
Summary: Rich architecture for interactive computing with Python
|
||||
License: BSD-3-Clause
|
||||
@ -42,16 +40,14 @@ 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
|
||||
# PATCH-FIX-UPSTREAM ipython-pr13714-xxlimited.patch gh#ipython/ipython#13714
|
||||
Patch0: ipython-pr13714-xxlimited.patch
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module setuptools >= 18.5}
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module setuptools >= 51.0.0}
|
||||
BuildRequires: %{pythons}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros >= 20210929
|
||||
Requires: (python-prompt_toolkit >= 2.0 with python-prompt_toolkit < 3.1)
|
||||
Requires: (python-prompt_toolkit > 3.0.1 with python-prompt_toolkit < 3.1)
|
||||
# requires the full stdlib including sqlite3
|
||||
Requires: python >= 3.7
|
||||
Requires: python >= 3.8
|
||||
Requires: python-backcall
|
||||
Requires: python-black
|
||||
Requires: python-decorator
|
||||
@ -59,8 +55,7 @@ Requires: python-jedi >= 0.16
|
||||
Requires: python-matplotlib-inline
|
||||
Requires: python-pexpect >= 4.3
|
||||
Requires: python-pickleshare
|
||||
Requires: python-pygments
|
||||
Requires: python-setuptools >= 18.5
|
||||
Requires: python-pygments >= 2.4.0
|
||||
Requires: python-stack-data
|
||||
Requires: python-traitlets >= 5
|
||||
Recommends: jupyter
|
||||
@ -89,7 +84,7 @@ BuildRequires: %{python_module ipython = %{version}}
|
||||
BuildRequires: %{python_module matplotlib}
|
||||
BuildRequires: %{python_module numpy >= 1.19}
|
||||
BuildRequires: %{python_module pandas}
|
||||
BuildRequires: %{python_module pygments}
|
||||
BuildRequires: %{python_module pygments >= 2.4.0}
|
||||
BuildRequires: %{python_module pytest-asyncio}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module testpath}
|
||||
|
Loading…
Reference in New Issue
Block a user