From 228b1545e43084d5f2c173c8195121b231ce270a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 18 Jan 2024 09:16:53 +0100 Subject: [PATCH] python312Packages.qrcode: disable failing test on Python 3.12 --- pkgs/development/python-modules/qrcode/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/qrcode/default.nix b/pkgs/development/python-modules/qrcode/default.nix index 6d646af73930..0b8f69889c33 100644 --- a/pkgs/development/python-modules/qrcode/default.nix +++ b/pkgs/development/python-modules/qrcode/default.nix @@ -5,6 +5,7 @@ , pillow , pypng , pytestCheckHook +, pythonAtLeast , qrcode , setuptools , testers @@ -48,6 +49,10 @@ buildPythonPackage rec { }; }; + disabledTests = lib.optionals (pythonAtLeast "3.12") [ + "test_change" + ]; + meta = with lib; { description = "Python QR Code image generator"; homepage = "https://github.com/lincolnloop/python-qrcode";