python312Packages.scipy: fix build failure (#549494)

This commit is contained in:
Vladimír Čunát
2026-08-12 07:13:57 +00:00
committed by GitHub

View File

@@ -134,6 +134,11 @@ buildPythonPackage (finalAttrs: {
++ lib.optionals (python.isPy311) [
# https://github.com/scipy/scipy/issues/22789 Observed only with Python 3.11
"test_funcs"
]
++ lib.optionals (python.isPy312) [
# failure caused by the inconsistent RNG implementation across python versions
# https://github.com/NixOS/nixpkgs/issues/547063
"test_support_moments_sample"
];
doCheck = !(stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin);