grantjenks / py-tree-sitter-languages

Binary Python wheels for all tree sitter languages.
Other
169 stars 48 forks source link

Pin the tree-sitter version in requirements <0.22 #71

Open DNGros opened 5 months ago

DNGros commented 5 months ago

There are a several issues noting the breaking changes introduced by treesitter 0.22 (eg, #64 and #67). There is the PR #65 to fix this.

Ideally, some fix would be implemented, but I understand that is complicated.

As a quick fix perhaps consider pinning the the version of tree-sitter in the to be <0.22?

https://github.com/grantjenks/py-tree-sitter-languages/blob/42f4baffec92848be4937b0cc52b2872201fe322/setup.py#L26

Thanks @grantjenks and other contributors for work on the package!