Skip to content

Commit ba6463d

Browse files
authored
[BFCL] update tree_sitter version in requirements.txt (#433)
Following the instructions in the `BFCL` README and running the `eval_data_compilation.py` script results in this error: ``` AttributeError: type object 'tree_sitter.Language' has no attribute 'build_library' ``` because the `build_library` method was removed in a [recent release](https://github.com/tree-sitter/py-tree-sitter/releases/tag/v0.22.0) of py-tree-sitter. This PR updates the `requirements.txt` file so that the instructions in the README will work for anyone following them now.
1 parent 5da8835 commit ba6463d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

berkeley-function-call-leaderboard/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
requests
22
tqdm
3-
tree_sitter
3+
tree_sitter~=0.21.0
44
torch
55
ray
66
shortuuid

0 commit comments

Comments
 (0)