mirror of
https://github.com/safishamsi/graphify.git
synced 2026-10-13 15:40:05 +00:00
fix(deps): raise tree-sitter runtime floor to >=0.25 for ABI 15 grammars (#4148)
0.23/0.24 cap at ABI 14 while pinned grammars ship ABI 15, so a resolver could pair a 0.23 runtime with ABI-15 grammars and fail every parse. Floor at 0.25, the oldest runtime that loads them (uv.lock already resolves there). Lock regenerated on 0.9.80. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
288a938ca6
commit
69c528eb37
2 files changed
+10
-3
No files matched your search
+8
-1
@@ -16,7 +16,14 @@ dependencies = [
|
||||
"numpy>=1.21",
|
||||
"rapidfuzz>=3.0",
|
||||
"tomli>=2.0.1; python_version < '3.11'",
|
||||
"tree-sitter>=0.23.0,<0.26",
|
||||
# Runtime floor is 0.25, not 0.23: 0.23/0.24 cap out at ABI 14
|
||||
# (LANGUAGE_VERSION=14) while the grammars pinned below ship ABI 15
|
||||
# (e.g. tree-sitter-javascript 0.25.0, tree-sitter-powershell 0.26.x).
|
||||
# A resolver is free to pick 0.23.2 for the runtime and 0.25.x for the
|
||||
# grammars, which then fails every parse with "Incompatible Language
|
||||
# version 15". Floor at the oldest runtime that can load them; this also
|
||||
# matches what uv.lock already resolves to.
|
||||
"tree-sitter>=0.25,<0.26",
|
||||
"tree-sitter-python>=0.23,<0.26",
|
||||
"tree-sitter-javascript>=0.23,<0.26",
|
||||
"tree-sitter-typescript>=0.23,<0.25",
|
||||
|
||||
@@ -1096,7 +1096,7 @@ wheels = [
|
||||
|
||||
[[package]]
|
||||
name = "graphifyy"
|
||||
version = "0.9.76"
|
||||
version = "0.9.79"
|
||||
source = { editable = "." }
|
||||
dependencies = [
|
||||
{ name = "networkx", version = "3.4.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
|
||||
@@ -1346,7 +1346,7 @@ requires-dist = [
|
||||
{ name = "tiktoken", marker = "extra == 'kimi'" },
|
||||
{ name = "tiktoken", marker = "extra == 'openai'" },
|
||||
{ name = "tomli", marker = "python_full_version < '3.11'", specifier = ">=2.0.1" },
|
||||
{ name = "tree-sitter", specifier = ">=0.23.0,<0.26" },
|
||||
{ name = "tree-sitter", specifier = ">=0.25,<0.26" },
|
||||
{ name = "tree-sitter-bash", specifier = ">=0.23,<0.27" },
|
||||
{ name = "tree-sitter-c", specifier = ">=0.23,<0.25" },
|
||||
{ name = "tree-sitter-c-sharp", specifier = ">=0.23,<0.25" },
|
||||
|
||||
Reference in new issue
Block a user