Commit 1753f284 authored by natsukium's avatar natsukium Committed by Doron Behar
Browse files

python312Packages.lsp-tree-sitter: don't propagate versioned tree-sitter

Python packages must not propagate such versioned packages due to PYTHONPATH conflicts.
parent f8957ffb
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
  jinja2,
  jsonschema,
  pygls,
  tree-sitter0_21,
  tree-sitter,
  pytestCheckHook,
}:

@@ -34,12 +34,7 @@ buildPythonPackage rec {
    jinja2
    jsonschema
    pygls
    # The build won't fail if we had used tree-sitter (version > 0.21), but
    # this package is only a dependency of autotools-language-server which also
    # depends on tree-sitter-languages which must use tree-sitter0_21 and not
    # tree-sitter. Hence we avoid different tree-sitter versions dependency
    # mismatch by defaulting here to this lower version.
    tree-sitter0_21
    tree-sitter
  ];
  nativeCheckInputs = [ pytestCheckHook ];