From b68c1144b0cfe5da73417b878111e217e7cb00e4 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Tue, 5 Nov 2024 14:10:13 -0500 Subject: [PATCH] python312Packages.pydicom-seg: unbreak tests --- .../python-modules/pydicom-seg/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pydicom-seg/default.nix b/pkgs/development/python-modules/pydicom-seg/default.nix index 9f06d7b44dd0..35dd22e94538 100644 --- a/pkgs/development/python-modules/pydicom-seg/default.nix +++ b/pkgs/development/python-modules/pydicom-seg/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, fetchpatch, pythonOlder, - pytestCheckHook, + pytest7CheckHook, poetry-core, jsonschema, numpy, @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "pydicom-seg"; version = "0.4.1"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -38,18 +38,16 @@ buildPythonPackage rec { pythonRelaxDeps = [ "jsonschema" ]; - nativeBuildInputs = [ - poetry-core - ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ jsonschema numpy pydicom simpleitk ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ pytest7CheckHook ]; pythonImportsCheck = [ "pydicom_seg" ];