From 60fb5aa15765b1989d0fcd69dfa4e88702904c06 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 18 Feb 2024 05:18:12 +0100 Subject: [PATCH] python312Packages.lark: disable tests Js2py is not supported on 3.12. --- pkgs/development/python-modules/lark/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/lark/default.nix b/pkgs/development/python-modules/lark/default.nix index 5366311fed3c..50f74dc2d811 100644 --- a/pkgs/development/python-modules/lark/default.nix +++ b/pkgs/development/python-modules/lark/default.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , regex , pytestCheckHook +, pythonOlder , js2py , setuptools }: @@ -33,6 +34,9 @@ buildPythonPackage rec { "lark.grammars" ]; + # Js2py is not supported on 3.12 + doCheck = pythonOlder "3.12"; + nativeCheckInputs = [ js2py pytestCheckHook