diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-05-03 15:11:59 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-05-03 15:11:59 +0200 |
commit | e6f807fc163271955436e095f60c12962fd975eb (patch) | |
tree | 0a6ce3021ba590e4f76d90dc191571b98baaf6e1 | |
parent | fe80abc3f536badb67af5212c0bc10669436d40f (diff) |
python312Packages.py-zabbix: disable failing tests on Python 3.12
-rw-r--r-- | pkgs/development/python-modules/py-zabbix/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/py-zabbix/default.nix b/pkgs/development/python-modules/py-zabbix/default.nix index 96508a84de158..e9251892bd07f 100644 --- a/pkgs/development/python-modules/py-zabbix/default.nix +++ b/pkgs/development/python-modules/py-zabbix/default.nix @@ -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"; |