From b461b19c780468ad8fbca094378029da2020ef50 Mon Sep 17 00:00:00 2001 From: ruby0b <106119328+ruby0b@users.noreply.github.com> Date: Thu, 17 Oct 2024 04:01:07 +0200 Subject: [PATCH] python3Packages.lark: disable tests --- pkgs/development/python-modules/lark/default.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/lark/default.nix b/pkgs/development/python-modules/lark/default.nix index df891d96ed79..85f690d93d31 100644 --- a/pkgs/development/python-modules/lark/default.nix +++ b/pkgs/development/python-modules/lark/default.nix @@ -3,9 +3,6 @@ buildPythonPackage, fetchFromGitHub, regex, - pytestCheckHook, - pythonOlder, - js2py, setuptools, }: @@ -33,13 +30,8 @@ buildPythonPackage rec { "lark.grammars" ]; - # Js2py is not supported on 3.12 - doCheck = pythonOlder "3.12"; - - nativeCheckInputs = [ - js2py - pytestCheckHook - ]; + # Js2py is needed for tests but it's marked as insecure + doCheck = false; meta = with lib; { description = "Modern parsing library for Python, implementing Earley & LALR(1) and an easy interface";