Update to 8.5.0
This commit is contained in:
parent
9473367fe8
commit
97909548c8
28
13714.patch
28
13714.patch
@ -1,28 +0,0 @@
|
||||
From d858213d4088237e1481038865bc52ccdd074053 Mon Sep 17 00:00:00 2001
|
||||
From: Lumir Balhar <lbalhar@redhat.com>
|
||||
Date: Fri, 29 Jul 2022 08:48:59 +0200
|
||||
Subject: [PATCH] xxlimited_35 module now has the same name in repr in Py 3.11
|
||||
|
||||
See https://github.com/python/cpython/commit/a87c9b538fbfc42883417c4d5e69f1a5922690e3
|
||||
---
|
||||
IPython/lib/tests/test_pretty.py | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/IPython/lib/tests/test_pretty.py b/IPython/lib/tests/test_pretty.py
|
||||
index 86085166071..b93ab97eb9e 100644
|
||||
--- a/IPython/lib/tests/test_pretty.py
|
||||
+++ b/IPython/lib/tests/test_pretty.py
|
||||
@@ -141,9 +141,12 @@ def test_pprint_heap_allocated_type():
|
||||
Test that pprint works for heap allocated types.
|
||||
"""
|
||||
module_name = "xxlimited" if sys.version_info < (3, 10) else "xxlimited_35"
|
||||
+ expected_output = (
|
||||
+ "xxlimited.Null" if sys.version_info < (3, 11) else "xxlimited_35.Null"
|
||||
+ )
|
||||
xxlimited = pytest.importorskip(module_name)
|
||||
output = pretty.pretty(xxlimited.Null)
|
||||
- assert output == "xxlimited.Null"
|
||||
+ assert output == expected_output
|
||||
|
||||
|
||||
def test_pprint_nomod():
|
||||
10
ipython.spec
10
ipython.spec
@ -13,8 +13,8 @@
|
||||
%endif
|
||||
|
||||
Name: ipython
|
||||
Version: 8.4.0
|
||||
Release: 5%{?dist}
|
||||
Version: 8.5.0
|
||||
Release: 1%{?dist}
|
||||
Summary: An enhanced interactive Python shell
|
||||
|
||||
# See bug #603178 for a quick overview for the choice of licenses
|
||||
@ -23,8 +23,6 @@ Summary: An enhanced interactive Python shell
|
||||
License: (BSD and MIT and Python) and GPLv2+
|
||||
URL: http://ipython.org/
|
||||
Source0: %pypi_source
|
||||
# Fix for Python 3.11b4
|
||||
Patch: https://github.com/ipython/ipython/pull/13714.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: make
|
||||
@ -257,6 +255,10 @@ rm -r %{buildroot}%{python3_sitelib}/IPython/*/tests
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Sep 08 2022 Lumír Balhar <lbalhar@redhat.com> - 8.5.0-1
|
||||
- Update to 8.5.0
|
||||
Resolves: rhbz#2124923
|
||||
|
||||
* Fri Jul 29 2022 Lumír Balhar <lbalhar@redhat.com> - 8.4.0-5
|
||||
- Fix FTBFS with Python 3.11b4
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (ipython-8.4.0.tar.gz) = 975915ee64ce6f3fc9bcda383c784759dd8b19151428b10ef92020097718c6e2a9804a00fe02bd541b845eca146c63a672f25ad4f00ec5302b3c61ae0c6935ce
|
||||
SHA512 (ipython-8.5.0.tar.gz) = 9339507fbe229d83f4c41b79257a7b40890d9d0601692521a61dc777c040a6d22d131014d660ffc9ba79f7128f579082473642f47b86e59a038f79c6553c8186
|
||||
|
||||
Loading…
Reference in New Issue
Block a user