Skip to content

Commit 1a2cdaf

Browse files
committed
pyproject: cap tree-sitter deps
If we leave it to pypi python packages, they can get out of sync, and become not complient one to another (like tree-sitter-bash-0.25.0 and tree-sitter-0.24.0). It doesn't occur in ::gentoo, because we source compile tree-sitter-0.24.0 with dev-libs/tree-sitter-0.25.0 and it works. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
1 parent 1488461 commit 1a2cdaf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ requires = [
66
"lazy-object-proxy",
77
"lxml",
88
"pathspec",
9-
"tree-sitter>=0.23.0",
10-
"tree-sitter-bash>=0.21.0",
9+
"tree-sitter~=0.24.0",
10+
"tree-sitter-bash~=0.23.0",
1111
"snakeoil~=0.10.11",
1212
"pkgcore~=0.12.30",
1313
]
@@ -45,8 +45,8 @@ dependencies = [
4545
"lazy-object-proxy",
4646
"lxml",
4747
"pathspec",
48-
"tree-sitter>=0.23.0",
49-
"tree-sitter-bash>=0.21.0",
48+
"tree-sitter~=0.24.0",
49+
"tree-sitter-bash~=0.23.0",
5050
"snakeoil~=0.10.11",
5151
"pkgcore~=0.12.30",
5252
]

0 commit comments

Comments
 (0)