chore: update lance dependency to v15.0.0-beta.25 (#5069)

Update the Rust workspace, Java core dependency and Python test
dependency to [Lance
v15.0.0-beta.25](https://github.com/lance-format/lance/releases/tag/v15.0.0-beta.25).
Mark computed-column refresh replacements as data changes using Lance's
new explicit flag so refreshed values retain the existing index
invalidation and row-update behavior.

Rust API compatibility: the re-exported `CompactionOptions` adds
`max_data_files_per_fragment` and `scope`. Callers using exhaustive
struct literals must include the new fields or use
`..Default::default()`.

Configure macOS Rust tests with an explicit Python 3.13 interpreter and
runner/Python-specific caches so doctests do not link against an absent
Python framework.
This commit is contained in:
Xuanwo
2026-11-17 16:55:26 +08:00
committed by GitHub
parent e61252f4dc
commit 1a21698906
7 changed files with 85 additions and 75 deletions
+7
View File
@@ -311,10 +311,16 @@ jobs:
with:
fetch-depth: 0
lfs: true
- uses: actions/setup-python@v6
id: python
with:
python-version: "3.13"
- name: CPU features
run: sysctl -a | grep cpu
- uses: Swatinem/rust-cache@v2
with:
# PyO3 caches the interpreter library path; runner images can differ.
key: ${{ matrix.mac-runner }}-python-${{ steps.python.outputs.python-version }}
# Restore everywhere, but only save from main. Per-PR saves are
# unreadable outside their own branch anyway, since GitHub scopes
# caches to the creating ref.
@@ -323,6 +329,7 @@ jobs:
run: brew install protobuf
- name: Run tests
env:
PYO3_PYTHON: ${{ steps.python.outputs.python-path }}
CARGO_TEST_TARGETS: ${{ matrix.phase == 'doc' && '--doc' || '--lib --tests' }}
run: |
# Don't run the s3 integration tests since docker isn't available