Skip to content

Commit

Permalink
python311Packages.jax: fix build on Darwin (#376874)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Jan 27, 2025
2 parents 2c62218 + 8114a81 commit e57ede4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/python-modules/jax/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ buildPythonPackage rec {
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# SystemError: nanobind::detail::nb_func_error_except(): exception could not be translated!
# reported at: https://github.com/jax-ml/jax/issues/26106
"--deselect tests/pjit_test.py::PJitErrorTest::testAxisResourcesMismatch"
"--deselect tests/shape_poly_test.py::ShapePolyTest"
"--deselect tests/tree_util_test.py::TreeTest"
];
Expand Down Expand Up @@ -150,6 +152,7 @@ buildPythonPackage rec {
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# SystemError: nanobind::detail::nb_func_error_except(): exception could not be translated!
# reported at: https://github.com/jax-ml/jax/issues/26106
"testInAxesPyTreePrefixMismatchError"
"testInAxesPyTreePrefixMismatchErrorKwargs"
"testOutAxesPyTreePrefixMismatchError"
Expand Down

0 comments on commit e57ede4

Please sign in to comment.