Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1959353 - scipy fails to build in Fedora rawhide on aarch64, ppc64le, s390x
Summary: scipy fails to build in Fedora rawhide on aarch64, ppc64le, s390x
Keywords:
Status: MODIFIED
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: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: ARMTracker ZedoraTracker PPCTracker
TreeView+ depends on / blocked
 
Reported: 2021-05-11 10:55 UTC by Miro Hrončok
Modified: 2021-06-04 20:03 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2021-05-11 10:55:49 UTC
Description of problem:
Package scipy fails to build from source in Fedora rawhide on aarch64, ppc64le and s390x.

aarch64 and s390x:

=========================== short test summary info ============================
FAILED scipy/linalg/tests/test_solvers.py::test_solve_discrete_are - Assertio...
= 1 failed, 41336 passed, 2247 skipped, 103 xfailed, 7 xpassed, 40 warnings in 459.85s (0:07:39) =

ppc64le:

=========================== short test summary info ============================
FAILED scipy/cluster/tests/test_vq.py::TestKMean::test_kmeans2_init
FAILED scipy/cluster/tests/test_vq.py::TestKMean::test_krandinit
FAILED scipy/integrate/_ivp/tests/test_ivp.py::test_integration_const_jac
FAILED scipy/integrate/tests/test_integrate.py::TestComplexOde::test_vode
FAILED scipy/integrate/_ivp/tests/test_ivp.py::test_events
FAILED scipy/integrate/_ivp/tests/test_ivp.py::test_integration_stiff[Radau]
FAILED scipy/integrate/_ivp/tests/test_ivp.py::test_integration_stiff[LSODA]
FAILED scipy/integrate/_ivp/tests/test_ivp.py::test_integration_stiff[BDF]
FAILED scipy/sparse/tests/test_base.py::TestCOO::test_expm
FAILED scipy/signal/tests/test_signaltools.py::TestLFilterZI::test_basic
FAILED scipy/spatial/tests/test_slerp.py::TestGeometricSlerp::test_handle_antipodes[start1-end1-warning]
FAILED scipy/optimize/tests/test__remove_redundancy.py::TestRRSVD::test_m_gt_n
FAILED scipy/integrate/_ivp/tests/test_ivp.py::test_first_step
FAILED scipy/linalg/tests/test_lapack.py::test_pptrs_pptri_pptrf_ppsv_ppcon[complex128-True]
FAILED scipy/linalg/tests/test_lapack.py::test_pptrs_pptri_pptrf_ppsv_ppcon[complex128-False]
FAILED scipy/stats/tests/test_kdeoth.py::test_kde_2d
FAILED scipy/integrate/tests/test_integrate.py::TestZVODECheckParameterUse::test_no_params
FAILED scipy/optimize/tests/test_trustregion.py::TestTrustRegionSolvers::test_dogleg_accuracy
FAILED scipy/integrate/_ivp/tests/test_ivp.py::test_args
FAILED scipy/stats/tests/test_kdeoth.py::test_logpdf_overflow
FAILED scipy/linalg/tests/test_basic.py::TestSolve::test_random
FAILED scipy/integrate/tests/test_integrate.py::TestVODECheckParameterUse::test_one_scalar_param
FAILED scipy/linalg/tests/test_lapack.py::test_tfsm
FAILED scipy/sparse/linalg/tests/test_expm_multiply.py::TestExpmActionInterval::test_expm_multiply_interval_status_2
FAILED scipy/linalg/tests/test_basic.py::TestSolve::test_random_complex
FAILED scipy/sparse/tests/test_base.py::TestCSCNonCanonical::test_expm
FAILED scipy/signal/tests/test_signaltools.py::TestResample::test_poly_vs_filtfilt
FAILED scipy/integrate/_ivp/tests/test_ivp.py::test_integration
FAILED scipy/signal/tests/test_signaltools.py::TestLFilterZI::test_scale_invariance
FAILED scipy/sparse/tests/test_base.py::TestDOK::test_expm
FAILED scipy/optimize/tests/test__spectral.py::test_linear_definite
FAILED scipy/spatial/tests/test_distance.py::TestCdist::test_cdist_extra_args
FAILED scipy/signal/tests/test_ltisys.py::TestImpulse::test_06
FAILED scipy/linalg/tests/test_lapack.py::test_pptrs_pptri_pptrf_ppsv_ppcon[float32-True]
FAILED scipy/optimize/tests/test_linprog.py::TestAutoscaleIP::test_bug_6690
FAILED scipy/optimize/tests/test__remove_redundancy.py::TestRRPivotDense::test_m_gt_n
FAILED scipy/interpolate/tests/test_interpnd.py::TestLinearNDInterpolation::test_smoketest_alternate
FAILED scipy/linalg/tests/test_lapack.py::test_pptrs_pptri_pptrf_ppsv_ppcon[float32-False]
FAILED scipy/linalg/tests/test_decomp.py::TestEigh::test_eigh[6-d-True-False-True-None]
= 39 failed, 27870 passed, 1707 skipped, 73 xfailed, 3 xpassed, 5 warnings in 830.80s (0:13:50) =


This is important for the planned Python 3.10 update: https://fedoraproject.org/wiki/Changes/Python3.10

We do regular Copr test rebuilds with Python 3.10 only on x86_64, so we have no idea if the failures also happen with Python 3.10, but I suspect they do.
Once we proceed with the actual Python mass rebuild in a Koji side tag (~end of May/start of June 2021, once Python 3.10.0b2 is released), failures on other architectures will block us.

Since scipy is an important Python package that many other packages (transitively) require, I've set the severity to high.

Please ideally at least workaround this issue (e.g. by deselecting some tests temporarily on the affected architectures) before 2021-05-25. If you don't, we'll need to do it as provenpackagers, but our way of doing it might not be ideal to you, as the maintainer.

Thanks.

Version-Release number of selected component:
1.6.2-3.fc35

Steps to Reproduce:
fedpkg --release rawhide build --scratch

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/scipy
See https://koji.fedoraproject.org/koji/taskinfo?taskID=67683557 for architectures not tracked in Koschei.

Comment 1 Miro Hrončok 2021-06-02 10:34:09 UTC
We have started the Python 3.10 rebuild.

Comment 2 Miro Hrončok 2021-06-03 09:01:38 UTC
A workaround: https://src.fedoraproject.org/rpms/scipy/pull-request/19

Comment 3 Miro Hrončok 2021-06-04 20:03:26 UTC
Workaround applied.


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