Skip to content

Commit 8114a81

Browse files
committed
python311Packages.jax: fix build on Darwin
Another test case fails with the same generic error: nanobind::detail::nb_func_error_except(): exception could not be translated!
1 parent 81b9a5f commit 8114a81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkgs/development/python-modules/jax/default.nix

+3
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ buildPythonPackage rec {
9595
]
9696
++ lib.optionals stdenv.hostPlatform.isDarwin [
9797
# SystemError: nanobind::detail::nb_func_error_except(): exception could not be translated!
98+
# reported at: https://github.com/jax-ml/jax/issues/26106
99+
"--deselect tests/pjit_test.py::PJitErrorTest::testAxisResourcesMismatch"
98100
"--deselect tests/shape_poly_test.py::ShapePolyTest"
99101
"--deselect tests/tree_util_test.py::TreeTest"
100102
];
@@ -150,6 +152,7 @@ buildPythonPackage rec {
150152
]
151153
++ lib.optionals stdenv.hostPlatform.isDarwin [
152154
# SystemError: nanobind::detail::nb_func_error_except(): exception could not be translated!
155+
# reported at: https://github.com/jax-ml/jax/issues/26106
153156
"testInAxesPyTreePrefixMismatchError"
154157
"testInAxesPyTreePrefixMismatchErrorKwargs"
155158
"testOutAxesPyTreePrefixMismatchError"

0 commit comments

Comments
 (0)