Bug 2293088

Summary: python-ipykernel fails to build with Python 3.13 in Fedora Rawhide (41)
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-ipykernelAssignee: Paulo Andrade <paulo.cesar.pereira.de.andrade>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jonathan, lbalhar, mhroncok, paulo.cesar.pereira.de.andrade, python-packagers-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-ipykernel-6.29.3-6.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-08 02:01:55 UTC Type: Bug
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: 2244836, 2260875    

Description Karolina Surma 2024-06-19 14:45:05 UTC
python-ipykernel fails to build with Python 3.13 in Fedora Rawhide (41).

See the full log in Koji: https://kojipkgs.fedoraproject.org//work/tasks/924/119140924/build.log

=========================== short test summary info ============================
FAILED tests/test_embed_kernel.py::test_embed_kernel_basic - OSError: Kernel failed to start:
FAILED tests/test_embed_kernel.py::test_embed_kernel_namespace - OSError: Kernel failed to start:
FAILED tests/test_embed_kernel.py::test_embed_kernel_reentrant - OSError: Kernel failed to start:
FAILED tests/test_embed_kernel.py::test_embed_kernel_func - traitlets.traitlets.TraitError: The 'user_ns' trait of an IPythonKernel ins...
FAILED tests/test_kernelspec.py::test_install_kernelspec - traitlets.config.configurable.MultipleInstanceError: An incompatible siblin...
FAILED tests/test_zmq_shell.py::test_zmq_interactive_shell - Failed: DID NOT RAISE <class 'RuntimeError'>
======= 6 failed, 160 passed, 20 skipped, 9 warnings in 77.54s (0:01:17) =======


Let us know here if you have any questions.
Python 3.13 is planned to be included in Fedora 41.

Comment 1 Miro Hrončok 2024-07-02 09:54:16 UTC
Will you be able to work on this?

Comment 2 Fedora Release Engineering 2024-09-29 04:22:15 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 41.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2024-08-14).

A week before the mass branching of Fedora 42 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 40 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-42/f-42-key-tasks.html

Comment 3 Lumír Balhar 2024-09-29 08:23:28 UTC
According to Koschei, this package builds fine in all Fedoras: https://koschei.fedoraproject.org/package/python-ipykernel?collection=f41. It also builds fine in mock.

Comment 4 Miro Hrončok 2024-09-29 08:51:06 UTC
According to https://src.fedoraproject.org/rpms/python-ipykernel/commits/rawhide it wasn't successfully built. Trying now.

Comment 5 Miro Hrončok 2024-09-29 08:52:14 UTC
> According to Koschei, this package builds fine in all Fedoras: https://koschei.fedoraproject.org/package/python-ipykernel?collection=f41.

Koschei builds the latest successful build from Fedora -- in this case the bootstrap build.

Comment 6 Fedora Update System 2024-09-29 09:06:14 UTC
FEDORA-2024-1df306a65a (python-ipykernel-6.29.3-6.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-1df306a65a

Comment 7 Fedora Update System 2024-09-30 02:24:07 UTC
FEDORA-2024-1df306a65a has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-1df306a65a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-1df306a65a

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

Comment 8 Fedora Update System 2024-10-08 02:01:55 UTC
FEDORA-2024-1df306a65a (python-ipykernel-6.29.3-6.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.