Unverified Commit 3a731d0d authored by phiadaarr's avatar phiadaarr Committed by GitHub
Browse files

python312Packages.nanobind: reenable checks on x86_64-darwin (#355191)

This patch reenables all checks except the ones depending on tensorflow
and jax for x64_64-darwin. They have been disabled because
tensorflow-bin is not available on x64_64-darwin (#327844). However,
this was overkill. The nanobind tests themselves check if tensorflow is
available or not and skip the respective test cases.
parent c53f8b49
Loading
Loading
Loading
Loading
+12 −11
Original line number Diff line number Diff line
@@ -53,13 +53,14 @@ buildPythonPackage rec {
    make -j $NIX_BUILD_CORES
  '';

  # skip testing on platforms disabled for tensorflow-bin
  doCheck = !(builtins.elem stdenv.hostPlatform.system tensorflow-bin.meta.badPlatforms);
  nativeCheckInputs = [
  nativeCheckInputs =
    [
      pytestCheckHook
      numpy
      scipy
      torch
    ]
    ++ lib.optionals (!(builtins.elem stdenv.hostPlatform.system tensorflow-bin.meta.badPlatforms)) [
      tensorflow-bin
      jax
      jaxlib