From 26026d7d952b22e9b0c7f7fd4ace76f91ea45908 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 30 Jun 2026 15:45:19 +0000 Subject: [PATCH 1/2] python3Packages.fastmri: enable __structuredAttrs --- pkgs/development/python-modules/fastmri/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/fastmri/default.nix b/pkgs/development/python-modules/fastmri/default.nix index 1a2e61ab620f..57399a6146f2 100644 --- a/pkgs/development/python-modules/fastmri/default.nix +++ b/pkgs/development/python-modules/fastmri/default.nix @@ -28,6 +28,7 @@ buildPythonPackage (finalAttrs: { pname = "fastmri"; version = "0.3.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "facebookresearch"; From df9b11b953eb7b28fad63ec081fe0eff21ae03ee Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 30 Jun 2026 15:45:30 +0000 Subject: [PATCH 2/2] python3Packages.fastmri: add missing test dependency --- pkgs/development/python-modules/fastmri/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/fastmri/default.nix b/pkgs/development/python-modules/fastmri/default.nix index 57399a6146f2..e2e7405041e0 100644 --- a/pkgs/development/python-modules/fastmri/default.nix +++ b/pkgs/development/python-modules/fastmri/default.nix @@ -22,6 +22,7 @@ # tests pytestCheckHook, + requests, }: buildPythonPackage (finalAttrs: { @@ -66,7 +67,10 @@ buildPythonPackage (finalAttrs: { pandas ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + requests + ]; disabledTests = lib.optionals (pythonAtLeast "3.14") [ # AttributeError: '...' object has no attribute '__annotations__'.