mirror of
https://github.com/lancedb/lancedb.git
synced 2026-11-26 12:33:59 +00:00
chore: update lance dependency to v15.0.0-beta.6 (#4742)
Updates Rust and Java Lance dependencies to [v15.0.0-beta.6](https://github.com/lance-format/lance/releases/tag/v15.0.0-beta.6), pins Python tests to published pylance 15.0.0b6, and refreshes both lockfiles. Aligns Arrow 59, DataFusion 55, and PyO3 0.29; adapts execution plans and MemWAL directory handling, updates the ABI metadata test, and removes the obsolete Lance Arrow patch now fixed upstream. Validation: workspace clippy with all features/tests and warnings denied, cargo fmt, Python/CI Ruff checks, uv lock check, 16 CI-script tests, and targeted Python regressions (54 passed, 28 skipped); repository-wide Ruff retains existing documentation-example failures, and the upstream macOS wheel build failed while Linux and Windows wheels are published. --------- Co-authored-by: Daniel Rammer <hamersaw@protonmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Daniel Rammer
Claude Opus 5.5
parent
03c7d1f199
commit
d5013459eb
@@ -5921,7 +5921,8 @@ class AsyncTable:
|
||||
"""Remove the RTEWriteSpec from this table.
|
||||
|
||||
Reverts to the standard `merge_insert` write path. Errors if no spec
|
||||
is currently set.
|
||||
is currently set, or if the RTE still holds rows that have not been
|
||||
merged into the base table, since removing it would drop them.
|
||||
"""
|
||||
await self._inner.disable_rte()
|
||||
|
||||
|
||||
@@ -386,7 +386,7 @@ def test_custom_stop_words_list(table):
|
||||
assert [token.text for token in tokens] == ["the", "data"]
|
||||
empty_tokens = ldb.tokenize("the lance data", stem=False, custom_stop_words=[])
|
||||
assert [token.text for token in empty_tokens] == ["the", "lance", "data"]
|
||||
with pytest.raises(TypeError, match=r"custom_stop_words.*int"):
|
||||
with pytest.raises(TypeError, match=r"'int' object is not an instance of 'str'"):
|
||||
ldb.tokenize(
|
||||
"the lance data",
|
||||
custom_stop_words=["lance", 42],
|
||||
|
||||
@@ -32,8 +32,10 @@ def test_pyo3_abi_matches_minimum_supported_python():
|
||||
expected_abi = f"abi3-py{major}{minor}"
|
||||
configured_abis = re.findall(r'"(abi3-py\d+)"', cargo_manifest)
|
||||
|
||||
assert configured_abis == [expected_abi, expected_abi], (
|
||||
"the pyo3 runtime and build ABI features must both match requires-python"
|
||||
# PyO3 0.29 configures the ABI through the runtime dependency; its
|
||||
# build-config crate no longer exposes ABI features.
|
||||
assert configured_abis == [expected_abi], (
|
||||
"the pyo3 runtime ABI feature must match requires-python"
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -1417,6 +1417,7 @@ def test_branches_preserve_namespace(tmp_path):
|
||||
"lance"
|
||||
) # namespace_path routes through lance's DirectoryNamespace
|
||||
db = lancedb.connect(tmp_path)
|
||||
db.create_namespace(["ns1"])
|
||||
table = db.create_table("t", [{"id": 1}], namespace_path=["ns1"])
|
||||
assert table.namespace == ["ns1"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user