diff options
Diffstat (limited to 'pkgs/development/python-modules/botorch')
-rw-r--r-- | pkgs/development/python-modules/botorch/default.nix | 41 |
1 files changed, 18 insertions, 23 deletions
diff --git a/pkgs/development/python-modules/botorch/default.nix b/pkgs/development/python-modules/botorch/default.nix index e816099087585..129facf57de18 100644 --- a/pkgs/development/python-modules/botorch/default.nix +++ b/pkgs/development/python-modules/botorch/default.nix @@ -1,33 +1,32 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, gpytorch -, linear-operator -, multipledispatch -, pyro-ppl -, setuptools -, setuptools-scm -, wheel -, torch -, scipy -, pytestCheckHook -, pythonRelaxDepsHook +{ + lib, + buildPythonPackage, + fetchFromGitHub, + gpytorch, + linear-operator, + multipledispatch, + pyro-ppl, + setuptools, + setuptools-scm, + wheel, + torch, + scipy, + pytestCheckHook, }: buildPythonPackage rec { pname = "botorch"; - version = "0.10.0"; + version = "0.11.1"; format = "pyproject"; src = fetchFromGitHub { owner = "pytorch"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-IaFtQWrgOhVHDOiPQ4oG8l+Q0igWamYVWEReGccbVoI="; + hash = "sha256-YX/G46U09y/VZuWZhKY8zU0Y+bf0NKumzSGYUWvrq/0="; }; nativeBuildInputs = [ - pythonRelaxDepsHook setuptools setuptools-scm wheel @@ -42,13 +41,9 @@ buildPythonPackage rec { torch ]; - pythonRelaxDeps = [ - "linear-operator" - ]; + pythonRelaxDeps = [ "linear-operator" ]; - checkInputs = [ - pytestCheckHook - ]; + checkInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "botorch" ]; meta = with lib; { |