k4black / codebleu

Pip compatible CodeBLEU metric implementation available for linux/macos/win
https://pypi.org/project/codebleu/
MIT License
67 stars 12 forks source link

chore: fix tree sitter version <0.22 to build for m1 and python 3.8 #47

Closed k4black closed 6 months ago

k4black commented 6 months ago

Py-Tree-Sitter in 0.22.0 introduced a breaking change - now languages are installed with pip install tree-sitter-python etc.

This is hotfix version with tree-sitter<0.22 to build it for m1 and 3.8 python, as 0.22 not supports it.

Related #46 Related #45

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 42.27%. Comparing base (da5f185) to head (0336c0b). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #47 +/- ## ======================================= Coverage 42.27% 42.27% ======================================= Files 11 11 Lines 1696 1696 ======================================= Hits 717 717 Misses 979 979 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.