Bug 2362281 - ipython: Backport fix for syntax warning with Python 3.14
Summary: ipython: Backport fix for syntax warning with Python 3.14
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ipython
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Lumír Balhar
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/ipython/ipython/pu...
Whiteboard:
Depends On:
Blocks: 2359525
TreeView+ depends on / blocked
 
Reported: 2025-04-25 10:33 UTC by Mattias Ellert
Modified: 2025-05-06 01:15 UTC (History)
7 users (show)

Fixed In Version: ipython-8.36.0-2.fc42
Clone Of:
Environment:
Last Closed: 2025-05-06 01:15:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch from git (1.50 KB, patch)
2025-04-25 10:37 UTC, Mattias Ellert
no flags Details | Diff

Description Mattias Ellert 2025-04-25 10:33:52 UTC
SyntaxWarning: 'return' in a 'finally' block

This triggers a failure in the test suite for ipyparallel when using python 3.14.0a7 (bug #2359525).

Fixed upstream: https://github.com/ipython/ipython/pull/14876


Reproducible: Always

Steps to Reproduce:
1. Build python-ipyparallel in the Python 3.14 copr.

Actual Results:
Failure due to Syntax Warning from ipython.

Expected Results:
Successful build.

Comment 1 Mattias Ellert 2025-04-25 10:37:07 UTC
Created attachment 2087177 [details]
Patch from git

Comment 2 Lumír Balhar 2025-04-29 11:12:33 UTC
Thanks for the bug report! Thanks to it I've realized that the release monitoring for ipython is broken and therefore I didn't know about the new version. I'm going to update rawhide/f42 to 8.36.0 and then just rawhide to the latest version that includes the fix you need.

Comment 3 Lumír Balhar 2025-04-29 12:28:12 UTC
Correction: The update to version 9 will have to wait until the Spyder editor is ready. Release 6.1 compatible with ipython 9 is planned for June/July. I'll backport the mentioned patch in the meantime.

Comment 4 Fedora Update System 2025-04-30 10:32:27 UTC
FEDORA-2025-b92d2eab52 (ipython-8.36.0-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b92d2eab52

Comment 5 Fedora Update System 2025-05-01 01:48:05 UTC
FEDORA-2025-b92d2eab52 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-b92d2eab52`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-b92d2eab52

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2025-05-06 01:15:47 UTC
FEDORA-2025-b92d2eab52 (ipython-8.36.0-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.