Accepting request 1229867 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/1229867 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ipython?expand=0&rev=51
This commit is contained in:
commit
449ed34548
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:40b60e15b22591450eef73e40a027cf77bd652e757523eebc5bd7c7c498290eb
|
||||
size 5497513
|
3
ipython-8.30.0.tar.gz
Normal file
3
ipython-8.30.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb0a405a306d2995a5cbb9901894d240784a9f341394c6ba3f4fe8c6eb89ff6e
|
||||
size 5592205
|
24
py3131.patch
Normal file
24
py3131.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From c1e945b5bc8fb673109cf32c4f238f6d5e0f5149 Mon Sep 17 00:00:00 2001
|
||||
From: M Bussonnier <bussonniermatthias@gmail.com>
|
||||
Date: Sun, 8 Dec 2024 11:37:11 +0100
|
||||
Subject: [PATCH] Fix pdb issues in Python 3.13.1
|
||||
|
||||
For some reason it is not always set, it was/is a bug in IPython to not
|
||||
check.
|
||||
---
|
||||
IPython/core/debugger.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/IPython/core/debugger.py b/IPython/core/debugger.py
|
||||
index 1f0d7b2fba..76c42e0230 100644
|
||||
--- a/IPython/core/debugger.py
|
||||
+++ b/IPython/core/debugger.py
|
||||
@@ -550,7 +550,7 @@ def _get_frame_locals(self, frame):
|
||||
So if frame is self.current_frame we instead return self.curframe_locals
|
||||
|
||||
"""
|
||||
- if frame is self.curframe:
|
||||
+ if frame is getattr(self, "curframe", None):
|
||||
return self.curframe_locals
|
||||
else:
|
||||
return frame.f_locals
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 10 11:41:49 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Update to 8.30
|
||||
* improve the documentatation for custom IPython formatters, and how
|
||||
you can register formatters for custom mime types.
|
||||
* fix a bug in which commands that were not assigned a shortcut could
|
||||
not be assigned one.
|
||||
* fix a bug in which a single / on an empty line would not be an error.
|
||||
This is due to the autocall behavior that we are thinking of deprecating.
|
||||
- Add py3131.patch to fix behaviour with Python 3.13.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 17 14:50:16 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -33,13 +33,15 @@
|
||||
%bcond_with localtest
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-ipython%{psuffix}
|
||||
Version: 8.29.0
|
||||
Version: 8.30.0
|
||||
Release: 0
|
||||
Summary: Rich architecture for interactive computing with Python
|
||||
License: BSD-3-Clause
|
||||
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 https://github.com/ipython/ipython/pull/14598 Fix pdb issues in Python 3.13.1
|
||||
Patch0: py3131.patch
|
||||
BuildRequires: %{python_module base >= 3.10}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools >= 61.2}
|
||||
|
Loading…
Reference in New Issue
Block a user