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] f44: Fix test failure with Python 3.15 alpha 7
Date: Thu, 18 Jun 2026 11:16:45 GMT	[thread overview]
Message-ID: <178178140588.1.1195230160895355352.rpms-ipython-1230dc1e5604@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-06-18 11:16 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=178178140588.1.1195230160895355352.rpms-ipython-1230dc1e5604@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