python311Packages.jax: fix build on Darwin (#376874)

authored by Sandro and committed by GitHub e57ede44 2c62218a

+3
+3
pkgs/development/python-modules/jax/default.nix
··· 95 ] 96 ++ lib.optionals stdenv.hostPlatform.isDarwin [ 97 # SystemError: nanobind::detail::nb_func_error_except(): exception could not be translated! 98 "--deselect tests/shape_poly_test.py::ShapePolyTest" 99 "--deselect tests/tree_util_test.py::TreeTest" 100 ]; ··· 150 ] 151 ++ lib.optionals stdenv.hostPlatform.isDarwin [ 152 # SystemError: nanobind::detail::nb_func_error_except(): exception could not be translated! 153 "testInAxesPyTreePrefixMismatchError" 154 "testInAxesPyTreePrefixMismatchErrorKwargs" 155 "testOutAxesPyTreePrefixMismatchError"
··· 95 ] 96 ++ lib.optionals stdenv.hostPlatform.isDarwin [ 97 # 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" 100 "--deselect tests/shape_poly_test.py::ShapePolyTest" 101 "--deselect tests/tree_util_test.py::TreeTest" 102 ]; ··· 152 ] 153 ++ lib.optionals stdenv.hostPlatform.isDarwin [ 154 # SystemError: nanobind::detail::nb_func_error_except(): exception could not be translated! 155 + # reported at: https://github.com/jax-ml/jax/issues/26106 156 "testInAxesPyTreePrefixMismatchError" 157 "testInAxesPyTreePrefixMismatchErrorKwargs" 158 "testOutAxesPyTreePrefixMismatchError"