chore: update lance dependency to v0.39.0 (#2766)

## Summary
- bump Lance crates to v0.39.0 with ci/set_lance_version.py and refresh
Cargo.lock
- keep namespace feature set intact while moving off git dependencies
- verified cargo clippy --workspace --tests --all-features -- -D
warnings
- ran cargo fmt --all

## References
- https://github.com/lancedb/lance/releases/tag/v0.39.0
This commit is contained in:
LanceDB Robot
2025-11-05 21:25:05 +08:00
committed by GitHub
parent 7ef8bafd51
commit f0d7520bdf
3 changed files with 70 additions and 52 deletions

92
Cargo.lock generated
View File

@@ -1139,7 +1139,7 @@ dependencies = [
"bitflags 2.9.4",
"cexpr",
"clang-sys",
"itertools 0.11.0",
"itertools 0.12.1",
"lazy_static",
"lazycell",
"log",
@@ -3032,8 +3032,9 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
[[package]]
name = "fsst"
version = "0.38.3"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3#afc0f9832cf11d0bf74381c2b63fd37de1c5f415"
version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d2475ce218217196b161b025598f77e2b405d5e729f7c37bfff145f5df00a41"
dependencies = [
"arrow-array",
"rand 0.9.2",
@@ -4217,8 +4218,9 @@ dependencies = [
[[package]]
name = "lance"
version = "0.38.3"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3#afc0f9832cf11d0bf74381c2b63fd37de1c5f415"
version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2f0ca022d0424d991933a62d2898864cf5621873962bd84e65e7d1f023f9c36"
dependencies = [
"arrow",
"arrow-arith",
@@ -4268,6 +4270,7 @@ dependencies = [
"prost-types",
"rand 0.9.2",
"roaring",
"semver",
"serde",
"serde_json",
"snafu",
@@ -4281,8 +4284,9 @@ dependencies = [
[[package]]
name = "lance-arrow"
version = "0.38.3"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3#afc0f9832cf11d0bf74381c2b63fd37de1c5f415"
version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7552f8d528775bf0ab21e1f75dcb70bdb2a828eeae58024a803b5a4655fd9a11"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -4300,8 +4304,9 @@ dependencies = [
[[package]]
name = "lance-bitpacking"
version = "0.38.3"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3#afc0f9832cf11d0bf74381c2b63fd37de1c5f415"
version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2ea14583cc6fa0bb190bcc2d3bc364b0aa545b345702976025f810e4740e8ce"
dependencies = [
"arrayref",
"paste",
@@ -4310,8 +4315,9 @@ dependencies = [
[[package]]
name = "lance-core"
version = "0.38.3"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3#afc0f9832cf11d0bf74381c2b63fd37de1c5f415"
version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69c752dedd207384892006c40930f898d6634e05e3d489e89763abfe4b9307e7"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -4347,8 +4353,9 @@ dependencies = [
[[package]]
name = "lance-datafusion"
version = "0.38.3"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3#afc0f9832cf11d0bf74381c2b63fd37de1c5f415"
version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21e1e98ca6e5cd337bdda2d9fb66063f295c0c2852d2bc6831366fea833ee608"
dependencies = [
"arrow",
"arrow-array",
@@ -4377,8 +4384,9 @@ dependencies = [
[[package]]
name = "lance-datagen"
version = "0.38.3"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3#afc0f9832cf11d0bf74381c2b63fd37de1c5f415"
version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "483c643fc2806ed1a2766edf4d180511bbd1d549bcc60373e33f4785c6185891"
dependencies = [
"arrow",
"arrow-array",
@@ -4395,8 +4403,9 @@ dependencies = [
[[package]]
name = "lance-encoding"
version = "0.38.3"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3#afc0f9832cf11d0bf74381c2b63fd37de1c5f415"
version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a199d1fa3487529c5ffc433fbd1721231330b9350c2ff9b0c7b7dbdb98f0806a"
dependencies = [
"arrow-arith",
"arrow-array",
@@ -4433,8 +4442,9 @@ dependencies = [
[[package]]
name = "lance-file"
version = "0.38.3"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3#afc0f9832cf11d0bf74381c2b63fd37de1c5f415"
version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b57def2279465232cf5a8cd996300c632442e368745768bbed661c7f0a35334b"
dependencies = [
"arrow-arith",
"arrow-array",
@@ -4466,8 +4476,9 @@ dependencies = [
[[package]]
name = "lance-index"
version = "0.38.3"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3#afc0f9832cf11d0bf74381c2b63fd37de1c5f415"
version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a75938c61e986aef8c615dc44c92e4c19e393160a59e2b57402ccfe08c5e63af"
dependencies = [
"arrow",
"arrow-arith",
@@ -4528,8 +4539,9 @@ dependencies = [
[[package]]
name = "lance-io"
version = "0.38.3"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3#afc0f9832cf11d0bf74381c2b63fd37de1c5f415"
version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa6c3b5b28570d6c951206c5b043f1b35c936928af14fca6f2ac25b0097e4c32"
dependencies = [
"arrow",
"arrow-arith",
@@ -4569,8 +4581,9 @@ dependencies = [
[[package]]
name = "lance-linalg"
version = "0.38.3"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3#afc0f9832cf11d0bf74381c2b63fd37de1c5f415"
version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b3cbc7e85a89ff9cb3a4627559dea3fd1c1fb16c0d8bc46ede75eefef51eec06"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -4586,8 +4599,9 @@ dependencies = [
[[package]]
name = "lance-namespace"
version = "0.38.3"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3#afc0f9832cf11d0bf74381c2b63fd37de1c5f415"
version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "897dd6726816515bb70a698ce7cda44670dca5761637696d7905b45f405a8cd9"
dependencies = [
"arrow",
"async-trait",
@@ -4599,8 +4613,9 @@ dependencies = [
[[package]]
name = "lance-namespace-impls"
version = "0.38.3"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3#afc0f9832cf11d0bf74381c2b63fd37de1c5f415"
version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e3cfcd3ba369de2719abf6fb6233f69cda639eb5cbcb328487a790e745ab988"
dependencies = [
"arrow",
"arrow-ipc",
@@ -4633,8 +4648,9 @@ dependencies = [
[[package]]
name = "lance-table"
version = "0.38.3"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3#afc0f9832cf11d0bf74381c2b63fd37de1c5f415"
version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c8facc13760ba034b6c38767b16adba85e44cbcbea8124dc0c63c43865c60630"
dependencies = [
"arrow",
"arrow-array",
@@ -4661,6 +4677,7 @@ dependencies = [
"rand 0.9.2",
"rangemap",
"roaring",
"semver",
"serde",
"serde_json",
"snafu",
@@ -4672,8 +4689,9 @@ dependencies = [
[[package]]
name = "lance-testing"
version = "0.38.3"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3#afc0f9832cf11d0bf74381c2b63fd37de1c5f415"
version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b05052ef86188d6ae6339bdd9f2c5d77190e8ad1158f3dc8a42fa91bde9e5246"
dependencies = [
"arrow-array",
"arrow-schema",
@@ -6393,8 +6411,8 @@ version = "0.13.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be769465445e8c1474e9c5dac2018218498557af32d9ed057325ec9a41ae81bf"
dependencies = [
"heck 0.4.1",
"itertools 0.11.0",
"heck 0.5.0",
"itertools 0.14.0",
"log",
"multimap",
"once_cell",
@@ -6414,7 +6432,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d"
dependencies = [
"anyhow",
"itertools 0.11.0",
"itertools 0.14.0",
"proc-macro2",
"quote",
"syn 2.0.106",
@@ -7722,7 +7740,7 @@ version = "0.8.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c1c97747dbf44bb1ca44a561ece23508e99cb592e862f22222dcf42f51d1e451"
dependencies = [
"heck 0.4.1",
"heck 0.5.0",
"proc-macro2",
"quote",
"syn 2.0.106",

View File

@@ -15,20 +15,20 @@ categories = ["database-implementations"]
rust-version = "1.78.0"
[workspace.dependencies]
lance = { "version" = "=0.38.3", default-features = false, "tag" = "v0.38.3", "git" = "https://github.com/lancedb/lance.git" }
lance-core = { "version" = "=0.38.3", "tag" = "v0.38.3", "git" = "https://github.com/lancedb/lance.git" }
lance-datagen = { "version" = "=0.38.3", "tag" = "v0.38.3", "git" = "https://github.com/lancedb/lance.git" }
lance-file = { "version" = "=0.38.3", "tag" = "v0.38.3", "git" = "https://github.com/lancedb/lance.git" }
lance-io = { "version" = "=0.38.3", default-features = false, "tag" = "v0.38.3", "git" = "https://github.com/lancedb/lance.git" }
lance-index = { "version" = "=0.38.3", "tag" = "v0.38.3", "git" = "https://github.com/lancedb/lance.git" }
lance-linalg = { "version" = "=0.38.3", "tag" = "v0.38.3", "git" = "https://github.com/lancedb/lance.git" }
lance-namespace = { "version" = "=0.38.3", "tag" = "v0.38.3", "git" = "https://github.com/lancedb/lance.git" }
lance-namespace-impls = { "version" = "=0.38.3", "features" = ["dir-aws", "dir-gcp", "dir-azure", "dir-oss", "rest"], "tag" = "v0.38.3", "git" = "https://github.com/lancedb/lance.git" }
lance-table = { "version" = "=0.38.3", "tag" = "v0.38.3", "git" = "https://github.com/lancedb/lance.git" }
lance-testing = { "version" = "=0.38.3", "tag" = "v0.38.3", "git" = "https://github.com/lancedb/lance.git" }
lance-datafusion = { "version" = "=0.38.3", "tag" = "v0.38.3", "git" = "https://github.com/lancedb/lance.git" }
lance-encoding = { "version" = "=0.38.3", "tag" = "v0.38.3", "git" = "https://github.com/lancedb/lance.git" }
lance-arrow = { "version" = "=0.38.3", "tag" = "v0.38.3", "git" = "https://github.com/lancedb/lance.git" }
lance = { "version" = "=0.39.0", default-features = false }
lance-core = "=0.39.0"
lance-datagen = "=0.39.0"
lance-file = "=0.39.0"
lance-io = { "version" = "=0.39.0", default-features = false }
lance-index = "=0.39.0"
lance-linalg = "=0.39.0"
lance-namespace = "=0.39.0"
lance-namespace-impls = { "version" = "=0.39.0", "features" = ["dir-aws", "dir-gcp", "dir-azure", "dir-oss", "rest"] }
lance-table = "=0.39.0"
lance-testing = "=0.39.0"
lance-datafusion = "=0.39.0"
lance-encoding = "=0.39.0"
lance-arrow = "=0.39.0"
ahash = "0.8"
# Note that this one does not include pyarrow
arrow = { version = "56.2", optional = false }

View File

@@ -55,7 +55,7 @@ def extract_features(line: str) -> list:
match = re.search(r'"features"\s*=\s*\[\s*(.*?)\s*\]', line, re.DOTALL)
if match:
features_str = match.group(1)
return [f.strip('"') for f in features_str.split(",") if len(f) > 0]
return [f.strip().strip('"') for f in features_str.split(",") if f.strip()]
return []