From e0e95085aeb1d2bc0f67f02c14526010aa1cf66c Mon Sep 17 00:00:00 2001 From: Christoph Honal Date: Tue, 9 Jul 2024 01:34:53 +0200 Subject: [PATCH] python312Packages.xlib: disable tests for python 3.12 --- pkgs/development/python-modules/xlib/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/xlib/default.nix b/pkgs/development/python-modules/xlib/default.nix index 28e18a01dce72..8118d2162d374 100644 --- a/pkgs/development/python-modules/xlib/default.nix +++ b/pkgs/development/python-modules/xlib/default.nix @@ -7,6 +7,7 @@ setuptools-scm, xorg, python, + pythonOlder, mock, nose, pytestCheckHook, @@ -31,7 +32,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ six ]; - doCheck = !stdenv.isDarwin; + doCheck = !stdenv.isDarwin && pythonOlder "3.12"; nativeCheckInputs = [ pytestCheckHook