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