Skip to content

[BFCL] update tree_sitter version in requirements.txt #433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2024

Conversation

justinwangx
Copy link
Contributor

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 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.

Copy link
Collaborator

@CharlieJCJ CharlieJCJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix @justinwangx! This issue was also flagged by a few during recent testing! Thanks again!

PR LGTM, @ShishirPatil ready to merge!

@ShishirPatil
Copy link
Owner

Thanks for you contribution @justinwangx !!

@ShishirPatil ShishirPatil merged commit ba6463d into ShishirPatil:main May 23, 2024
@justinwangx justinwangx deleted the update-requirements-txt branch May 23, 2024 14:08
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.

4 participants