From 10590daa391ca2cb0cccca37f470532a53749fda Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 6 Dec 2023 16:53:53 +0100 Subject: [PATCH] python312Packages.ddt: disable tests Tests rely on aiounittest, which is not compatible with Python 3.12 right now. --- pkgs/development/python-modules/ddt/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/ddt/default.nix b/pkgs/development/python-modules/ddt/default.nix index ec48d55048ea..f0def3a3ad38 100644 --- a/pkgs/development/python-modules/ddt/default.nix +++ b/pkgs/development/python-modules/ddt/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, pythonOlder # build-system , setuptools @@ -27,6 +28,9 @@ buildPythonPackage rec { setuptools ]; + # aiounittest is not compatible with Python 3.12. + doCheck = pythonOlder "3.12"; + nativeCheckInputs = [ aiounittest mock