atom / language-python

Python package for Atom
Other
190 stars 146 forks source link

chore: Update tree-sitter-python #339

Open claytonrcarter opened 2 years ago

claytonrcarter commented 2 years ago

Description of the Change

This updates the tree-sitter-python dependency to it's latest version, which is compatible w/ the latest version of the tree-sitter ABI (ie 13). This is required if Atom is going to update to a newer version tree-sitter, and is a prerequisite for https://github.com/atom/atom/pull/23283. Tests are passing locally (on a mac) but note that the tree-sitter grammar for this package (like most other tree-sitter grammars) doesn't have any specific tests.

Alternate Designs

n/a

Benefits

Keeps dependencies up to date; allows Atom to keep it's dependencies up to date.

Possible Drawbacks

If merged, this package will not work with Atom until it also updates to tree-sitter 0.19 or 0.20. This is no different than several other core packages (language-javascript, language-css, language-go and language-c are already updated) that are already updated but not technically compatible w/ Atom's current tree-sitter dependency.

Applicable Issues

https://github.com/atom/language-shellscript/pull/172, https://github.com/atom/atom/pull/23283, https://github.com/atom/atom/issues/22129, https://github.com/icecream17/atom-update-backlog/blob/main/Languages.md