From ff4b51cb2602f8d2c10353422fc41dc9e76124b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Thu, 28 Aug 2025 10:06:31 +0200 Subject: [PATCH] python3Packages.tree-sitter: remove unused test dependencies --- .../python-modules/tree-sitter/default.nix | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/pkgs/development/python-modules/tree-sitter/default.nix b/pkgs/development/python-modules/tree-sitter/default.nix index 300366a8a4d0..dea949d793df 100644 --- a/pkgs/development/python-modules/tree-sitter/default.nix +++ b/pkgs/development/python-modules/tree-sitter/default.nix @@ -6,13 +6,6 @@ # build-system setuptools, - - # tests - tree-sitter-python, - tree-sitter-rust, - tree-sitter-html, - tree-sitter-javascript, - tree-sitter-json, }: buildPythonPackage rec { @@ -32,26 +25,8 @@ buildPythonPackage rec { build-system = [ setuptools ]; - nativeCheckInputs = [ - tree-sitter-python - tree-sitter-rust - tree-sitter-html - tree-sitter-javascript - tree-sitter-json - ]; - pythonImportsCheck = [ "tree_sitter" ]; - preCheck = '' - # https://github.com/NixOS/nixpkgs/issues/255262#issuecomment-1721265871 - rm -r tree_sitter - ''; - - disabledTests = [ - # test fails in nix sandbox - "test_dot_graphs" - ]; - meta = { description = "Python bindings to the Tree-sitter parsing library"; homepage = "https://github.com/tree-sitter/py-tree-sitter";