python312Packages.nifty8: disable crashing tests on darwin

This commit is contained in:
Gaetan Lepage
2025-03-01 14:00:14 +01:00
parent d2673def8e
commit d2b3b4975e
@@ -70,6 +70,19 @@ buildPythonPackage rec {
openssh
];
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
# Fatal Python error: Aborted
# matplotlib/backend_bases.py", line 2654 in create_with_canvas
"test_optimize_kl_domain_expansion"
"test_plot_priorsamples"
];
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
# Fatal Python error: Aborted
# matplotlib/backend_bases.py", line 2654 in create_with_canvas
"test/test_plot.py"
];
__darwinAllowLocalNetworking = true;
postCheck =
lib.optionalString