python312Packages.pydicom-seg: unbreak tests (#353926)

This commit is contained in:
Weijia Wang
2024-11-07 01:51:17 +01:00
committed by GitHub
@@ -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" ];