From 496846e532263a607bf0a3800d9f496bb26dd00c Mon Sep 17 00:00:00 2001 From: Lei Xu Date: Wed, 21 May 2025 14:15:55 -0700 Subject: [PATCH] chore: bump lance version (#2397) - Bump lance version and prepare a new release. - Bump rust toolchain to 1.86, because GHA ubuntu does not have 1.83 `cargo-fmt` anymore --- .github/workflows/rust.yml | 7 +++-- Cargo.lock | 60 +++++++++++++++++++------------------- Cargo.toml | 21 +++++++------ rust-toolchain.toml | 2 +- 4 files changed, 46 insertions(+), 44 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1b7de659..e483f849 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -40,6 +40,9 @@ jobs: with: fetch-depth: 0 lfs: true + - uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + components: rustfmt, clippy - uses: Swatinem/rust-cache@v2 with: workspaces: rust @@ -160,8 +163,8 @@ jobs: strategy: matrix: target: - - x86_64-pc-windows-msvc - - aarch64-pc-windows-msvc + - x86_64-pc-windows-msvc + - aarch64-pc-windows-msvc defaults: run: working-directory: rust/lancedb diff --git a/Cargo.lock b/Cargo.lock index 20fd8ca6..cb60b610 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2737,8 +2737,8 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" [[package]] name = "fsst" -version = "0.27.1" -source = "git+https://github.com/lancedb/lance.git?tag=v0.27.1-beta.1#fe14671f1a5bdca3c135abd1a5d7baa5fe1faeae" +version = "0.27.3" +source = "git+https://github.com/lancedb/lance.git?tag=v0.27.3-beta.1#330cba739a418e51cfbee4993ae2c25925965a0d" dependencies = [ "rand 0.8.5", ] @@ -3727,8 +3727,8 @@ dependencies = [ [[package]] name = "lance" -version = "0.27.1" -source = "git+https://github.com/lancedb/lance.git?tag=v0.27.1-beta.1#fe14671f1a5bdca3c135abd1a5d7baa5fe1faeae" +version = "0.27.3" +source = "git+https://github.com/lancedb/lance.git?tag=v0.27.3-beta.1#330cba739a418e51cfbee4993ae2c25925965a0d" dependencies = [ "arrow", "arrow-arith", @@ -3791,8 +3791,8 @@ dependencies = [ [[package]] name = "lance-arrow" -version = "0.27.1" -source = "git+https://github.com/lancedb/lance.git?tag=v0.27.1-beta.1#fe14671f1a5bdca3c135abd1a5d7baa5fe1faeae" +version = "0.27.3" +source = "git+https://github.com/lancedb/lance.git?tag=v0.27.3-beta.1#330cba739a418e51cfbee4993ae2c25925965a0d" dependencies = [ "arrow-array", "arrow-buffer", @@ -3809,8 +3809,8 @@ dependencies = [ [[package]] name = "lance-core" -version = "0.27.1" -source = "git+https://github.com/lancedb/lance.git?tag=v0.27.1-beta.1#fe14671f1a5bdca3c135abd1a5d7baa5fe1faeae" +version = "0.27.3" +source = "git+https://github.com/lancedb/lance.git?tag=v0.27.3-beta.1#330cba739a418e51cfbee4993ae2c25925965a0d" dependencies = [ "arrow-array", "arrow-buffer", @@ -3846,8 +3846,8 @@ dependencies = [ [[package]] name = "lance-datafusion" -version = "0.27.1" -source = "git+https://github.com/lancedb/lance.git?tag=v0.27.1-beta.1#fe14671f1a5bdca3c135abd1a5d7baa5fe1faeae" +version = "0.27.3" +source = "git+https://github.com/lancedb/lance.git?tag=v0.27.3-beta.1#330cba739a418e51cfbee4993ae2c25925965a0d" dependencies = [ "arrow", "arrow-array", @@ -3876,8 +3876,8 @@ dependencies = [ [[package]] name = "lance-datagen" -version = "0.27.1" -source = "git+https://github.com/lancedb/lance.git?tag=v0.27.1-beta.1#fe14671f1a5bdca3c135abd1a5d7baa5fe1faeae" +version = "0.27.3" +source = "git+https://github.com/lancedb/lance.git?tag=v0.27.3-beta.1#330cba739a418e51cfbee4993ae2c25925965a0d" dependencies = [ "arrow", "arrow-array", @@ -3892,8 +3892,8 @@ dependencies = [ [[package]] name = "lance-encoding" -version = "0.27.1" -source = "git+https://github.com/lancedb/lance.git?tag=v0.27.1-beta.1#fe14671f1a5bdca3c135abd1a5d7baa5fe1faeae" +version = "0.27.3" +source = "git+https://github.com/lancedb/lance.git?tag=v0.27.3-beta.1#330cba739a418e51cfbee4993ae2c25925965a0d" dependencies = [ "arrayref", "arrow", @@ -3932,8 +3932,8 @@ dependencies = [ [[package]] name = "lance-file" -version = "0.27.1" -source = "git+https://github.com/lancedb/lance.git?tag=v0.27.1-beta.1#fe14671f1a5bdca3c135abd1a5d7baa5fe1faeae" +version = "0.27.3" +source = "git+https://github.com/lancedb/lance.git?tag=v0.27.3-beta.1#330cba739a418e51cfbee4993ae2c25925965a0d" dependencies = [ "arrow-arith", "arrow-array", @@ -3967,8 +3967,8 @@ dependencies = [ [[package]] name = "lance-index" -version = "0.27.1" -source = "git+https://github.com/lancedb/lance.git?tag=v0.27.1-beta.1#fe14671f1a5bdca3c135abd1a5d7baa5fe1faeae" +version = "0.27.3" +source = "git+https://github.com/lancedb/lance.git?tag=v0.27.3-beta.1#330cba739a418e51cfbee4993ae2c25925965a0d" dependencies = [ "arrow", "arrow-array", @@ -4021,8 +4021,8 @@ dependencies = [ [[package]] name = "lance-io" -version = "0.27.1" -source = "git+https://github.com/lancedb/lance.git?tag=v0.27.1-beta.1#fe14671f1a5bdca3c135abd1a5d7baa5fe1faeae" +version = "0.27.3" +source = "git+https://github.com/lancedb/lance.git?tag=v0.27.3-beta.1#330cba739a418e51cfbee4993ae2c25925965a0d" dependencies = [ "arrow", "arrow-arith", @@ -4061,8 +4061,8 @@ dependencies = [ [[package]] name = "lance-linalg" -version = "0.27.1" -source = "git+https://github.com/lancedb/lance.git?tag=v0.27.1-beta.1#fe14671f1a5bdca3c135abd1a5d7baa5fe1faeae" +version = "0.27.3" +source = "git+https://github.com/lancedb/lance.git?tag=v0.27.3-beta.1#330cba739a418e51cfbee4993ae2c25925965a0d" dependencies = [ "arrow-array", "arrow-ord", @@ -4085,8 +4085,8 @@ dependencies = [ [[package]] name = "lance-table" -version = "0.27.1" -source = "git+https://github.com/lancedb/lance.git?tag=v0.27.1-beta.1#fe14671f1a5bdca3c135abd1a5d7baa5fe1faeae" +version = "0.27.3" +source = "git+https://github.com/lancedb/lance.git?tag=v0.27.3-beta.1#330cba739a418e51cfbee4993ae2c25925965a0d" dependencies = [ "arrow", "arrow-array", @@ -4125,8 +4125,8 @@ dependencies = [ [[package]] name = "lance-testing" -version = "0.27.1" -source = "git+https://github.com/lancedb/lance.git?tag=v0.27.1-beta.1#fe14671f1a5bdca3c135abd1a5d7baa5fe1faeae" +version = "0.27.3" +source = "git+https://github.com/lancedb/lance.git?tag=v0.27.3-beta.1#330cba739a418e51cfbee4993ae2c25925965a0d" dependencies = [ "arrow-array", "arrow-schema", @@ -4137,7 +4137,7 @@ dependencies = [ [[package]] name = "lancedb" -version = "0.19.1-beta.4" +version = "0.19.1-beta.5" dependencies = [ "arrow", "arrow-array", @@ -4224,7 +4224,7 @@ dependencies = [ [[package]] name = "lancedb-node" -version = "0.19.1-beta.4" +version = "0.19.1-beta.5" dependencies = [ "arrow-array", "arrow-ipc", @@ -4249,7 +4249,7 @@ dependencies = [ [[package]] name = "lancedb-nodejs" -version = "0.19.1-beta.4" +version = "0.19.1-beta.5" dependencies = [ "arrow-array", "arrow-ipc", @@ -4268,7 +4268,7 @@ dependencies = [ [[package]] name = "lancedb-python" -version = "0.22.1-beta.4" +version = "0.22.1-beta.5" dependencies = [ "arrow", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 1e209f77..e855d65e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,14 +21,16 @@ categories = ["database-implementations"] rust-version = "1.78.0" [workspace.dependencies] -lance = { "version" = "=0.27.1", "features" = ["dynamodb"], tag = "v0.27.1-beta.1", git="https://github.com/lancedb/lance.git" } -lance-io = { version = "=0.27.1", tag = "v0.27.1-beta.1", git="https://github.com/lancedb/lance.git" } -lance-index = { version = "=0.27.1", tag = "v0.27.1-beta.1", git="https://github.com/lancedb/lance.git" } -lance-linalg = { version = "=0.27.1", tag = "v0.27.1-beta.1", git="https://github.com/lancedb/lance.git" } -lance-table = { version = "=0.27.1", tag = "v0.27.1-beta.1", git="https://github.com/lancedb/lance.git" } -lance-testing = { version = "=0.27.1", tag = "v0.27.1-beta.1", git="https://github.com/lancedb/lance.git" } -lance-datafusion = { version = "=0.27.1", tag = "v0.27.1-beta.1", git="https://github.com/lancedb/lance.git" } -lance-encoding = { version = "=0.27.1", tag = "v0.27.1-beta.1", git="https://github.com/lancedb/lance.git" } +lance = { "version" = "=0.27.3", "features" = [ + "dynamodb" +], tag = "v0.27.3-beta.1", git = "https://github.com/lancedb/lance.git" } +lance-io = { version = "=0.27.3", tag = "v0.27.3-beta.1", git = "https://github.com/lancedb/lance.git" } +lance-index = { version = "=0.27.3", tag = "v0.27.3-beta.1", git = "https://github.com/lancedb/lance.git" } +lance-linalg = { version = "=0.27.3", tag = "v0.27.3-beta.1", git = "https://github.com/lancedb/lance.git" } +lance-table = { version = "=0.27.3", tag = "v0.27.3-beta.1", git = "https://github.com/lancedb/lance.git" } +lance-testing = { version = "=0.27.3", tag = "v0.27.3-beta.1", git = "https://github.com/lancedb/lance.git" } +lance-datafusion = { version = "=0.27.3", tag = "v0.27.3-beta.1", git = "https://github.com/lancedb/lance.git" } +lance-encoding = { version = "=0.27.3", tag = "v0.27.3-beta.1", git = "https://github.com/lancedb/lance.git" } # Note that this one does not include pyarrow arrow = { version = "54.1", optional = false } arrow-array = "54.1" @@ -61,15 +63,12 @@ rand = "0.8" regex = "1.10" lazy_static = "1" semver = "1.0.25" - # Temporary pins to work around downstream issues # https://github.com/apache/arrow-rs/commit/2fddf85afcd20110ce783ed5b4cdeb82293da30b chrono = "=0.4.39" # https://github.com/RustCrypto/formats/issues/1684 base64ct = "=1.6.0" - # Workaround for: https://github.com/eira-fransham/crunchy/issues/13 crunchy = "=0.2.2" - # Workaround for: https://github.com/Lokathor/bytemuck/issues/306 bytemuck_derive = ">=1.8.1, <1.9.0" diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 0193dee3..cf6d0f55 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "1.83.0" +channel = "1.86.0"