tree-sitter / tree-sitter-python

Python grammar for tree-sitter
MIT License
360 stars 132 forks source link

bug: can't install 0.21.0 with pip #281

Closed jordanrfrazier closed 2 weeks ago

jordanrfrazier commented 3 weeks ago

Did you check existing issues?

Tree-Sitter CLI Version, if relevant (output of tree-sitter --version)

No response

Describe the bug

Some possible weirdness after 0.23.0 release?

$ pip install tree-sitter-python==0.21.0
ERROR: Could not find a version that satisfies the requirement tree-sitter-python==0.21.0 (from versions: 0.23.0)
ERROR: No matching distribution found for tree-sitter-python==0.21.0
pip 24.2
Python 3.11.2

Steps To Reproduce/Bad Parse Tree

  1. pip install tree-sitter-python==0.21.0

Expected Behavior/Parse Tree

install

almahdi404 commented 3 weeks ago

Did you activate the Python 3.11.2 virtual env?

jordanrfrazier commented 3 weeks ago

Ah, I see that there's no wheel for arm64. https://pypi.org/project/tree-sitter-python/0.21.0/#files.

I think this was working for me prior to the 0.23.0 release though, was the arm64 binary removed from 0.21.0?

ObserverOfTime commented 2 weeks ago

It was added in 0.23.0.