chore(deps): upgrade Lance to v15.0.0-beta.21 (#5046)

Upgrade the Rust Lance family from beta.18 to the published
v15.0.0-beta.21 tag, and align Python test wheels and Java artifacts.
This includes the explicit-empty-segment FTS fix in
lance-format/lance#11063 needed by lancedb/sophon#10314. Enable Windows
Git long paths so Cargo can check out Lance fixtures in the Rust, NPM
and Python wheel builds.

Beta.21 also contains lance-format/lance#9858: new NGram, RTree and
MinHash LSH indexes use row addresses. Legacy row-ID segments remain
readable, but index maintenance on stable-row-ID tables can require a
rebuild. The NGram documentation now explains the consolidation
requirement; NGram/RTree tables without stable row IDs retain their
earlier format. The Python lock revision and unrelated dependency
entries are unchanged.

Validation:
- The official Lance release and internal mirror match
80bc45a195279befdec42853dac8d15a37e0504d. The seven official Fury wheels
and Maven POM/JAR were verified.
- Exact executable/dependency state 7846a15e completed the full Rust,
Python, Node, Java and CLI CI, including platform builds and package
publication dry runs. Xuanwo approved that head; Gatekeeper recommended
approve with a non-blocking qualification risk.
- Follow-up a289cb2c only adds the requested seven-line NGram upgrade
note. Static whitespace checks passed; new-head CI is running. No local
correctness tests or test builds were run by this task owner.
- Broader IVF/encoding/Blob/cache workload performance and the beta.21
Sophon composition remain separately qualified. Earlier Blob
cancellation and DynamoDB failures on #4967 are retained in their
original evidence; this PR does not count those historical failures as
fixed.

Current-head CI, full feedback and required review still gate merge. SDK
publication is a separate action. Sophon adoption follows a published
SDK release and mirror through its own dependency PR; its distributed
performance acceptance remains in #10314.
This commit is contained in:
Yang Cen
2026-11-14 20:22:13 +08:00
committed by GitHub
parent dd449978d9
commit e1a10eaa66
9 changed files with 93 additions and 73 deletions
@@ -12,6 +12,9 @@ inputs:
runs:
using: "composite"
steps:
- name: Enable long paths for Lance dependencies
shell: bash
run: git config --global core.longpaths true
- uses: ./.github/actions/setup-protoc
- name: Build wheel
uses: PyO3/maturin-action@v1
+4
View File
@@ -162,6 +162,10 @@ jobs:
working-directory: nodejs
steps:
- uses: actions/checkout@v6
- name: Enable long paths for Windows dependencies
if: runner.os == 'Windows'
# Cargo also checks out Lance test fixtures below its git cache path.
run: git config --global core.longpaths true
- name: Setup pnpm
uses: pnpm/action-setup@v6
with:
+4
View File
@@ -349,6 +349,8 @@ jobs:
working-directory: rust/lancedb
steps:
- uses: actions/checkout@v6
- name: Enable long paths for Lance dependencies
run: git config --global core.longpaths true
- name: Set target
run: rustup target add ${{ matrix.target }}
- uses: Swatinem/rust-cache@v2
@@ -386,6 +388,8 @@ jobs:
working-directory: rust/lancedb
steps:
- uses: actions/checkout@v6
- name: Enable long paths for Lance dependencies
run: git config --global core.longpaths true
- name: Set target
run: rustup target add aarch64-pc-windows-msvc
- uses: Swatinem/rust-cache@v2