Skip to content

Conversation

@ericwb
Copy link
Contributor

@ericwb ericwb commented Jan 2, 2025

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.

ericwb and others added 2 commits January 2, 2025 09:31
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 <eric.brown@securesauce.dev>
Signed-off-by: Eric Brown <ericwb@users.noreply.github.com>
@ericwb ericwb merged commit 88c5454 into securesauce:main Jan 2, 2025
20 checks passed
@ericwb ericwb deleted the revert_tree_sitters branch January 2, 2025 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant