Skip to content

Commit

Permalink
Lower tree-sitter language libraries to work with PyOdide. (#712)
Browse files Browse the repository at this point in the history
In order to support running precli within a browser using PyScript, the
tree-sitter libraries which are not pure Python need to match what is
available on PyOdide. Current 0.27.0 version of PyOdide has:
  tree-sitter==0.23.2
  tree-sitter-go==0.23.3
  tree-sitter-java==0.23.4
  tree-sitter-python==0.23.4

So this change lowsers precli dependency on the python and go libraries
to match PyOdide. This should enable PyScript to work, but that requires
further testing.

Signed-off-by: Eric Brown <[email protected]>
Signed-off-by: Eric Brown <[email protected]>
  • Loading branch information
ericwb authored Jan 2, 2025
1 parent c9a6164 commit 88c5454
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ ignorelib==0.3.0
requests==2.32.3
sarif-om==1.0.4
jschema-to-python==1.2.3
tree-sitter-go==0.23.4
tree-sitter-java==0.23.5
tree-sitter-python==0.23.6
tree-sitter-go==0.23.3
tree-sitter-java==0.23.4
tree-sitter-python==0.23.4

0 comments on commit 88c5454

Please sign in to comment.