From 44eacaab7b9ca8ae4f9610b1b5c9a1739c86f1a2 Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Tue, 27 Aug 2024 20:36:06 -0700 Subject: [PATCH] Update to the latest tree-sitter (#579) Updates to: - tree-sitter 0.23.0 - tree-sitter-go 0.23.0 - tree-sitter-python 0.23.0 Note, tree-sitter-java has no new release. Signed-off-by: Eric Brown --- README.rst | 6 ------ docs/getting-started.md | 6 ------ requirements.txt | 7 +++---- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/README.rst b/README.rst index 2883ff1d..a0ca373e 100644 --- a/README.rst +++ b/README.rst @@ -20,12 +20,6 @@ To install precli (requires Python 3.12): pip install precli -Note: If using arm based macOS, you'll also need to install this package: - -.. code-block:: console - - pip install git+https://github.com/tree-sitter/tree-sitter-python@v0.21.0 - Run precli on a single test example: .. code-block:: console diff --git a/docs/getting-started.md b/docs/getting-started.md index 7103e18f..e3af8fb8 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -9,12 +9,6 @@ To install precli: pip install precli ``` -Note: If using arm based macOS, you'll also need to install this package: - -``` -pip install git+https://github.com/tree-sitter/tree-sitter-python@v0.21.0 -``` - ## Usage Run precli on a single test example: diff --git a/requirements.txt b/requirements.txt index 2affe800..4e846d02 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,10 @@ Pygments==2.18.0 rich==13.8.0 -tree-sitter==0.22.3 +tree-sitter==0.23.0 ignorelib==0.3.0 requests==2.32.3 sarif-om==1.0.4 jschema-to-python==1.2.3 -tree-sitter-go==0.21.2 +tree-sitter-go==0.23.0 tree-sitter-java==0.21.0 -tree-sitter-python==0.21.0; sys_platform != "darwin" and platform_machine != "arm64" -git+https://github.com/tree-sitter/tree-sitter-python@v0.21.0; sys_platform == "darwin" and platform_machine == "arm64" +tree-sitter-python==0.23.0