Bug 2397376
| Summary: | Please rebuild scipy in Fedora 43 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
| Component: | scipy | Assignee: | Nikola Forró <nforro> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | code, cstratak, david08741, ksurma, mhroncok, mmuzila, nforro, psimovec, python-packagers-sig |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | scipy-1.16.2-1.fc43 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-10-07 13:55:05 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: | 2373702 | ||
|
Description
Karolina Surma
2025-09-22 13:49:07 UTC
Hello. This is a bulk comment. This package still needs to be rebuilt and/or shipped with Python 3.14.0rc3+ bytecode in Fedora 43. The Final Freeze of Fedora 43 is scheduled to start next week. Please prioritize this bugzilla accordingly. Thanks. Hi, I'm not sure I understand this bug. The f43 branch is in sync with rawhide and both f43 build and rawhide build failed with the same error (that is most likely completely unrelated to Python). The “magic number” in the Python bytecode changed again in 3.14.0rc3, so the pre-compiled .pyc files in this and all other packages are useless until they are rebuilt with the latest Python interpreter. That means packages will still work, but bytecode compilation will happen at import time, every time, which will hurt performance. To avoid this, you need to rebuild the package in both Rawhide and F43. Apparently, it will be necessary to fix an FTBFS regression first in order to do that. Hi Nikola, As Ben said: our automation sees scipy as containing obsolete Python bytecode files, which needs rebuilding. It's not the end of the world (or Fedora) if it doesn't succeed, but we strive to get as many packages as possible to the rebuilt state, before Fedora is out. Do you have any idea how that build error can be fixed? Perhaps we could try to replicate https://src.fedoraproject.org/rpms/python-cvxopt/c/677d2a6c6e13995d63ddacd56ad8f5c3f38b3e52?branch=rawhide to workaround the failure on power? Not sure if it would help, but it's worth a shot. scipy only FTBFS on ppc64le: =================================== FAILURES =================================== ______________________ scipy/linalg/tests/test_lapack.py _______________________ [gw7] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw7' crashed while running 'scipy/linalg/tests/test_lapack.py::test_pptrs_pptri_pptrf_ppsv_ppcon[float32-False]' _______________________ scipy/linalg/tests/test_basic.py _______________________ [gw4] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw4' crashed while running 'scipy/linalg/tests/test_basic.py::TestSolve::test_20Feb04_bug' ________________________ scipy/_lib/tests/test__util.py ________________________ [gw2] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw2' crashed while running 'scipy/_lib/tests/test__util.py::TestTransitionToRNG::test_rng_deterministic[kmeans-seed]' ___________________ scipy/integrate/tests/test_quadrature.py ___________________ [gw3] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw3' crashed while running 'scipy/integrate/tests/test_quadrature.py::TestQuadrature::test_newton_cotes2' ____________________ scipy/integrate/_ivp/tests/test_ivp.py ____________________ [gw0] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw0' crashed while running 'scipy/integrate/_ivp/tests/test_ivp.py::test_integration' ______________________ scipy/linalg/tests/test_lapack.py _______________________ [gw5] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw5' crashed while running 'scipy/linalg/tests/test_lapack.py::TestDpotr::test_gh_2691' __________________ scipy/optimize/tests/test__basinhopping.py __________________ [gw1] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw1' crashed while running 'scipy/optimize/tests/test__basinhopping.py::TestBasinHopping::test_1d_grad' ____________________ scipy/signal/tests/test_signaltools.py ____________________ [gw6] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw6' crashed while running 'scipy/signal/tests/test_signaltools.py::TestSOSFilt::test_initial_conditions[f]' ______________ scipy/sparse/linalg/_dsolve/tests/test_linsolve.py ______________ [gw11] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw11' crashed while running 'scipy/sparse/linalg/_dsolve/tests/test_linsolve.py::TestLinsolve::test_twodiags[int32-csc]' ____________________ scipy/signal/tests/test_signaltools.py ____________________ [gw10] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw10' crashed while running 'scipy/signal/tests/test_signaltools.py::TestResample::test_poly_vs_filtfilt' _______________________ scipy/sparse/tests/test_base.py ________________________ [gw12] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw12' crashed while running 'scipy/sparse/tests/test_base.py::TestDOK::test_expm' _____________ scipy/optimize/tests/test_hessian_update_strategy.py _____________ [gw8] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw8' crashed while running 'scipy/optimize/tests/test_hessian_update_strategy.py::TestHessianUpdateStrategy::test_rosenbrock_with_no_exception' _____________________ scipy/spatial/tests/test_distance.py _____________________ [gw9] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw9' crashed while running 'scipy/spatial/tests/test_distance.py::TestPdist::test_pdist_mahalanobis' ___________________ scipy/stats/tests/test_distributions.py ____________________ [gw20] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw20' crashed while running 'scipy/stats/tests/test_distributions.py::TestSkewNorm::test_fit_gh19332' _______________________ scipy/stats/tests/test_kdeoth.py _______________________ [gw15] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw15' crashed while running 'scipy/stats/tests/test_kdeoth.py::test_pdf_logpdf_validation' ____________________ scipy/stats/tests/test_multivariate.py ____________________ [gw13] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw13' crashed while running 'scipy/stats/tests/test_multivariate.py::test_random_state_property' _______________________ scipy/linalg/tests/test_basic.py _______________________ [gw21] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw21' crashed while running 'scipy/linalg/tests/test_basic.py::TestSolve::test_simple' _____________________ scipy/linalg/tests/test_matfuncs.py ______________________ [gw19] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw19' crashed while running 'scipy/linalg/tests/test_matfuncs.py::TestSignM::test_defective1' ______________________ scipy/linalg/tests/test_lapack.py _______________________ [gw16] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw16' crashed while running 'scipy/linalg/tests/test_lapack.py::test_trcon[3-N-U-I-float32]' ______________________ scipy/linalg/tests/test_lapack.py _______________________ [gw14] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw14' crashed while running 'scipy/linalg/tests/test_lapack.py::test_pptrs_pptri_pptrf_ppsv_ppcon[float32-True]' ________________________ scipy/cluster/tests/test_vq.py ________________________ [gw22] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw22' crashed while running 'scipy/cluster/tests/test_vq.py::TestKMean::test_kmeans2_init[numpy]' _______________________ scipy/sparse/tests/test_base.py ________________________ [gw25] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw25' crashed while running 'scipy/sparse/tests/test_base.py::TestCSR::test_expm' ______________________ scipy/linalg/tests/test_lapack.py _______________________ [gw24] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw24' crashed while running 'scipy/linalg/tests/test_lapack.py::test_gtcon[3-1-float32]' ___________________ scipy/interpolate/tests/test_bsplines.py ___________________ [gw23] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw23' crashed while running 'scipy/interpolate/tests/test_bsplines.py::TestBSpline::test_design_matrix_bc_types' ______________ scipy/sparse/linalg/_dsolve/tests/test_linsolve.py ______________ [gw26] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw26' crashed while running 'scipy/sparse/linalg/_dsolve/tests/test_linsolve.py::TestLinsolve::test_twodiags[int32-csr]' ____________ scipy/sparse/linalg/_eigen/lobpcg/tests/test_lobpcg.py ____________ [gw27] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw27' crashed while running 'scipy/sparse/linalg/_eigen/lobpcg/tests/test_lobpcg.py::test_b_orthonormalize[complex128-int32-longdouble-2-50]' _____________ scipy/sparse/linalg/_isolve/tests/test_iterative.py ______________ [gw28] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw28' crashed while running 'scipy/sparse/linalg/_isolve/tests/test_iterative.py::test_precond_inverse[poisson1d]' _______________________ scipy/sparse/tests/test_base.py ________________________ [gw30] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw30' crashed while running 'scipy/sparse/tests/test_base.py::TestDIAMatrix::test_expm' _________________ scipy/optimize/tests/test_lbfgsb_hessinv.py __________________ [gw31] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw31' crashed while running 'scipy/optimize/tests/test_lbfgsb_hessinv.py::test_1' ______________ scipy/optimize/tests/test_minimize_constrained.py _______________ [gw32] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw32' crashed while running 'scipy/optimize/tests/test_minimize_constrained.py::TestTrustRegionConstr::test_no_constraints' _________________ scipy/signal/tests/test_fir_filter_design.py _________________ [gw33] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw33' crashed while running 'scipy/signal/tests/test_fir_filter_design.py::TestFirls::test_firls' ______________________ scipy/spatial/tests/test_slerp.py _______________________ [gw34] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw34' crashed while running 'scipy/spatial/tests/test_slerp.py::TestGeometricSlerp::test_shape_property[3-2]' _____________________ scipy/spatial/tests/test_distance.py _____________________ [gw29] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw29' crashed while running 'scipy/spatial/tests/test_distance.py::TestCdist::test_cdist_extra_args[mahalanobis]' ____________________ scipy/stats/tests/test_multivariate.py ____________________ [gw37] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw37' crashed while running 'scipy/stats/tests/test_multivariate.py::TestCovariance::test_factories[Precision]' _____________________ scipy/linalg/tests/test_decomp_lu.py _____________________ [gw39] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw39' crashed while running 'scipy/linalg/tests/test_decomp_lu.py::TestLU::test_old_lu_smoke_tests' _______________________ scipy/linalg/tests/test_basic.py _______________________ [gw35] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw35' crashed while running 'scipy/linalg/tests/test_basic.py::TestMatrix_Balance::test_perm_and_scaling' _______________________ scipy/stats/tests/test_stats.py ________________________ [gw38] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw38' crashed while running 'scipy/stats/tests/test_stats.py::TestCorrSpearmanr2::test_normal_draws' ________________________ scipy/stats/tests/test_fit.py _________________________ [gw36] linux -- Python 3.14.0 /usr/bin/python3 worker 'gw36' crashed while running 'scipy/stats/tests/test_fit.py::TestFit::test_guess_iv' Thanks for the tip, it turns out scipy crashes even with atlas, but not with openblas: https://src.fedoraproject.org/rpms/scipy/pull-request/54 FEDORA-2025-55c4eda850 (scipy-1.16.2-1.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-55c4eda850 FEDORA-2025-55c4eda850 has been pushed to the Fedora 43 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-55c4eda850` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-55c4eda850 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-55c4eda850 (scipy-1.16.2-1.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. |