Skip to content

Commit

Permalink
Pin tree-sitter dependency
Browse files Browse the repository at this point in the history
We use `tree-sitter.Language.build_library` which after a deprecation
cycle went away with tree-sitter-0.22.0. Pin it, at least until we have
migrated off that API.

Closes #73.
  • Loading branch information
bbannier committed May 21, 2024
1 parent f3fd339 commit f2f4ea5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ def get_readme():
"install": InstallPlatlib,
},
distclass=BinaryDistribution,
setup_requires=["tree_sitter"],
install_requires=["tree_sitter"],
setup_requires=["tree_sitter==0.21.3"],
install_requires=["tree_sitter==0.21.3"],
python_requires=">3.7.0",
classifiers=[
"Programming Language :: Python :: 3.7",
Expand Down

0 comments on commit f2f4ea5

Please sign in to comment.