public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Lumir Balhar <lbalhar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ipython] rawhide: Update to 9.15.0 (rhbz#2493391)
Date: Sun, 28 Jun 2026 14:07:20 GMT [thread overview]
Message-ID: <178265564016.1.3346171070148720874.rpms-ipython-58e02f391544@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ipython
Branch : rawhide
Commit : 58e02f391544644a7ddf28e98e688a87b9444906
Author : Lumir Balhar <lbalhar@redhat.com>
Date : 2026-06-28T11:22:42+02:00
Stats : +2/-50 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/ipython/c/58e02f391544644a7ddf28e98e688a87b9444906?branch=rawhide
Log:
Update to 9.15.0 (rhbz#2493391)
---
diff --git a/15220.patch b/15220.patch
deleted file mode 100644
index 0388190..0000000
--- a/15220.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From fb41a22782cf8e79330427604871ca5166d25dc8 Mon Sep 17 00:00:00 2001
-From: Lumir Balhar <lbalhar@redhat.com>
-Date: Fri, 22 May 2026 13:35:19 +0200
-Subject: [PATCH] Fix %debug and ipdb with Python 3.15
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Python 3.15 introduced PyREPL as the default pdb input backend
-(via _maybe_use_pyrepl_as_stdin()), which temporarily sets
-use_rawinput=False before calling cmdloop(). IPython's TerminalPdb
-raises ValueError when it sees use_rawinput=False.
-
-Override _cmdloop() in IPython.core.debugger.Pdb to bypass the
-PyREPL wrapping — IPython already has its own input handling via
-prompt_toolkit and doesn't need PyREPL.
-
-Fixes: https://github.com/ipython/ipython/issues/15217
----
- IPython/core/debugger.py | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
-
-diff --git a/IPython/core/debugger.py b/IPython/core/debugger.py
-index 8d5b66a874..0acec84c1c 100644
---- a/IPython/core/debugger.py
-+++ b/IPython/core/debugger.py
-@@ -540,6 +540,18 @@ def do_exception(self, arg):
- """
- return self.do_exceptions(arg)
-
-+ def _cmdloop(self):
-+ # Override to bypass Python 3.15's _maybe_use_pyrepl_as_stdin(), which
-+ # sets use_rawinput=False and conflicts with IPython's own input handling.
-+ while True:
-+ try:
-+ self.allow_kbdint = True
-+ self.cmdloop()
-+ self.allow_kbdint = False
-+ break
-+ except KeyboardInterrupt:
-+ self.message("--KeyboardInterrupt--")
-+
- def interaction(self, frame, tb_or_exc):
- try:
- if CHAIN_EXCEPTIONS:
diff --git a/ipython.spec b/ipython.spec
index 58bb3fa..971ca55 100644
--- a/ipython.spec
+++ b/ipython.spec
@@ -14,7 +14,7 @@
%endif
Name: ipython
-Version: 9.14.1
+Version: 9.15.0
Release: %autorelease
Summary: An enhanced interactive Python shell
@@ -27,9 +27,6 @@ License: BSD-3-Clause AND MIT
URL: http://ipython.org/
Source0: %pypi_source
-# Fix %%debug and ipdb with Python 3.15 (PyREPL conflicts with IPython's input handling)
-# https://github.com/ipython/ipython/issues/15217
-Patch: https://github.com/ipython/ipython/pull/15220.patch
# Fix init_path ignoring CWD when -P used in script shebang
# Fixes rhbz#2479711
Patch: https://github.com/ipython/ipython/pull/15262.patch
diff --git a/sources b/sources
index ac8e716..91c9b9a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ipython-9.14.1.tar.gz) = 1ffdd0ae5640e8f9c50a9f6f490394dfaf0aeb2ccfa0206923773057d45f57f8091ebbd7d33eec1a2a44ed0d7fe5946635556995de88ee19c1caa47e98235c91
+SHA512 (ipython-9.15.0.tar.gz) = 120f1f42d58e6844bb48073e6f91520c46d3c08a8d5345e310493e29bd7a1abf9ce654beaf2c8abc9f6feb7d9b1d8b5a9538f1e13e3c3d49068e5743163f2d32
reply other threads:[~2026-06-28 14:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178265564016.1.3346171070148720874.rpms-ipython-58e02f391544@fedoraproject.org \
--to=lbalhar@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox