Commit e6f807fc authored by Fabian Affolter's avatar Fabian Affolter
Browse files

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

parent fe80abc3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";