python312Packages.py-zabbix: disable failing tests on Python 3.12

This commit is contained in:
Fabian Affolter
2024-05-03 15:11:59 +02:00
parent fe80abc3f5
commit e6f807fc16
@@ -4,6 +4,7 @@
fetchFromGitHub,
fetchpatch,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
setuptools,
}:
@@ -37,6 +38,11 @@ buildPythonPackage rec {
pythonImportsCheck = [ "pyzabbix" ];
disabledTests = lib.optionals (pythonAtLeast "3.12") [
# AttributeError: 'RawConfigParser' object has no attribute 'readfp'
"config"
];
meta = with lib; {
description = "Python module to interact with Zabbix";
homepage = "https://github.com/adubkov/py-zabbix";