Loading pkgs/development/python-modules/fastmri/default.nix +11 −4 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, pythonAtLeast, # build system setuptools, Loading @@ -23,7 +24,7 @@ pytestCheckHook, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "fastmri"; version = "0.3.0"; pyproject = true; Loading @@ -31,7 +32,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "facebookresearch"; repo = "fastMRI"; tag = "v${version}"; tag = "v${finalAttrs.version}"; hash = "sha256-0IJV8OhY5kPWQwUYPKfmdI67TyYzDAPlwohdc0jWcV4="; }; Loading Loading @@ -66,6 +67,12 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; disabledTests = lib.optionals (pythonAtLeast "3.14") [ # AttributeError: '...' object has no attribute '__annotations__'. "test_unet_scripting" "test_varnet_scripting" ]; disabledTestPaths = [ # much older version of pytorch-lightning is used "tests/test_modules.py" Loading @@ -76,8 +83,8 @@ buildPythonPackage rec { meta = { description = "Pytorch-based MRI reconstruction tooling"; homepage = "https://github.com/facebookresearch/fastMRI"; changelog = "https://github.com/facebookresearch/fastMRI/releases/tag/v${version}"; changelog = "https://github.com/facebookresearch/fastMRI/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ osbm ]; }; } }) Loading
pkgs/development/python-modules/fastmri/default.nix +11 −4 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, pythonAtLeast, # build system setuptools, Loading @@ -23,7 +24,7 @@ pytestCheckHook, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "fastmri"; version = "0.3.0"; pyproject = true; Loading @@ -31,7 +32,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "facebookresearch"; repo = "fastMRI"; tag = "v${version}"; tag = "v${finalAttrs.version}"; hash = "sha256-0IJV8OhY5kPWQwUYPKfmdI67TyYzDAPlwohdc0jWcV4="; }; Loading Loading @@ -66,6 +67,12 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; disabledTests = lib.optionals (pythonAtLeast "3.14") [ # AttributeError: '...' object has no attribute '__annotations__'. "test_unet_scripting" "test_varnet_scripting" ]; disabledTestPaths = [ # much older version of pytorch-lightning is used "tests/test_modules.py" Loading @@ -76,8 +83,8 @@ buildPythonPackage rec { meta = { description = "Pytorch-based MRI reconstruction tooling"; homepage = "https://github.com/facebookresearch/fastMRI"; changelog = "https://github.com/facebookresearch/fastMRI/releases/tag/v${version}"; changelog = "https://github.com/facebookresearch/fastMRI/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ osbm ]; }; } })