Bug 2366214

Summary: python-rpds-py fails to build with Python 3.14: tests/test_hash_trie_map.py::test_literalish_works Fatal Python error: Segmentation fault
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-rpds-pyAssignee: Mattia Verga <mattia.verga>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ksurma, lbalhar, mattia.verga, mhroncok, python-packagers-sig, yselkowi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-rpds-py-0.25.0-1.fc42 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-05-27 01:26:57 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: 2322407    

Description Karolina Surma 2025-05-14 10:02:01 UTC
python-rpds-py fails to build with Python 3.14.0b1.

This report is automated and not very verbose, but we'll try to get back here with details.

tests/test_hash_trie_map.py::test_literalish_works Fatal Python error: Segmentation fault

https://docs.python.org/3.14/whatsnew/3.14.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.14-b1/fedora-rawhide-x86_64/09031410-python-rpds-py/

For all our attempts to build python-rpds-py with Python 3.14, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/package/python-rpds-py/

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.14:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/

Let us know here if you have any questions.

Python 3.14 is planned to be included in Fedora 43.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 2 Fedora Update System 2025-05-24 16:26:54 UTC
FEDORA-2025-433161b7d9 (python-rpds-py-0.25.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-433161b7d9

Comment 3 Fedora Update System 2025-05-25 03:22:29 UTC
FEDORA-2025-433161b7d9 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-433161b7d9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-433161b7d9

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

Comment 4 Fedora Update System 2025-05-27 01:26:57 UTC
FEDORA-2025-433161b7d9 (python-rpds-py-0.25.0-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.