diff --git a/ipython-8.29.0.tar.gz b/ipython-8.29.0.tar.gz deleted file mode 100644 index 207feaa..0000000 --- a/ipython-8.29.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:40b60e15b22591450eef73e40a027cf77bd652e757523eebc5bd7c7c498290eb -size 5497513 diff --git a/ipython-8.30.0.tar.gz b/ipython-8.30.0.tar.gz new file mode 100644 index 0000000..4062eb0 --- /dev/null +++ b/ipython-8.30.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb0a405a306d2995a5cbb9901894d240784a9f341394c6ba3f4fe8c6eb89ff6e +size 5592205 diff --git a/py3131.patch b/py3131.patch new file mode 100644 index 0000000..162902d --- /dev/null +++ b/py3131.patch @@ -0,0 +1,24 @@ +From c1e945b5bc8fb673109cf32c4f238f6d5e0f5149 Mon Sep 17 00:00:00 2001 +From: M Bussonnier +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 diff --git a/python-ipython.changes b/python-ipython.changes index 2492bba..576dd84 100644 --- a/python-ipython.changes +++ b/python-ipython.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Dec 10 11:41:49 UTC 2024 - Markéta Machová + +- 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 diff --git a/python-ipython.spec b/python-ipython.spec index 1cf66fe..6894906 100644 --- a/python-ipython.spec +++ b/python-ipython.spec @@ -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}