python313Packages.pynetdicom: 2.1.1-unstable-2024-12-22 -> 3.0.2 (#416634)

This commit is contained in:
Fabian Affolter
2025-06-26 16:07:53 +02:00
committed by GitHub
@@ -6,23 +6,19 @@
pydicom,
pyfakefs,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
sqlalchemy,
}:
buildPythonPackage rec {
pname = "pynetdicom";
version = "2.1.1-unstable-2024-12-22";
version = "3.0.2";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "pydicom";
repo = "pynetdicom";
rev = "c22be4b79a20eea0f176340629b37c6e30dd10b2";
hash = "sha256-ydNFlSR/h9xJcJxHyRLpLfkaQwJABPt9PJMkPEWzf3s=";
tag = "v${version}";
hash = "sha256-0ylx0EMPfvXxT7kQJYK+gsAFb/bkfRPDiC7Z7s/PvTk=";
};
build-system = [ flit-core ];
@@ -62,30 +58,18 @@ buildPythonPackage rec {
"TestStoreSCUCLI"
];
disabledTestPaths =
[
# Ignore apps tests
"pynetdicom/apps/tests/"
]
++ lib.optionals (pythonAtLeast "3.12") [
# https://github.com/pydicom/pynetdicom/issues/924
"pynetdicom/tests/test_assoc.py"
"pynetdicom/tests/test_transport.py"
];
disabledTestPaths = [
# Ignore apps tests
"pynetdicom/apps/tests/"
];
pythonImportsCheck = [ "pynetdicom" ];
pytestFlagsArray = [
# https://github.com/pydicom/pynetdicom/issues/923
"-W"
"ignore::pytest.PytestRemovedIn9Warning"
];
meta = with lib; {
description = "Python implementation of the DICOM networking protocol";
homepage = "https://github.com/pydicom/pynetdicom";
changelog = "https://github.com/pydicom/pynetdicom/releases/tag/v${version}";
license = with licenses; [ mit ];
changelog = "https://github.com/pydicom/pynetdicom/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}