public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ipython] f44: Fix test failure with Python 3.15 alpha 7
@ 2026-06-18 11:16 Lumir Balhar
  0 siblings, 0 replies; only message in thread
From: Lumir Balhar @ 2026-06-18 11:16 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ipython
Branch : f44
Commit : 1230dc1e5604c1b8f68bcf34a8f444e00893b950
Author : Lumir Balhar <lbalhar@redhat.com>
Date   : 2026-03-19T10:11:29+01:00
Stats  : +26/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ipython/c/1230dc1e5604c1b8f68bcf34a8f444e00893b950?branch=f44

Log:
Fix test failure with Python 3.15 alpha 7

---
diff --git a/15163.patch b/15163.patch
new file mode 100644
index 0000000..8253658
--- /dev/null
+++ b/15163.patch
@@ -0,0 +1,23 @@
+From b0dd36afd17acb2cdc86040a671d177167550281 Mon Sep 17 00:00:00 2001
+From: Lumir Balhar <lbalhar@redhat.com>
+Date: Thu, 19 Mar 2026 09:47:07 +0100
+Subject: [PATCH] Fix expected length in test_unicode_range for Python 3.15
+ alpha 7
+
+---
+ tests/test_completer.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test_completer.py b/tests/test_completer.py
+index 391457df37..922697e525 100644
+--- a/tests/test_completer.py
++++ b/tests/test_completer.py
+@@ -127,7 +127,7 @@ def test_unicode_range():
+     assert len_exp == len_test, message
+ 
+     # fail if new unicode symbols have been added.
+-    assert len_exp <= 153626, message
++    assert len_exp <= 159801, message
+ 
+ 
+ @contextmanager

diff --git a/ipython.spec b/ipython.spec
index 53a2202..b292236 100644
--- a/ipython.spec
+++ b/ipython.spec
@@ -27,6 +27,9 @@ License:        BSD-3-Clause AND MIT
 URL:            http://ipython.org/
 Source0:        %pypi_source
 
+# Fix one test for Python 3.15 alpha 7
+Patch:          https://github.com/ipython/ipython/pull/15163.patch
+
 # Unset -s on python shebang - ensure that packages installed with pip
 # to user locations are seen and properly loaded.
 %undefine _py3_shebang_s

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-18 11:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-18 11:16 [rpms/ipython] f44: Fix test failure with Python 3.15 alpha 7 Lumir Balhar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox