python311Packages.pynetdicom: ignore PytestRemovedIn8Warning

This commit is contained in:
Fabian Affolter
2024-04-04 15:11:58 +02:00
parent 85f22fecc2
commit b136e211d1
@@ -8,19 +8,20 @@
, pytestCheckHook
, sqlalchemy
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "pynetdicom";
version = "2.0.2";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pydicom";
repo = pname;
rev = "v${version}";
repo = "pynetdicom";
rev = "refs/tags/v${version}";
hash = "sha256-/JWQUtFBW4uqCbs/nUxj1pRBfTCXV4wcqTkqvzpdFrM=";
};
@@ -32,6 +33,10 @@ buildPythonPackage rec {
})
];
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
pydicom
];
@@ -78,9 +83,15 @@ buildPythonPackage rec {
"pynetdicom"
];
pytestFlagsArray = [
"-W"
"ignore::pytest.PytestRemovedIn8Warning"
];
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 ];
maintainers = with maintainers; [ fab ];
# Tests are not passing on Darwin/Aarch64, thus it's assumed that it doesn't work