Commit 22e506be authored by Robert Schütz's avatar Robert Schütz
Browse files
parent 41315b2d
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@
  pyro-ppl,
  setuptools,
  setuptools-scm,
  wheel,
  torch,
  scipy,
  pytestCheckHook,
@@ -16,20 +15,19 @@

buildPythonPackage rec {
  pname = "botorch";
  version = "0.11.1";
  format = "pyproject";
  version = "0.11.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "pytorch";
    repo = pname;
    repo = "botorch";
    rev = "refs/tags/v${version}";
    hash = "sha256-YX/G46U09y/VZuWZhKY8zU0Y+bf0NKumzSGYUWvrq/0=";
    hash = "sha256-AtRU5KC8KlkxMCU0OUAHDFK7BsPO3TbRmmzDGV7+yVk=";
  };

  build-system = [
    setuptools
    setuptools-scm
    wheel
  ];

  dependencies = [
@@ -48,9 +46,12 @@ buildPythonPackage rec {

  nativeCheckInputs = [ pytestCheckHook ];

  disabledTests = [ "test_all_cases_covered" ];

  pythonImportsCheck = [ "botorch" ];

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