python312Packages.py-zabbix: disable failing tests on Python 3.12
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user