Bug 2186414
| Summary: | pyparted fails to build with Python 3.12: [Makefile:42: test] Segmentation fault (core dumped) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
| Component: | pyparted | Assignee: | Dave Cantrell <dcantrell> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | bcl, clumens, dcantrell, mhroncok, sbueno, thrnciar |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | pyparted-3.13.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-06-22 12:52:35 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: | 2135404 | ||
|
Description
Tomáš Hrnčiar
2023-04-13 08:23:52 UTC
Unable to reproduce this in rawhide now. It is building fine it seems. Rawhide has Python 3.11. This has failed with Python 3.12 in the side tag: https://src.fedoraproject.org/rpms/pyparted/c/1f78cfc5daf748d15f82beda853da20a37c1defb?branch=rawhide https://koji.fedoraproject.org/koji/taskinfo?taskID=102118812 https://koji.fedoraproject.org/koji/taskinfo?taskID=102111451 And it is still failing in our Copr: https://copr.fedorainfracloud.org/coprs/g/python/python3.12/package/pyparted/ My mistake, got it now. I've got an environment now with Python 3.12 and am able to reproduce this locally. It looks like the C API for extension modules has changed behavior in some way. But that's just my first take at it. I will get in to this in more detail tomorrow. Further investigation leads me to my test suite. The test suite has some tests that cause a SIGSEGV in the _ped module. It worked fine with Python <= 3.11. Getting closer here. I have fixed this upstream and made a new release of pyparted called pyparted-3.13.0. I've upgraded rawhide and I did a test mock build locally using the Python 3.12 Copr and that worked. https://src.fedoraproject.org/rpms/pyparted/commits/rawhide does not seem to be 3.13.0 and still fails to build in the f39-python side tag. 3.13.0 sources were commited into dist-git and I've successfully built it in the side-tag. Thank you. Thanks for the side-tag rebuild. I had commented here and closed the bug, *but* neglected to git push my changes for the package. I had done a number of scratch builds and then a number of test builds with the python 3.12 copr, but forgot to push to rawhide and do a real non-scratch build there. Ooops. |