python312Packages.botorch: relax gpytorch version requirement

and migrate to PEP517 lingo for dependencies.

Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de>
This commit is contained in:
Dmitry Kalinkin
2024-07-26 22:56:31 +02:00
committed by Martin Weinelt
co-authored by Martin Weinelt
parent 4902fc8d20
commit 61d0d004f8
@@ -26,13 +26,13 @@ buildPythonPackage rec {
hash = "sha256-YX/G46U09y/VZuWZhKY8zU0Y+bf0NKumzSGYUWvrq/0=";
};
nativeBuildInputs = [
build-system = [
setuptools
setuptools-scm
wheel
];
propagatedBuildInputs = [
dependenciess = [
gpytorch
linear-operator
multipledispatch
@@ -41,9 +41,13 @@ buildPythonPackage rec {
torch
];
pythonRelaxDeps = [ "linear-operator" ];
pythonRelaxDeps = [
"gpytorch"
"linear-operator"
];
nativeCheckInputs = [ pytestCheckHook ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "botorch" ];
meta = with lib; {