diff options
Diffstat (limited to 'pkgs/development/python-modules/linear-operator/default.nix')
-rw-r--r-- | pkgs/development/python-modules/linear-operator/default.nix | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/pkgs/development/python-modules/linear-operator/default.nix b/pkgs/development/python-modules/linear-operator/default.nix index 8ebe174d199b..e32b3f2c8f7b 100644 --- a/pkgs/development/python-modules/linear-operator/default.nix +++ b/pkgs/development/python-modules/linear-operator/default.nix @@ -1,37 +1,34 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, jaxtyping -, pytestCheckHook -, pythonRelaxDepsHook -, scipy -, setuptools -, setuptools-scm -, torch -, typeguard -, wheel +{ + lib, + buildPythonPackage, + fetchFromGitHub, + jaxtyping, + pytestCheckHook, + scipy, + setuptools, + setuptools-scm, + torch, + typeguard, }: buildPythonPackage rec { pname = "linear-operator"; - version = "0.5.2"; - format = "pyproject"; + version = "0.5.3"; + pyproject = true; src = fetchFromGitHub { owner = "cornellius-gp"; repo = "linear_operator"; rev = "refs/tags/v${version}"; - hash = "sha256-OuE6jx9Q4IU+b2a+mrglRdBOReN1tt/thetNXxwk1GI="; + hash = "sha256-fKDVaHyaneV6MafJd/RT2InZO5cuYoC36YgzQhfIH8g="; }; - nativeBuildInputs = [ - pythonRelaxDepsHook + build-system = [ setuptools setuptools-scm - wheel ]; - propagatedBuildInputs = [ + dependencies = [ jaxtyping scipy torch @@ -39,23 +36,23 @@ buildPythonPackage rec { ]; pythonRelaxDeps = [ + "jaxtyping" "typeguard" ]; pythonImportsCheck = [ "linear_operator" ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ # flaky numerical tests "test_matmul_matrix_broadcast" + "test_solve_matrix_broadcast" "test_svd" ]; meta = with lib; { - description = "A LinearOperator implementation to wrap the numerical nuts and bolts of GPyTorch"; + description = "LinearOperator implementation to wrap the numerical nuts and bolts of GPyTorch"; homepage = "https://github.com/cornellius-gp/linear_operator/"; license = licenses.mit; maintainers = with maintainers; [ veprbl ]; |