chore: update lance dependency to v15.1.0-beta.2 (#5217)

Bump the Rust workspace and Java Lance dependencies to [Lance
v15.1.0-beta.2](https://github.com/lance-format/lance/releases/tag/v15.1.0-beta.2)
and pin the matching `pylance` beta in the Python test extra.

Raise the Rust toolchain and minimum supported version to 1.98.0 as
required by Lance, and address the new Clippy diagnostics.

Co-authored-by: Xuanwo <github@xuanwo.io>
This commit is contained in:
LanceDB Robot
2026-11-26 05:39:46 +08:00
committed by GitHub
co-authored by Xuanwo
parent 8441dab874
commit 17532bb8c3
12 changed files with 89 additions and 83 deletions
+1 -1
View File
@@ -423,7 +423,7 @@ jobs:
runs-on: ubuntu-24.04
strategy:
matrix:
msrv: ["1.95.0"] # This should match up with rust-version in Cargo.toml
msrv: ["1.98.0"] # This should match up with rust-version in Cargo.toml
env:
# Need up-to-date compilers for kernels
CC: clang-18
Generated
+48 -48
View File
@@ -3836,8 +3836,8 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
[[package]]
name = "fsst"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrow-array",
"rand 0.9.5",
@@ -5315,8 +5315,8 @@ checksum = "e037a2e1d8d5fdbd49b16a4ea09d5d6401c1f29eca5ff29d03d3824dba16256a"
[[package]]
name = "lance"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arc-swap",
"arrow",
@@ -5392,8 +5392,8 @@ dependencies = [
[[package]]
name = "lance-arrow"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -5416,8 +5416,8 @@ dependencies = [
[[package]]
name = "lance-bitpacking"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrayref",
"crunchy",
@@ -5427,8 +5427,8 @@ dependencies = [
[[package]]
name = "lance-core"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -5466,8 +5466,8 @@ dependencies = [
[[package]]
name = "lance-datafusion"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrow",
"arrow-array",
@@ -5498,8 +5498,8 @@ dependencies = [
[[package]]
name = "lance-datafusion-exec"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrow",
"arrow-array",
@@ -5525,8 +5525,8 @@ dependencies = [
[[package]]
name = "lance-datagen"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrow",
"arrow-array",
@@ -5543,8 +5543,8 @@ dependencies = [
[[package]]
name = "lance-derive"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"proc-macro2",
"quote",
@@ -5553,8 +5553,8 @@ dependencies = [
[[package]]
name = "lance-encoding"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrow-arith",
"arrow-array",
@@ -5588,8 +5588,8 @@ dependencies = [
[[package]]
name = "lance-file"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrow-arith",
"arrow-array",
@@ -5619,8 +5619,8 @@ dependencies = [
[[package]]
name = "lance-geo"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrow-array",
"arrow-schema",
@@ -5651,8 +5651,8 @@ dependencies = [
[[package]]
name = "lance-index"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arc-swap",
"arrow",
@@ -5724,8 +5724,8 @@ dependencies = [
[[package]]
name = "lance-index-core"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrow-array",
"arrow-schema",
@@ -5748,8 +5748,8 @@ dependencies = [
[[package]]
name = "lance-io"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrow",
"arrow-array",
@@ -5794,8 +5794,8 @@ dependencies = [
[[package]]
name = "lance-jsonb"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"byteorder",
"ethnum",
@@ -5812,8 +5812,8 @@ dependencies = [
[[package]]
name = "lance-linalg"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"argminmax 0.7.1",
"arrow-array",
@@ -5828,8 +5828,8 @@ dependencies = [
[[package]]
name = "lance-namespace"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrow",
"async-trait",
@@ -5843,8 +5843,8 @@ dependencies = [
[[package]]
name = "lance-namespace-impls"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arc-swap",
"arrow",
@@ -5898,8 +5898,8 @@ dependencies = [
[[package]]
name = "lance-select"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -5913,8 +5913,8 @@ dependencies = [
[[package]]
name = "lance-table"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrow",
"arrow-array",
@@ -5955,8 +5955,8 @@ dependencies = [
[[package]]
name = "lance-table-runtime"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -6000,8 +6000,8 @@ dependencies = [
[[package]]
name = "lance-testing"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"arrow-array",
"arrow-schema",
@@ -6014,8 +6014,8 @@ dependencies = [
[[package]]
name = "lance-tokenizer"
version = "15.1.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.1#cb512b6d31e9fe7342d29dd0ab89b224d0afe0a2"
version = "15.1.0-beta.2"
source = "git+https://github.com/lance-format/lance.git?tag=v15.1.0-beta.2#fc8f59e53233a46f0d73604d66254142802389c9"
dependencies = [
"frostem",
"icu_segmenter",
+16 -16
View File
@@ -16,24 +16,24 @@ repository = "https://github.com/lancedb/lancedb"
description = "Serverless, low-latency vector database for AI applications"
keywords = ["lancedb", "lance", "database", "vector", "search"]
categories = ["database-implementations"]
rust-version = "1.95.0"
rust-version = "1.98.0"
[workspace.dependencies]
lance = { "version" = "=15.1.0-beta.1", default-features = false, "tag" = "v15.1.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-core = { "version" = "=15.1.0-beta.1", "tag" = "v15.1.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-datagen = { "version" = "=15.1.0-beta.1", "tag" = "v15.1.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-file = { "version" = "=15.1.0-beta.1", "tag" = "v15.1.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-io = { "version" = "=15.1.0-beta.1", default-features = false, "tag" = "v15.1.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-index = { "version" = "=15.1.0-beta.1", "tag" = "v15.1.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-jsonb = { "version" = "=15.1.0-beta.1", "tag" = "v15.1.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-linalg = { "version" = "=15.1.0-beta.1", "tag" = "v15.1.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-namespace = { "version" = "=15.1.0-beta.1", "tag" = "v15.1.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-namespace-impls = { "version" = "=15.1.0-beta.1", default-features = false, "tag" = "v15.1.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-table = { "version" = "=15.1.0-beta.1", "tag" = "v15.1.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-testing = { "version" = "=15.1.0-beta.1", "tag" = "v15.1.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-datafusion = { "version" = "=15.1.0-beta.1", "tag" = "v15.1.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-encoding = { "version" = "=15.1.0-beta.1", "tag" = "v15.1.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-arrow = { "version" = "=15.1.0-beta.1", "tag" = "v15.1.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance = { "version" = "=15.1.0-beta.2", default-features = false, "tag" = "v15.1.0-beta.2", "git" = "https://github.com/lance-format/lance.git" }
lance-core = { "version" = "=15.1.0-beta.2", "tag" = "v15.1.0-beta.2", "git" = "https://github.com/lance-format/lance.git" }
lance-datagen = { "version" = "=15.1.0-beta.2", "tag" = "v15.1.0-beta.2", "git" = "https://github.com/lance-format/lance.git" }
lance-file = { "version" = "=15.1.0-beta.2", "tag" = "v15.1.0-beta.2", "git" = "https://github.com/lance-format/lance.git" }
lance-io = { "version" = "=15.1.0-beta.2", default-features = false, "tag" = "v15.1.0-beta.2", "git" = "https://github.com/lance-format/lance.git" }
lance-index = { "version" = "=15.1.0-beta.2", "tag" = "v15.1.0-beta.2", "git" = "https://github.com/lance-format/lance.git" }
lance-jsonb = { "version" = "=15.1.0-beta.2", "tag" = "v15.1.0-beta.2", "git" = "https://github.com/lance-format/lance.git" }
lance-linalg = { "version" = "=15.1.0-beta.2", "tag" = "v15.1.0-beta.2", "git" = "https://github.com/lance-format/lance.git" }
lance-namespace = { "version" = "=15.1.0-beta.2", "tag" = "v15.1.0-beta.2", "git" = "https://github.com/lance-format/lance.git" }
lance-namespace-impls = { "version" = "=15.1.0-beta.2", default-features = false, "tag" = "v15.1.0-beta.2", "git" = "https://github.com/lance-format/lance.git" }
lance-table = { "version" = "=15.1.0-beta.2", "tag" = "v15.1.0-beta.2", "git" = "https://github.com/lance-format/lance.git" }
lance-testing = { "version" = "=15.1.0-beta.2", "tag" = "v15.1.0-beta.2", "git" = "https://github.com/lance-format/lance.git" }
lance-datafusion = { "version" = "=15.1.0-beta.2", "tag" = "v15.1.0-beta.2", "git" = "https://github.com/lance-format/lance.git" }
lance-encoding = { "version" = "=15.1.0-beta.2", "tag" = "v15.1.0-beta.2", "git" = "https://github.com/lance-format/lance.git" }
lance-arrow = { "version" = "=15.1.0-beta.2", "tag" = "v15.1.0-beta.2", "git" = "https://github.com/lance-format/lance.git" }
lancedb = { path = "rust/lancedb", default-features = false }
ahash = "0.8"
anyhow = "1"
+1 -1
View File
@@ -28,7 +28,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<arrow.version>15.0.0</arrow.version>
<lance-core.version>15.1.0-beta.1</lance-core.version>
<lance-core.version>15.1.0-beta.2</lance-core.version>
<jackson.version>2.18.12</jackson.version>
<spotless.skip>false</spotless.skip>
<spotless.version>2.30.0</spotless.version>
+1 -1
View File
@@ -8,7 +8,7 @@ license.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true
rust-version = "1.95.0"
rust-version = "1.98.0"
[lib]
name = "_lancedb"
+1 -1
View File
@@ -64,7 +64,7 @@ tests = [
"polars>=0.19, <=1.32.3",
"pyarrow>=16",
"pyarrow-stubs>=16.0",
"pylance==15.1.0b1",
"pylance==15.1.0b2",
"requests>=2.31.0",
"datafusion>=54,<55",
"opentelemetry-sdk>=1.30.0",
+9 -9
View File
@@ -1912,7 +1912,7 @@ requires-dist = [
{ name = "pyarrow-stubs", marker = "extra == 'tests'", specifier = ">=16.0" },
{ name = "pydantic", specifier = ">=2.7.4,<3" },
{ name = "pylance", marker = "extra == 'pylance'", specifier = ">=15.0.0b3" },
{ name = "pylance", marker = "extra == 'tests'", specifier = "==15.1.0b1" },
{ name = "pylance", marker = "extra == 'tests'", specifier = "==15.1.0b2" },
{ name = "pyright", marker = "extra == 'dev'", specifier = ">=1.1.350" },
{ name = "pytest", marker = "extra == 'tests'", specifier = ">=7.0" },
{ name = "pytest-asyncio", marker = "extra == 'tests'", specifier = ">=0.21" },
@@ -3649,20 +3649,20 @@ crypto = [
[[package]]
name = "pylance"
version = "15.1.0b1"
version = "15.1.0b2"
source = { registry = "https://pypi.fury.io/lance-format/" }
dependencies = [
{ name = "lance-namespace" },
{ name = "pyarrow" },
]
wheels = [
{ url = "https://pypi.fury.io/lance-format/-/ver_RBGf7/pylance-15.1.0b1-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:442f7f355833e9275ad1835dca8fcd6fe0c092e80c6bd597e8864e463963f423" },
{ url = "https://pypi.fury.io/lance-format/-/ver_UKH5z/pylance-15.1.0b1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fb2419dbb246c6de996ff3101dd1eddec521e6670b6a4a37799b1fc0840cad2c" },
{ url = "https://pypi.fury.io/lance-format/-/ver_1E3GZI/pylance-15.1.0b1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5f32a4cd522a14e1c14206ad9e0593bf3f5c68521f04389f01441bfb2ad55a0b" },
{ url = "https://pypi.fury.io/lance-format/-/ver_8r33d/pylance-15.1.0b1-cp310-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:cacdca6260155f86a52401bab4965702c0921fdd3d481fbcdf95ee16503f1bbd" },
{ url = "https://pypi.fury.io/lance-format/-/ver_2btbqJ/pylance-15.1.0b1-cp310-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:a8d79fe1053fbafeb2863259cf36bec3fa179b366592fe45a5e09ae9de4e1bc8" },
{ url = "https://pypi.fury.io/lance-format/-/ver_RQD3W/pylance-15.1.0b1-cp310-abi3-win_amd64.whl", hash = "sha256:2b649d31498a810d4e8a1120a1a1a59236982bf6b9151ecf3d83686c5bfe6f72" },
{ url = "https://pypi.fury.io/lance-format/-/ver_1N9JD1/pylance-15.1.0b1-cp310-abi3-win_arm64.whl", hash = "sha256:dcb948c46eb62f5088843bd39b3dcc36d81ba3dab03410366aa0769f9114358f" },
{ url = "https://pypi.fury.io/lance-format/-/ver_vSWFg/pylance-15.1.0b2-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:297f8d3059be999ade63b04d9ce592b71f3c6d5d7fd70cdbb3d2f6a65bc310f2" },
{ url = "https://pypi.fury.io/lance-format/-/ver_28KJav/pylance-15.1.0b2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:414bfef47bd01a159f392a8e8e099fee7c9ab1be2c847ca2cd224f623fdd277e" },
{ url = "https://pypi.fury.io/lance-format/-/ver_7FE7R/pylance-15.1.0b2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:841c44301b060aeb4309bc64c8b60be17b5a12c4801aca2a7f6ded1dd2e414e9" },
{ url = "https://pypi.fury.io/lance-format/-/ver_2jMYDF/pylance-15.1.0b2-cp310-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:5979250018dc7ccabb8193f9f4c01b3c581d48adedd7a73b9ebfcc0104bb7d19" },
{ url = "https://pypi.fury.io/lance-format/-/ver_1XQt8E/pylance-15.1.0b2-cp310-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:bd67e0ada56f9574c12a4300e0ceccb16830d2b16ebc7dabaf1ced38cc7d8593" },
{ url = "https://pypi.fury.io/lance-format/-/ver_H8fyY/pylance-15.1.0b2-cp310-abi3-win_amd64.whl", hash = "sha256:120ed03b30176db76fa1c25223531a59abb77e5a80a9c85923914ad161132904" },
{ url = "https://pypi.fury.io/lance-format/-/ver_zdLur/pylance-15.1.0b2-cp310-abi3-win_arm64.whl", hash = "sha256:5eebf0d2eba1d32ab3ef43c1d69614e265bf7e428480601a4287e3fb33290292" },
]
[[package]]
+1 -1
View File
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.97.0"
channel = "1.98.0"
+1 -1
View File
@@ -19,7 +19,7 @@ const REQUEST_ID_HEADER: HeaderName = HeaderName::from_static("x-request-id");
const DEFAULT_BLOB_REQUEST_CONCURRENCY: usize = 8;
/// M1 prototype routing threshold for direct Blob reads. It stays internal
/// until the acceptance benchmark establishes the right default.
pub(crate) const DEFAULT_BLOB_PRESIGN_THRESHOLD_BYTES: u64 = 10 * 1024 * 1024;
const DEFAULT_BLOB_PRESIGN_THRESHOLD_BYTES: u64 = 10 * 1024 * 1024;
pub fn redact_sensitive_headers(headers: &mut HeaderMap) {
const SENSITIVE_HEADERS: [&str; 5] = [
+3 -1
View File
@@ -2857,7 +2857,9 @@ mod tests {
let mut bytes = vec![0; 128 * 72 * 1024];
SmallRng::seed_from_u64(4977).fill_bytes(&mut bytes);
let strings: Vec<String> = bytes
.chunks_exact(72 * 1024)
.as_chunks::<{ 72 * 1024 }>()
.0
.iter()
.map(|chunk| chunk.iter().map(|b| char::from(b'!' + b % 90)).collect())
.collect();
let mut batches = Vec::new();
+4 -2
View File
@@ -1282,7 +1282,8 @@ mod tests {
use rand::{RngCore, SeedableRng, rngs::SmallRng};
let mut bytes = vec![0; 128 * 1024];
SmallRng::seed_from_u64(7).fill_bytes(&mut bytes);
let values = arrow_array::LargeBinaryArray::from_iter_values(bytes.chunks_exact(1024));
let values =
arrow_array::LargeBinaryArray::from_iter_values(bytes.as_chunks::<1024>().0.iter());
let schema = Arc::new(ArrowSchema::new(vec![Field::new(
"payload",
DataType::LargeBinary,
@@ -1735,7 +1736,8 @@ mod tests {
let mut batches = Vec::new();
for shift in [0, 1] {
let values = BinaryArray::from_iter(
std::iter::once(None).chain(bytes.chunks_exact(1024).skip(shift).map(Some)),
std::iter::once(None)
.chain(bytes.as_chunks::<1024>().0.iter().skip(shift).map(Some)),
);
let keys = UInt8Array::from(vec![
Some(120),
+3 -1
View File
@@ -687,7 +687,9 @@ fn decode_legacy_sidecar(bytes: &[u8]) -> Result<FreshnessState> {
return Err(malformed());
}
let signatures = body
.chunks_exact(12)
.as_chunks::<12>()
.0
.iter()
.map(|entry| {
let fragment_id = u32::from_le_bytes(entry[..4].try_into().unwrap());
let hash = u64::from_le_bytes(entry[4..].try_into().unwrap());