fix(scipy): allow rounding differences in STFT tests
treefmt / nix fmt (pull_request) Successful in 3s
build_systems / build-rhapsody-in-green (pull_request) Failing after 1h42m42s
build_systems / build-portal-1 (pull_request) Failing after 1h56m54s
build_systems / build-brain (pull_request) Failing after 2h2m2s
test ebook search / test-ebook-search (pull_request) Successful in 2h6m28s
pytest / pytest (pull_request) Successful in 3h32m2s
build_systems / build-jeeves (pull_request) Successful in 5h36m55s
build_systems / build-bob (pull_request) Successful in 7h36m46s

Keep STFT tests enabled with precision-appropriate tolerances for
x86-64-v3 builds. Add the override under overlays/patches/scipy and
remove the commented-out test exclusions.
This commit is contained in:
2026-09-18 12:09:42 -04:00
parent 5a59c4d0f5
commit 24cbf74ff9
4 changed files with 62 additions and 10 deletions
-10
View File
@@ -75,16 +75,6 @@ _final: prev: {
'';
});
# scipy = pythonPrev.scipy.overridePythonAttrs (old: {
# # x86-64-v3 FFT implementations produce rounding differences outside
# # these tests' strict tolerances. We accept the numerical-precision
# # risk for our workloads.
# disabledTests = (old.disabledTests or [ ]) ++ [
# "test_roundtrip_float32"
# "test_roundtrip_scaling"
# ];
# });
sentry-sdk = pythonPrev.sentry-sdk.overridePythonAttrs (old: {
# This test globally mocks threading.current_thread while another
# thread is running. On Python 3.14, Thread.join can race with that