python312Packages.jaxopt: skip failing tests on darwin

This commit is contained in:
Gaetan Lepage
2024-08-13 08:59:47 +02:00
parent b044544e0a
commit ebd5579dbf
@@ -86,13 +86,21 @@ buildPythonPackage rec {
"test_dtype_consistency"
# AssertionError: Array(0.01411963, dtype=float32) not less than or equal to 0.01
"test_multiclass_logreg6"
]
++ lib.optionals stdenv.isDarwin [
# Fatal Python error: Aborted
"test_dtype_consistency"
# AssertionError (flaky numerical tests)
"test_logreg_with_intercept_manual_loop3"
"test_binary_logit_log_likelihood"
];
meta = with lib; {
meta = {
homepage = "https://jaxopt.github.io";
description = "Hardware accelerated, batchable and differentiable optimizers in JAX";
changelog = "https://github.com/google/jaxopt/releases/tag/jaxopt-v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ bcdarwin ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}