python3Packages.botorch: init at 0.8.5

This commit is contained in:
Dmitry Kalinkin 2022-10-10 19:59:33 -04:00
parent 23de81b0b3
commit 33be98c31d
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,51 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, gpytorch
, linear_operator
, multipledispatch
, pyro-ppl
, setuptools-scm
, torch
, scipy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "botorch";
version = "0.8.5";
format = "pyproject";
src = fetchFromGitHub {
owner = "pytorch";
repo = pname;
rev = "v${version}";
hash = "sha256-VcNHgfk8OfLJseQxHksycWuCPCudCtOdcRV0XnxHSfU=";
};
buildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
gpytorch
linear_operator
multipledispatch
pyro-ppl
scipy
torch
];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "botorch" ];
meta = with lib; {
description = "Bayesian Optimization in PyTorch";
homepage = "https://botorch.org";
license = licenses.mit;
maintainers = with maintainers; [ veprbl ];
};
}

View File

@ -1435,6 +1435,8 @@ self: super: with self; {
botocore = callPackage ../development/python-modules/botocore { };
botorch = callPackage ../development/python-modules/botorch { };
bottle = callPackage ../development/python-modules/bottle { };
bottleneck = callPackage ../development/python-modules/bottleneck { };