Commit 31f1a1a0 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python312Packages.botorch: disable failing test on aarch64-darwin

parent 862fc0e4
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -58,6 +58,11 @@ buildPythonPackage rec {
    ++ lib.optionals (stdenv.buildPlatform.system == "x86_64-linux") [
      # stuck tests on hydra
      "test_moo_predictive_entropy_search"
    ]
    ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.isAarch64) [
      # Numerical error slightly above threshold
      # AssertionError: Tensor-likes are not close!
      "test_model_list_gpytorch_model"
    ];

  pythonImportsCheck = [ "botorch" ];
@@ -65,11 +70,11 @@ buildPythonPackage rec {
  # needs lots of undisturbed CPU time or prone to getting stuck
  requiredSystemFeatures = [ "big-parallel" ];

  meta = with lib; {
  meta = {
    changelog = "https://github.com/pytorch/botorch/blob/${src.rev}/CHANGELOG.md";
    description = "Bayesian Optimization in PyTorch";
    homepage = "https://botorch.org";
    license = licenses.mit;
    maintainers = with maintainers; [ veprbl ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ veprbl ];
  };
}