fix: inflated release size due to lance-namespace transitive dependency (#2691)

Fixed the issue on lance-namespace side to avoid pinning to a specific
lance version. This should fix the issue of the increased release
artifact size and build time.
This commit is contained in:
Jack Ye
2025-09-30 11:18:32 -07:00
committed by GitHub
parent a416ebc11d
commit e0e7e01ea8
4 changed files with 581 additions and 1462 deletions

View File

@@ -117,7 +117,7 @@ def update_cargo_toml(line_updater):
lance_line = ""
is_parsing_lance_line = False
for line in lines:
if line.startswith("lance"):
if line.startswith("lance") and not line.startswith("lance-namespace"):
# Check if this is a single-line or multi-line entry
# Single-line entries either:
# 1. End with } (complete inline table)