Bug 2397376 - Please rebuild scipy in Fedora 43
Summary: Please rebuild scipy in Fedora 43
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: scipy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nikola Forró
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYC3.14rc3
TreeView+ depends on / blocked
 
Reported: 2025-09-22 13:49 UTC by Karolina Surma
Modified: 2025-10-07 13:55 UTC (History)
9 users (show)

Fixed In Version: scipy-1.16.2-1.fc43
Clone Of:
Environment:
Last Closed: 2025-10-07 13:55:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2025-09-22 13:49:07 UTC
Due to reasons described here:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/XO5QGOXBWHFG7AOGDQBG23AQDS2MDTWI/
another rebuild of this package in Fedora 43 is needed.

This package either failed to build during our rebuild, or a different situation has happened (an unmerged side-tag, a stuck update, something else...).
Please resolve the issue and build the package before Fedora 43 Final freeze (2025-10-07).

See the build logs at https://koji.fedoraproject.org/koji/search?match=glob&type=package&terms=scipy

Let us know here if you have any questions. Thank You!

Comment 1 Karolina Surma 2025-09-29 14:19:41 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.

Comment 2 Nikola Forró 2025-09-30 07:03:32 UTC
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).

Comment 3 Ben Beasley 2025-09-30 07:35:31 UTC
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.

Comment 4 Karolina Surma 2025-09-30 08:53:17 UTC
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?

Comment 5 Miro Hrončok 2025-10-04 14:29:13 UTC
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'

Comment 6 Nikola Forró 2025-10-05 16:23:52 UTC
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

Comment 7 Fedora Update System 2025-10-06 06:20:41 UTC
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

Comment 8 Fedora Update System 2025-10-07 01:12:46 UTC
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.

Comment 9 Fedora Update System 2025-10-07 13:55:05 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.