Bug 2504555
| Summary: | python-obspy: FTBFS in Fedora rawhide/f45 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||||||
| Component: | python-obspy | Assignee: | Peter Lemenkov <lemenkov> | ||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | rawhide | CC: | lemenkov, mhroncok | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | python-obspy-1.5.0-4.fc45 | Doc Type: | --- | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2026-08-04 19:32:09 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: | 2433833, 2506751 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Fedora Release Engineering
2026-07-21 21:16:17 UTC
Created attachment 2151431 [details]
build.log
file build.log too big, will only attach last 32768 bytes
Created attachment 2151432 [details]
root.log
file root.log too big, will only attach last 32768 bytes
Created attachment 2151433 [details]
state.log
In https://bodhi.fedoraproject.org/updates/FEDORA-2026-2551d0d66b we have shipped Python 3.15.0b4. All packages that link to libpython or have extension modules should be rebuilt, or they will segfault on import/usage. Packages using stable ABI might not need a rebuild. This package was not rebuilt because we were unable to do so. Please rebuild it with Python 3.15.0b4+ ASAP. Thanks Fixed in python-obspy-1.5.0-4.fc45. For the record, the failure was not caused by Python 3.15 but by numpy 2.5: linalg.eig() and linalg.eigvals() now always return complex arrays, where previously the dtype depended on whether the eigenvalues happened to be real. ObsPy passed those eigenvectors on to ufuncs that only accept real input, which raised e.g. TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' That produced 30 test failures in obspy/io/nordic/tests/test_nordic.py and obspy/imaging/tests/test_beachball.py. See https://numpy.org/devdocs/release/2.5.0-notes.html#linalg-eig-and-linalg-eigvals-now-always-return-complex-arrays Fixed by backporting upstream PR obspy/obspy#3760, which adds a drop-in replacement for numpy.linalg.eig restoring the pre-2.5 behaviour. The fix is already on the upstream maintenance_1.5.x branch and should ship in 1.5.1, so the downstream patch can be dropped on the next rebase. |