Skip to content

Commit

Permalink
Add note on Apple Silicon Python 3.7 fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Sep 13, 2023
1 parent ba00c33 commit 11f8e09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/widgets/text_area.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ from tree_sitter_languages import get_language
java_language = get_language("java")
```

!!! note

`py-tree-sitter-languages` may not be available on some architectures (e.g. Macbooks with Apple Silicon running Python 3.7).

The exact version of the parser used when you call `get_language` can be checked via
the [`repos.txt` file](https://github.com/grantjenks/py-tree-sitter-languages/blob/a6d4f7c903bf647be1bdcfa504df967d13e40427/repos.txt) in
the version of `py-tree-sitter-languages` you're using. This file contains links to the GitHub
Expand Down

1 comment on commit 11f8e09

@ofek
Copy link
Contributor

@ofek ofek commented on 11f8e09 Sep 13, 2023

Choose a reason for hiding this comment

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

Why not drop 3.7?

Please sign in to comment.