diff --git a/Cargo.lock b/Cargo.lock index 4b8ea97b7..863e60d6e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3836,8 +3836,8 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" [[package]] name = "fsst" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow-array", "rand 0.9.5", @@ -5141,18 +5141,18 @@ checksum = "9028f49264629065d057f340a86acb84867925865f73bbf8d47b4d149a7e88b8" [[package]] name = "jieba-macros" -version = "0.10.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46adade69b634535a8f495cf87710ed893cff53e1dbc9dd750c2ab81c5defb82" +checksum = "38fc0f3831de71556de69643b80a08a5c8cd260a23c6b8dbeb7cd923c779cac5" dependencies = [ "phf_codegen 0.13.1", ] [[package]] name = "jieba-rs" -version = "0.10.1" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11b53580aaa8ec8b713da271da434f8947409242c537a9ab3f7b76bdbb19e8a9" +checksum = "bb5bdea4dc241d589e179f39d2a778f31490f3370aa2f626223dbd930ebc5c9d" dependencies = [ "bytecount", "cedarwood", @@ -5315,8 +5315,8 @@ checksum = "e037a2e1d8d5fdbd49b16a4ea09d5d6401c1f29eca5ff29d03d3824dba16256a" [[package]] name = "lance" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arc-swap", "arrow", @@ -5391,8 +5391,8 @@ dependencies = [ [[package]] name = "lance-arrow" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow-array", "arrow-buffer", @@ -5414,7 +5414,7 @@ dependencies = [ [[package]] name = "lance-arrow-scalar" version = "59.0.0" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow-array", "arrow-buffer", @@ -5428,7 +5428,7 @@ dependencies = [ [[package]] name = "lance-arrow-stats" version = "59.0.0" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow-array", "arrow-schema", @@ -5437,8 +5437,8 @@ dependencies = [ [[package]] name = "lance-bitpacking" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrayref", "crunchy", @@ -5448,8 +5448,8 @@ dependencies = [ [[package]] name = "lance-core" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow-array", "arrow-buffer", @@ -5487,8 +5487,8 @@ dependencies = [ [[package]] name = "lance-datafusion" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow", "arrow-array", @@ -5519,8 +5519,8 @@ dependencies = [ [[package]] name = "lance-datafusion-exec" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow", "arrow-array", @@ -5545,8 +5545,8 @@ dependencies = [ [[package]] name = "lance-datagen" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow", "arrow-array", @@ -5563,8 +5563,8 @@ dependencies = [ [[package]] name = "lance-derive" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "proc-macro2", "quote", @@ -5573,8 +5573,8 @@ dependencies = [ [[package]] name = "lance-encoding" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow-arith", "arrow-array", @@ -5608,8 +5608,8 @@ dependencies = [ [[package]] name = "lance-file" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow-arith", "arrow-array", @@ -5640,8 +5640,8 @@ dependencies = [ [[package]] name = "lance-geo" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow-array", "arrow-schema", @@ -5672,8 +5672,8 @@ dependencies = [ [[package]] name = "lance-index" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arc-swap", "arrow", @@ -5746,8 +5746,8 @@ dependencies = [ [[package]] name = "lance-index-core" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow-array", "arrow-schema", @@ -5770,8 +5770,8 @@ dependencies = [ [[package]] name = "lance-io" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow", "arrow-array", @@ -5816,8 +5816,8 @@ dependencies = [ [[package]] name = "lance-jsonb" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "byteorder", "ethnum", @@ -5834,8 +5834,8 @@ dependencies = [ [[package]] name = "lance-linalg" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "argminmax 0.7.1", "arrow-array", @@ -5850,8 +5850,8 @@ dependencies = [ [[package]] name = "lance-namespace" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow", "async-trait", @@ -5865,8 +5865,8 @@ dependencies = [ [[package]] name = "lance-namespace-impls" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arc-swap", "arrow", @@ -5920,8 +5920,8 @@ dependencies = [ [[package]] name = "lance-select" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow-array", "arrow-buffer", @@ -5935,8 +5935,8 @@ dependencies = [ [[package]] name = "lance-table" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow", "arrow-array", @@ -5977,8 +5977,8 @@ dependencies = [ [[package]] name = "lance-testing" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "arrow-array", "arrow-schema", @@ -5991,8 +5991,8 @@ dependencies = [ [[package]] name = "lance-tokenizer" -version = "15.0.0-beta.25" -source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.25#f5dbd55dd79f1f0412f897ed1917128300fb8c1a" +version = "15.0.0-beta.26" +source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.26#f9fd19edfb14e43d3981b20dfaf183672751414b" dependencies = [ "frostem", "icu_segmenter", diff --git a/Cargo.toml b/Cargo.toml index 1b277c625..4ea1d12ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,21 +19,21 @@ categories = ["database-implementations"] rust-version = "1.95.0" [workspace.dependencies] -lance = { "version" = "=15.0.0-beta.25", default-features = false, "tag" = "v15.0.0-beta.25", "git" = "https://github.com/lance-format/lance.git" } -lance-core = { "version" = "=15.0.0-beta.25", "tag" = "v15.0.0-beta.25", "git" = "https://github.com/lance-format/lance.git" } -lance-datagen = { "version" = "=15.0.0-beta.25", "tag" = "v15.0.0-beta.25", "git" = "https://github.com/lance-format/lance.git" } -lance-file = { "version" = "=15.0.0-beta.25", "tag" = "v15.0.0-beta.25", "git" = "https://github.com/lance-format/lance.git" } -lance-io = { "version" = "=15.0.0-beta.25", default-features = false, "tag" = "v15.0.0-beta.25", "git" = "https://github.com/lance-format/lance.git" } -lance-index = { "version" = "=15.0.0-beta.25", "tag" = "v15.0.0-beta.25", "git" = "https://github.com/lance-format/lance.git" } -lance-jsonb = { "version" = "=15.0.0-beta.25", "tag" = "v15.0.0-beta.25", "git" = "https://github.com/lance-format/lance.git" } -lance-linalg = { "version" = "=15.0.0-beta.25", "tag" = "v15.0.0-beta.25", "git" = "https://github.com/lance-format/lance.git" } -lance-namespace = { "version" = "=15.0.0-beta.25", "tag" = "v15.0.0-beta.25", "git" = "https://github.com/lance-format/lance.git" } -lance-namespace-impls = { "version" = "=15.0.0-beta.25", default-features = false, "tag" = "v15.0.0-beta.25", "git" = "https://github.com/lance-format/lance.git" } -lance-table = { "version" = "=15.0.0-beta.25", "tag" = "v15.0.0-beta.25", "git" = "https://github.com/lance-format/lance.git" } -lance-testing = { "version" = "=15.0.0-beta.25", "tag" = "v15.0.0-beta.25", "git" = "https://github.com/lance-format/lance.git" } -lance-datafusion = { "version" = "=15.0.0-beta.25", "tag" = "v15.0.0-beta.25", "git" = "https://github.com/lance-format/lance.git" } -lance-encoding = { "version" = "=15.0.0-beta.25", "tag" = "v15.0.0-beta.25", "git" = "https://github.com/lance-format/lance.git" } -lance-arrow = { "version" = "=15.0.0-beta.25", "tag" = "v15.0.0-beta.25", "git" = "https://github.com/lance-format/lance.git" } +lance = { "version" = "=15.0.0-beta.26", default-features = false, "tag" = "v15.0.0-beta.26", "git" = "https://github.com/lance-format/lance.git" } +lance-core = { "version" = "=15.0.0-beta.26", "tag" = "v15.0.0-beta.26", "git" = "https://github.com/lance-format/lance.git" } +lance-datagen = { "version" = "=15.0.0-beta.26", "tag" = "v15.0.0-beta.26", "git" = "https://github.com/lance-format/lance.git" } +lance-file = { "version" = "=15.0.0-beta.26", "tag" = "v15.0.0-beta.26", "git" = "https://github.com/lance-format/lance.git" } +lance-io = { "version" = "=15.0.0-beta.26", default-features = false, "tag" = "v15.0.0-beta.26", "git" = "https://github.com/lance-format/lance.git" } +lance-index = { "version" = "=15.0.0-beta.26", "tag" = "v15.0.0-beta.26", "git" = "https://github.com/lance-format/lance.git" } +lance-jsonb = { "version" = "=15.0.0-beta.26", "tag" = "v15.0.0-beta.26", "git" = "https://github.com/lance-format/lance.git" } +lance-linalg = { "version" = "=15.0.0-beta.26", "tag" = "v15.0.0-beta.26", "git" = "https://github.com/lance-format/lance.git" } +lance-namespace = { "version" = "=15.0.0-beta.26", "tag" = "v15.0.0-beta.26", "git" = "https://github.com/lance-format/lance.git" } +lance-namespace-impls = { "version" = "=15.0.0-beta.26", default-features = false, "tag" = "v15.0.0-beta.26", "git" = "https://github.com/lance-format/lance.git" } +lance-table = { "version" = "=15.0.0-beta.26", "tag" = "v15.0.0-beta.26", "git" = "https://github.com/lance-format/lance.git" } +lance-testing = { "version" = "=15.0.0-beta.26", "tag" = "v15.0.0-beta.26", "git" = "https://github.com/lance-format/lance.git" } +lance-datafusion = { "version" = "=15.0.0-beta.26", "tag" = "v15.0.0-beta.26", "git" = "https://github.com/lance-format/lance.git" } +lance-encoding = { "version" = "=15.0.0-beta.26", "tag" = "v15.0.0-beta.26", "git" = "https://github.com/lance-format/lance.git" } +lance-arrow = { "version" = "=15.0.0-beta.26", "tag" = "v15.0.0-beta.26", "git" = "https://github.com/lance-format/lance.git" } lancedb = { path = "rust/lancedb", default-features = false } ahash = "0.8" anyhow = "1" diff --git a/java/pom.xml b/java/pom.xml index 06bfe4687..cd245e179 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -28,7 +28,7 @@ UTF-8 15.0.0 - 15.0.0-beta.25 + 15.0.0-beta.26 2.18.12 false 2.30.0 diff --git a/python/pyproject.toml b/python/pyproject.toml index 69130e16c..6e43633d6 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -64,7 +64,7 @@ tests = [ "polars>=0.19, <=1.32.3", "pyarrow>=16", "pyarrow-stubs>=16.0", - "pylance==15.0.0b25", + "pylance==15.0.0b26", "requests>=2.31.0", "datafusion>=54,<55", "opentelemetry-sdk>=1.30.0", diff --git a/python/src/job.rs b/python/src/job.rs index ec1f55d32..c5ce9e60b 100644 --- a/python/src/job.rs +++ b/python/src/job.rs @@ -187,7 +187,7 @@ impl Job { pub fn retry(self_: PyRef<'_, Self>) -> PyResult> { let inner = self_.inner.clone(); future_into_py(self_.py(), async move { - Ok(Job { + Ok(Self { inner: Arc::new(inner.retry().await.infer_error()?), }) }) diff --git a/python/src/table.rs b/python/src/table.rs index 63eb45c4e..c97bc6b15 100644 --- a/python/src/table.rs +++ b/python/src/table.rs @@ -2090,7 +2090,7 @@ impl Table { let inner = self_.inner_ref()?.clone(); future_into_py(self_.py(), async move { let current = inner.checkout_current().await.infer_error()?; - Ok(Table::new(current)) + Ok(Self::new(current)) }) } @@ -3256,8 +3256,8 @@ pub enum LanceVersion { impl From for DeltaRef { fn from(version: LanceVersion) -> Self { match version { - LanceVersion::Version(version) => DeltaRef::Version(version), - LanceVersion::Tag(tag) => DeltaRef::Tag(tag), + LanceVersion::Version(version) => Self::Version(version), + LanceVersion::Tag(tag) => Self::Tag(tag), } } } diff --git a/python/uv.lock b/python/uv.lock index 6b1a96c2e..b5c9fb616 100644 --- a/python/uv.lock +++ b/python/uv.lock @@ -2147,7 +2147,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.0.0b25" }, + { name = "pylance", marker = "extra == 'tests'", specifier = "==15.0.0b26" }, { 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" }, @@ -4301,24 +4301,21 @@ crypto = [ [[package]] name = "pylance" -version = "15.0.0b25" +version = "15.0.0b26" source = { registry = "https://pypi.fury.io/lance-format/" } dependencies = [ { name = "lance-namespace" }, - { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, - { name = "numpy", version = "2.4.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.11.*'" }, - { name = "numpy", version = "2.5.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12'" }, { name = "pyarrow", version = "25.0.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, { name = "pyarrow", version = "26.0.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, ] wheels = [ - { url = "https://pypi.fury.io/lance-format/-/ver_2hpc2R/pylance-15.0.0b25-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:2a0bb8d6b0c55b7a821989759fc0f8f62cb4da621f89eae232cef49bb7ef341e" }, - { url = "https://pypi.fury.io/lance-format/-/ver_4LUKQ/pylance-15.0.0b25-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9b73e6e9373c4d5af3fea51e63c3e55873f470aa1a6d0412c22916f88ff5df88" }, - { url = "https://pypi.fury.io/lance-format/-/ver_11CcHk/pylance-15.0.0b25-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8090d403b2a38cd4ac8eb09de0327bc404cb3bc965d905f2b6a8479891273fae" }, - { url = "https://pypi.fury.io/lance-format/-/ver_1S87Ih/pylance-15.0.0b25-cp310-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:7f0a20e8ed41d3e49cd5e0bbba97d18ad684cf337e053641321404c9db34f1a1" }, - { url = "https://pypi.fury.io/lance-format/-/ver_13KmLJ/pylance-15.0.0b25-cp310-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:079385a6816a10d42f57bc467d9c822c7207cd31d9a6f768bbf522c0a3007229" }, - { url = "https://pypi.fury.io/lance-format/-/ver_1bTDlQ/pylance-15.0.0b25-cp310-abi3-win_amd64.whl", hash = "sha256:d9b1d713b0d03043a3f5596e909405787f85219f54c427b14437367f0ea7acb9" }, - { url = "https://pypi.fury.io/lance-format/-/ver_j7adN/pylance-15.0.0b25-cp310-abi3-win_arm64.whl", hash = "sha256:4a1c18176ffd6a860c6e66b0deb39fcc9ac1434dba57ee66559b7638ad4a200a" }, + { url = "https://pypi.fury.io/lance-format/-/ver_2bYWOD/pylance-15.0.0b26-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:bc68ef8edeb6e29f01542f0bfaa7973978f416a8eeec344427b255dd652db13a" }, + { url = "https://pypi.fury.io/lance-format/-/ver_aF5wV/pylance-15.0.0b26-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:27d4f4c18ab682052931e70c4f5d4491288c99c69f465ed806084f40b3924367" }, + { url = "https://pypi.fury.io/lance-format/-/ver_2axp3c/pylance-15.0.0b26-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fb0b9c33f85ff9c52633488b5b696fa1a35036ae899827aceb94212a2ef746df" }, + { url = "https://pypi.fury.io/lance-format/-/ver_oCJRc/pylance-15.0.0b26-cp310-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:7c5ca0afb4988206518b1cb801bb1a1a3cc09527828ae51109b2071e549a4486" }, + { url = "https://pypi.fury.io/lance-format/-/ver_1Lg63I/pylance-15.0.0b26-cp310-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:32a986146e7b4f2e7b23974bb8718f293939f43f088e5585c38b1ae5b162d46c" }, + { url = "https://pypi.fury.io/lance-format/-/ver_FOT84/pylance-15.0.0b26-cp310-abi3-win_amd64.whl", hash = "sha256:904fd37f8212f00c1affc917b421e4ac4fc051c4c3d3c98cd7adbb33537a3ce3" }, + { url = "https://pypi.fury.io/lance-format/-/ver_A4Kru/pylance-15.0.0b26-cp310-abi3-win_arm64.whl", hash = "sha256:39dbf4b02b3bbaf916b38f1b924da2a534cdb1e32eb8e3f58fb720ef9b92331a" }, ] [[package]] diff --git a/rust/lancedb/src/job/profile.rs b/rust/lancedb/src/job/profile.rs index d8e409948..05cdd9d08 100644 --- a/rust/lancedb/src/job/profile.rs +++ b/rust/lancedb/src/job/profile.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; use crate::error::{Error, Result}; -pub(crate) fn validate_profile_id(profile_id: &str) -> Result<()> { +pub(super) fn validate_profile_id(profile_id: &str) -> Result<()> { if profile_id.is_empty() || profile_id.len() > 256 { return Err(Error::InvalidInput { message: "profile_id must contain between 1 and 256 bytes".into(),