From b9c41589abc69cdcbb096b4f63437c5ac3ee630e Mon Sep 17 00:00:00 2001 From: Antoine Lambert <anlambert@softwareheritage.org> Date: Tue, 14 May 2024 11:42:36 +0200 Subject: [PATCH] requirements: Pin tree_sitter to < 0.22.0 Latest tree_sitter release removed the Language.build_library method that swh-search uses to compile the search language parsing library. So restrict tree_sitter version until a solution is found to support latest release. --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 4c08657..b61065c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ # should match https://pypi.python.org/pypi names. For the full spec or # dependency lines, see https://pip.readthedocs.org/en/1.1/requirements.html click -elasticsearch>=7.0.0,<8.0.0 +elasticsearch >= 7.0.0, < 8.0.0 typing-extensions -tree_sitter +tree_sitter < 0.22.0 iso8601 -- GitLab