Skip to content

Commit d3e0565

Browse files
committed
deps: pin tree-sitter-rust below 0.24 for the tree-sitter 0.23 runtime
tree-sitter-rust 0.24 ships a language ABI 15 grammar, which the pinned tree-sitter 0.23.2 runtime rejects (it accepts ABI 13-14), so every Rust file failed to parse in CI. Cap it the same way as tree-sitter-scala.
1 parent 0dbacb6 commit d3e0565

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies = [
4141
"tree-sitter-kotlin>=1.1.0",
4242
"tree-sitter-ruby>=0.23.1",
4343
"tree-sitter-scala>=0.23.2,<0.24.0",
44-
"tree-sitter-rust>=0.23.2,<0.25.0",
44+
"tree-sitter-rust>=0.23.2,<0.24.0",
4545
"openai>=1.107.0",
4646
"litellm>=1.77.0",
4747
"pydantic>=2.11.7",

‎requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ tree-sitter-kotlin==1.1.0
151151
tree-sitter-language-pack==0.8.0
152152
tree-sitter-python==0.23.6
153153
tree-sitter-ruby==0.23.1
154-
tree-sitter-rust==0.24.2
154+
tree-sitter-rust==0.23.2
155155
tree-sitter-scala==0.23.4
156156
tree-sitter-typescript==0.21.2
157157
tree-sitter-yaml==0.7.1

0 commit comments

Comments
 (0)