diff --git a/Cargo.lock b/Cargo.lock index 16ffc63f..98dc296f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3102,8 +3102,8 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" [[package]] name = "fsst" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "arrow-array", "rand 0.9.2", @@ -4460,8 +4460,8 @@ dependencies = [ [[package]] name = "lance" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "arrow", "arrow-arith", @@ -4526,8 +4526,8 @@ dependencies = [ [[package]] name = "lance-arrow" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "arrow-array", "arrow-buffer", @@ -4545,8 +4545,8 @@ dependencies = [ [[package]] name = "lance-bitpacking" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "arrayref", "paste", @@ -4555,8 +4555,8 @@ dependencies = [ [[package]] name = "lance-core" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "arrow-array", "arrow-buffer", @@ -4592,8 +4592,8 @@ dependencies = [ [[package]] name = "lance-datafusion" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "arrow", "arrow-array", @@ -4623,8 +4623,8 @@ dependencies = [ [[package]] name = "lance-datagen" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "arrow", "arrow-array", @@ -4641,8 +4641,8 @@ dependencies = [ [[package]] name = "lance-encoding" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "arrow-arith", "arrow-array", @@ -4679,8 +4679,8 @@ dependencies = [ [[package]] name = "lance-file" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "arrow-arith", "arrow-array", @@ -4712,8 +4712,8 @@ dependencies = [ [[package]] name = "lance-geo" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "datafusion", "geo-types", @@ -4724,8 +4724,8 @@ dependencies = [ [[package]] name = "lance-index" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "arrow", "arrow-arith", @@ -4786,8 +4786,8 @@ dependencies = [ [[package]] name = "lance-io" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "arrow", "arrow-arith", @@ -4827,8 +4827,8 @@ dependencies = [ [[package]] name = "lance-linalg" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "arrow-array", "arrow-buffer", @@ -4844,8 +4844,8 @@ dependencies = [ [[package]] name = "lance-namespace" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "arrow", "async-trait", @@ -4857,8 +4857,8 @@ dependencies = [ [[package]] name = "lance-namespace-impls" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "arrow", "arrow-ipc", @@ -4896,8 +4896,8 @@ dependencies = [ [[package]] name = "lance-table" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "arrow", "arrow-array", @@ -4936,8 +4936,8 @@ dependencies = [ [[package]] name = "lance-testing" -version = "1.0.0-beta.16" -source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-beta.16#ff89675ebaca362412c3ec9d62d2de3885a57727" +version = "1.0.0-rc.2" +source = "git+https://github.com/lance-format/lance.git?tag=v1.0.0-rc.2#8384461f28ee87c45a5c86a1e44fa49c91c631ee" dependencies = [ "arrow-array", "arrow-schema", diff --git a/Cargo.toml b/Cargo.toml index 02bae6ee..b6f34aea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,20 +15,20 @@ categories = ["database-implementations"] rust-version = "1.78.0" [workspace.dependencies] -lance = { "version" = "=1.0.0-beta.16", default-features = false, "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" } -lance-core = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" } -lance-datagen = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" } -lance-file = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" } -lance-io = { "version" = "=1.0.0-beta.16", default-features = false, "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" } -lance-index = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" } -lance-linalg = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" } -lance-namespace = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" } -lance-namespace-impls = { "version" = "=1.0.0-beta.16", default-features = false, "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" } -lance-table = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" } -lance-testing = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" } -lance-datafusion = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" } -lance-encoding = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" } -lance-arrow = { "version" = "=1.0.0-beta.16", "tag" = "v1.0.0-beta.16", "git" = "https://github.com/lance-format/lance.git" } +lance = { "version" = "=1.0.0-rc.2", default-features = false, "tag" = "v1.0.0-rc.2", "git" = "https://github.com/lance-format/lance.git" } +lance-core = { "version" = "=1.0.0-rc.2", "tag" = "v1.0.0-rc.2", "git" = "https://github.com/lance-format/lance.git" } +lance-datagen = { "version" = "=1.0.0-rc.2", "tag" = "v1.0.0-rc.2", "git" = "https://github.com/lance-format/lance.git" } +lance-file = { "version" = "=1.0.0-rc.2", "tag" = "v1.0.0-rc.2", "git" = "https://github.com/lance-format/lance.git" } +lance-io = { "version" = "=1.0.0-rc.2", default-features = false, "tag" = "v1.0.0-rc.2", "git" = "https://github.com/lance-format/lance.git" } +lance-index = { "version" = "=1.0.0-rc.2", "tag" = "v1.0.0-rc.2", "git" = "https://github.com/lance-format/lance.git" } +lance-linalg = { "version" = "=1.0.0-rc.2", "tag" = "v1.0.0-rc.2", "git" = "https://github.com/lance-format/lance.git" } +lance-namespace = { "version" = "=1.0.0-rc.2", "tag" = "v1.0.0-rc.2", "git" = "https://github.com/lance-format/lance.git" } +lance-namespace-impls = { "version" = "=1.0.0-rc.2", default-features = false, "tag" = "v1.0.0-rc.2", "git" = "https://github.com/lance-format/lance.git" } +lance-table = { "version" = "=1.0.0-rc.2", "tag" = "v1.0.0-rc.2", "git" = "https://github.com/lance-format/lance.git" } +lance-testing = { "version" = "=1.0.0-rc.2", "tag" = "v1.0.0-rc.2", "git" = "https://github.com/lance-format/lance.git" } +lance-datafusion = { "version" = "=1.0.0-rc.2", "tag" = "v1.0.0-rc.2", "git" = "https://github.com/lance-format/lance.git" } +lance-encoding = { "version" = "=1.0.0-rc.2", "tag" = "v1.0.0-rc.2", "git" = "https://github.com/lance-format/lance.git" } +lance-arrow = { "version" = "=1.0.0-rc.2", "tag" = "v1.0.0-rc.2", "git" = "https://github.com/lance-format/lance.git" } ahash = "0.8" # Note that this one does not include pyarrow arrow = { version = "56.2", optional = false } diff --git a/ci/set_lance_version.py b/ci/set_lance_version.py index e1ce1a1d..dc243e09 100644 --- a/ci/set_lance_version.py +++ b/ci/set_lance_version.py @@ -260,7 +260,8 @@ else: if version.startswith("v"): version = version[1:] - if "beta" in version: + # Treat prerelease identifiers (beta/rc/etc) as preview builds fetched via git tags. + if "beta" in version or "rc" in version or "-" in version: set_preview_version(version) else: set_stable_version(version)