Bug 2362281

Summary: ipython: Backport fix for syntax warning with Python 3.14
Product: [Fedora] Fedora Reporter: Mattias Ellert <mattias.ellert>
Component: ipythonAssignee: Lumír Balhar <lbalhar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: epel-packagers-sig, lbalhar, mhroncok, michel, mrunge, orion, python-packagers-sig
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/ipython/ipython/pull/14876
Whiteboard:
Fixed In Version: ipython-8.36.0-2.fc42 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-05-06 01:15:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2359525    
Attachments:
Description Flags
Patch from git none

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.