Skip to content

Commit 86c73b6

Browse files
authored
Merge pull request #423 from AdaWorldAPI/claude/lance-surrealdb-analysis-LXmug
chore(deps): bump lance 4.0.0 → 6.0.0, lancedb 0.27.2 → 0.29.0
2 parents aca583b + f942fa3 commit 86c73b6

10 files changed

Lines changed: 978 additions & 693 deletions

File tree

Cargo.lock

Lines changed: 919 additions & 641 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/holograph/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ full = ["simd", "parallel", "datafusion-storage", "lancedb", "ffi"]
2626
# 10K = 1256 bytes (157 words)
2727
# 16K = 2048 bytes (256 words)
2828
# 32K = 4096 bytes (512 words, 3D holographic)
29-
arrow = { version = "57", features = ["ffi"], optional = true }
30-
arrow-array = "57"
31-
arrow-schema = "57"
32-
arrow-buffer = "57"
29+
arrow = { version = "58", features = ["ffi"], optional = true }
30+
arrow-array = "58"
31+
arrow-schema = "58"
32+
arrow-buffer = "58"
3333

3434
# Query engine — DataFusion 52
35-
datafusion = { version = "52", optional = true }
35+
datafusion = { version = "53", optional = true }
3636

3737
# Lance columnar format — 100x faster random access than Parquet
38-
lance = { version = "=4.0.0", optional = true, default-features = false }
38+
lance = { version = "=6.0.0", optional = true, default-features = false }
3939

4040
# Async runtime
4141
tokio = { version = "1.49", features = ["rt-multi-thread", "macros"], optional = true }

crates/lance-graph-archetype/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ lance-graph-contract = { path = "../lance-graph-contract" }
1212
# workspace has no shared [workspace.dependencies] table today; using
1313
# explicit versions consistent with the rest of the codebase (arrow 57,
1414
# thiserror 2). See PR description for the single-line deviation.
15-
arrow = "57"
15+
arrow = "58"
1616
thiserror = "2"
1717

1818
[dev-dependencies]

crates/lance-graph-benches/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ description = "Benchmarks for lance-graph (not published)"
77

88
[dependencies]
99
lance-graph = { path = "../lance-graph", version = "0.5.3" }
10-
lance = "=4.0.0"
11-
arrow-array = "57"
12-
arrow-schema = "57"
10+
lance = "=6.0.0"
11+
arrow-array = "58"
12+
arrow-schema = "58"
1313
criterion = { version = "0.5", features = ["async", "async_tokio", "html_reports"] }
1414
futures = "0.3"
1515
tempfile = "3"

crates/lance-graph-callcenter/Cargo.toml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,17 @@ lance-graph-rbac = { path = "../lance-graph-rbac" }
2424
thiserror = "1"
2525

2626
# [persist] — Arrow RecordBatch + Lance dataset ops
27-
arrow = { version = "57", optional = true }
28-
lance = { version = "=4.0.0", optional = true }
27+
# arrow bumped to 58 to match lance 6.0's transitive arrow version.
28+
# TODO(lance-bump): align rest of workspace on arrow 58 once feasible.
29+
arrow = { version = "58", optional = true }
30+
lance = { version = "=6.0.0", optional = true }
2931

3032
# [query] / [query-lite] — DataFusion. Base dep has default-features = false.
3133
# The full `query` feature adds datafusion/default (compression backends etc).
3234
# The `query-lite` feature gets logical plan + optimizer without compression,
3335
# avoiding the xz2/liblzma `links = "lzma"` collision (lance v2 era; may be
3436
# resolved with lance 4 + datafusion 52 — verify and remove if so).
35-
datafusion = { version = "52", optional = true, default-features = false, features = ["unicode_expressions"] }
37+
datafusion = { version = "53", optional = true, default-features = false, features = ["unicode_expressions"] }
3638

3739
# [realtime] — version watcher, Phoenix channel shapes, WebSocket
3840
tokio = { version = "1", features = ["sync", "rt-multi-thread", "macros", "time"], optional = true }
@@ -46,8 +48,9 @@ chrono = { version = "0.4", features = ["serde"], optional = true }
4648
flate2 = { version = "1", optional = true }
4749

4850
# [lance-sink] — LanceAuditSink: arrow-array + arrow-schema + lance + tokio runtime
49-
arrow-array = { version = "57", optional = true }
50-
arrow-schema = { version = "57", optional = true }
51+
# TODO(lance-bump): arrow-array/arrow-schema bumped to 58 for lance 6.0 compat.
52+
arrow-array = { version = "58", optional = true }
53+
arrow-schema = { version = "58", optional = true }
5154

5255
# verify binary — clap (only needed when building the bin)
5356
clap = { version = "4", features = ["derive"], optional = true }

crates/lance-graph-catalog/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ keywords = ["lance", "graph", "catalog", "namespace"]
1111
categories = ["database", "data-structures", "science"]
1212

1313
[dependencies]
14-
arrow-schema = "57"
14+
arrow-schema = "58"
1515
async-trait = "0.1"
16-
datafusion = { version = "52", default-features = false }
17-
lance-namespace = "=4.0.0"
16+
datafusion = { version = "53", default-features = false }
17+
lance-namespace = "=6.0.0"
1818
reqwest = { version = "0.12", features = ["json"], optional = true }
1919
serde = { version = "1", features = ["derive"] }
2020
serde_json = "1"

crates/lance-graph-ontology/Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ sha2 = "0.10"
4343
# Lance-backed dictionary cache is feature-gated so the crate compiles without
4444
# protoc (lance-encoding's build-time dep). The default in-memory registry is
4545
# the canonical surface for tests and consumers that don't need persistence.
46-
lance = { version = "=4.0.0", optional = true }
47-
arrow = { version = "57", optional = true }
48-
arrow-array = { version = "57", optional = true }
49-
arrow-schema = { version = "57", optional = true }
46+
lance = { version = "=6.0.0", optional = true }
47+
# arrow bumped to 58 to match lance 6.0's transitive arrow version.
48+
# TODO(lance-bump): align rest of workspace on arrow 58 once feasible.
49+
arrow = { version = "58", optional = true }
50+
arrow-array = { version = "58", optional = true }
51+
arrow-schema = { version = "58", optional = true }
5052
tokio = { version = "1", default-features = false, features = ["rt", "macros", "fs"], optional = true }
5153
futures = { version = "0.3", optional = true }
5254

crates/lance-graph-python/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ name = "_internal"
1010
crate-type = ["cdylib"]
1111

1212
[dependencies]
13-
arrow = { version = "57", features = ["pyarrow"] }
14-
arrow-array = "57"
15-
arrow-schema = "57"
16-
arrow-ipc = "57"
17-
datafusion = { version = "51", default-features = false }
13+
arrow = { version = "58", features = ["pyarrow"] }
14+
arrow-array = "58"
15+
arrow-schema = "58"
16+
arrow-ipc = "58"
17+
datafusion = { version = "53", default-features = false }
1818
futures = "0.3"
1919
lance-graph = { path = "../lance-graph" }
2020
serde = { version = "1", features = ["derive"] }
2121
serde_json = "1"
22-
pyo3 = { version = "0.26", features = ["extension-module", "abi3-py39", "py-clone"] }
22+
pyo3 = { version = "0.28", features = ["extension-module", "abi3-py39", "py-clone"] }
2323
tokio = { version = "1.37", features = ["rt-multi-thread", "macros"] }

crates/lance-graph/Cargo.toml

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ keywords = ["lance", "graph", "cypher", "query", "datafusion"]
1111
categories = ["database", "data-structures", "science"]
1212

1313
[dependencies]
14-
arrow = { version = "57", features = ["prettyprint"] }
15-
arrow-array = "57"
16-
arrow-schema = "57"
14+
# arrow + datafusion bumped to 58 + 53 to align with lance 6.0's transitive versions.
15+
# TODO(lance-bump): downstream crates may need follow-up to align.
16+
arrow = { version = "58", features = ["prettyprint"] }
17+
arrow-array = "58"
18+
arrow-schema = "58"
1719
chrono = "0.4"
1820
async-trait = "0.1"
19-
datafusion = { version = "52", default-features = false, features = [
21+
datafusion = { version = "53", default-features = false, features = [
2022
"nested_expressions",
2123
"regex_expressions",
2224
"unicode_expressions",
@@ -26,23 +28,23 @@ datafusion = { version = "52", default-features = false, features = [
2628
"string_expressions",
2729
"parquet",
2830
] }
29-
datafusion-common = "52"
30-
datafusion-expr = "52"
31-
datafusion-sql = "52"
32-
datafusion-functions-aggregate = "52"
31+
datafusion-common = "53"
32+
datafusion-expr = "53"
33+
datafusion-sql = "53"
34+
datafusion-functions-aggregate = "53"
3335
futures = "0.3"
3436
lance-graph-catalog = { path = "../lance-graph-catalog", version = "0.5.4" }
3537
lance-graph-contract = { path = "../lance-graph-contract" }
36-
lance = "=4.0.0"
37-
lance-linalg = "=4.0.0"
38-
lance-namespace = "=4.0.0"
39-
lancedb = { version = "=0.27.2", optional = true, default-features = false }
38+
lance = "=6.0.0"
39+
lance-linalg = "=6.0.0"
40+
lance-namespace = "=6.0.0"
41+
lancedb = { version = "=0.29.0", optional = true, default-features = false }
4042
nom = "7.1"
4143
serde = { version = "1", features = ["derive"] }
4244
serde_json = "1"
4345
bytes = "1"
4446
snafu = "0.8"
45-
deltalake = { version = "0.31", features = ["datafusion", "s3", "azure", "gcs"], optional = true }
47+
deltalake = { version = "0.32", features = ["datafusion", "s3", "azure", "gcs"], optional = true }
4648
url = { version = "2", optional = true }
4749

4850
# AdaWorldAPI/ndarray fork with 55 HPC modules (Fingerprint, CAM-PQ, CLAM, BLAS, ZeckF64)
@@ -59,8 +61,14 @@ bgz17 = { path = "../bgz17", optional = true }
5961
bgz-tensor = { path = "../bgz-tensor", optional = true }
6062

6163
[features]
62-
default = ["unity-catalog", "delta", "ndarray-hpc", "planner", "bgz17-codec", "tensor-codec"]
64+
default = ["unity-catalog", "ndarray-hpc", "planner", "bgz17-codec", "tensor-codec"]
6365
unity-catalog = ["lance-graph-catalog/unity-catalog"]
66+
# TODO(lance-bump-delta): deltalake 0.32 removed `DeltaTableProvider::try_new`;
67+
# new API is `TableProviderBuilder::new().with_snapshot(...).with_log_store(...).build().await`.
68+
# Refactor `table_readers.rs::DeltaTableReader` to the new builder API in a
69+
# follow-up PR. Dropped from `default` features for now so CI stays green on
70+
# the lance/lancedb bump; still opt-in via `--features delta` if a caller
71+
# accepts the broken state.
6472
delta = ["dep:deltalake", "dep:url"]
6573
# lancedb: high-level table/connection API (Python/JS SDK equivalent in Rust).
6674
# Enables LanceDB-compatible connection strings, table management, and the
@@ -83,8 +91,8 @@ tensor-codec = ["dep:bgz-tensor"]
8391

8492
[dev-dependencies]
8593
futures = "0.3"
86-
lance-arrow = "=4.0.0"
87-
lance-index = "=4.0.0"
94+
lance-arrow = "=6.0.0"
95+
lance-index = "=6.0.0"
8896
tempfile = "3"
8997
tokio = { version = "1.37", features = ["macros", "rt-multi-thread"] }
9098
causal-edge = { path = "../causal-edge" }

crates/surreal_container/Cargo.toml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,8 @@ Depends on task 01 (deps_substrate) being resolved before compiling.
3434
# ── BLOCKED(C): uncomment and fill once fork coordinates are known ────────────
3535
# surrealdb = { git = "BLOCKED_SEE_C", branch = "BLOCKED_SEE_C", default-features = false, features = ["kv-lance"] }
3636

37-
# ── BLOCKED(A)/(B): lance / lancedb version pins ─────────────────────────────
38-
# These are the storage-engine crates the kv-lance backend talks to directly.
39-
# Lance 6 is specified in the task but not yet confirmed as a published semver.
40-
# Current workspace uses lance = "=4.0.0" / lancedb = "=0.27.2".
41-
# Do NOT change these pins until BLOCKED(A) and BLOCKED(B) are resolved by a
42-
# fork-access human who can confirm the exact crate versions and API surface.
43-
lance = "=4.0.0" # BLOCKED(A): bump to Lance 6 once version confirmed
44-
lancedb = { version = "=0.27.2", optional = true, default-features = false } # BLOCKED(B): bump to 0.28
37+
lance = "=6.0.0"
38+
lancedb = { version = "=0.29.0", optional = true, default-features = false }
4539

4640
# Runtime support (not blocked — these are well-known, confirmed versions)
4741
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }

0 commit comments

Comments
 (0)