Update scipy to run the full test suite - #6320
Open
jjerphan wants to merge 3 commits into
Open
Conversation
jjerphan
added a commit
to jjerphan/recipes
that referenced
this pull request
Aug 21, 2026
The function-signature mismatch after linalg/tests/test_basic.py also happens on main's NumPy in emscripten-forge#6320, so it is not OpenBLAS-specific. Disable GC, skip the Cython ABI checks, and log tests with -v. Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
jjerphan
force-pushed
the
scipy-run-full-test-suite
branch
from
August 24, 2026 08:27
e4d9da0 to
7375c0d
Compare
Rebase onto main after scipy-tests landed. Keep scipy runtime-only, skip wasm-unsupported tests in conftest.py, and call scipy.test() from the scipy-tests package. Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Keep skips that actually failed or abort wasm. Restore FFT backends, GIL tests, MMIO except fast_matrix_market, Cython BLAS/LAPACK modules except ABI checks, and all tfqmr/nyquist cases but the known ones. Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Emscripten fenv.h is a stub (pyodide#4859, numpy#32036, WebAssembly design#1384): cholesky returns NaNs, fesetround is a no-op, and hardware FP traps never fire. Label those skips separately from missing getrusage and the known tfqmr float32 non-convergence. Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scipy.test(label="fast")on main's SciPy and NumPy (no OpenBLAS-linked NumPy).scipystays runtime-only. The fast suite runs from thescipy-testspackage vialong_pytester.py.scipy.linalg.tests.test_basicwithRuntimeError: function signature mismatch. That abort is not caused by OpenBLAS-linked NumPy.test_sparse_dense_divide,test_ckdtree_memuse, special rounding/overflow, QMC validations, and a few stats inf-value / Brunner-Munzel cases.scipy/conftest.py. GC is disabled andos._exitis used after the session. Playwright timeout is raised to 60 minutes. Build number stays at 2 (same as main after Add scipy-tests #6334).Template B: Checklist for updating a package
PR Formatting
Add [package-name]orUpdate [package-name] to [version]Package Details
Build Notes
Not intended as a product change. NumPy stays the main-channel no-BLAS build. SciPy still links OpenBLAS, as on main. Skip-only patches keep build number 2.
Test plan
scipy.test(label="fast")