From ad64babf5395ec8dcff7d3281fb7fa0ff29b260e Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Tue, 14 Apr 2026 15:11:50 +0800 Subject: [PATCH] Prepare 0.1.0b1 release --- README.md | 11 +++++++++-- backends/cuvs_26_02/Cargo.lock | 2 +- backends/cuvs_26_02/Cargo.toml | 2 +- backends/cuvs_26_02/pyproject.toml | 4 ++-- pyproject.toml | 11 ++--------- uv.lock | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index bea266c..4ce6ec8 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ `pylance-cuvs` provides cuVS-backed IVF_PQ training and artifact building for Lance datasets. +The current release line is `0.1.0b1`. + It covers one narrow part of the indexing pipeline: 1. Train an IVF_PQ model with cuVS. @@ -18,7 +20,8 @@ It does **not** create or register a Lance index on your behalf. - CUDA 12 runtime available on the machine - cuVS runtime `libcuvs-cu12==26.2.0` - A matching backend package: `pylance-cuvs-cu12` -- A Lance build that includes the vector-build APIs used by this project +- A Lance build at commit `6112a34bfe38618f07c099217dc3d89fd39ca6bb` + or a descendant that preserves the same vector-build APIs ## Installation @@ -29,7 +32,7 @@ same Python environment: - `pylance-cuvs-cu12` - `libcuvs-cu12==26.2.0` -Published releases are wheel-only. Source builds are not supported. +Published beta releases are wheel-only. Source distributions are not supported. If you are working from this repository, the shortest local setup is: @@ -38,6 +41,10 @@ just sync-dev just backend-develop ``` +For Lance-side integration, pin Lance to commit +`6112a34bfe38618f07c099217dc3d89fd39ca6bb` first, then validate against this +beta. + The loader chooses the backend from the installed cuVS runtime package. You can override detection when needed: diff --git a/backends/cuvs_26_02/Cargo.lock b/backends/cuvs_26_02/Cargo.lock index 433e3f2..f848f6b 100644 --- a/backends/cuvs_26_02/Cargo.lock +++ b/backends/cuvs_26_02/Cargo.lock @@ -4639,7 +4639,7 @@ dependencies = [ [[package]] name = "pylance-cuvs-cu12" -version = "0.1.0" +version = "0.1.0-beta.1" dependencies = [ "arrow", "arrow-array", diff --git a/backends/cuvs_26_02/Cargo.toml b/backends/cuvs_26_02/Cargo.toml index f969d86..69f7c67 100644 --- a/backends/cuvs_26_02/Cargo.toml +++ b/backends/cuvs_26_02/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pylance-cuvs-cu12" -version = "0.1.0" +version = "0.1.0-beta.1" edition = "2024" authors = ["Lance Devs "] license = "Apache-2.0" diff --git a/backends/cuvs_26_02/pyproject.toml b/backends/cuvs_26_02/pyproject.toml index e596d19..b7f15d3 100644 --- a/backends/cuvs_26_02/pyproject.toml +++ b/backends/cuvs_26_02/pyproject.toml @@ -1,13 +1,13 @@ [project] name = "pylance-cuvs-cu12" -version = "0.1.0" +version = "0.1.0b1" description = "CUDA 12 runtime backend for pylance-cuvs" authors = [{ name = "Lance Devs", email = "dev@lance.org" }] license = { text = "Apache-2.0" } requires-python = ">=3.12" dependencies = ["pyarrow>=14"] classifiers = [ - "Development Status :: 3 - Alpha", + "Development Status :: 4 - Beta", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Programming Language :: Rust", diff --git a/pyproject.toml b/pyproject.toml index 9f97121..f46f772 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pylance-cuvs" -version = "0.1.0" +version = "0.1.0b1" description = "Version-dispatched cuVS backend loader for Lance" authors = [{ name = "Lance Devs", email = "dev@lance.org" }] license = { file = "LICENSE" } @@ -8,7 +8,7 @@ readme = "README.md" requires-python = ">=3.12" dependencies = ["pyarrow>=14"] classifiers = [ - "Development Status :: 3 - Alpha", + "Development Status :: 4 - Beta", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", ] @@ -29,12 +29,5 @@ dev = [ [tool.hatch.build.targets.wheel] packages = ["python/lance_cuvs"] -[tool.hatch.build.targets.sdist] -include = [ - "python/lance_cuvs", - "README.md", - "LICENSE", -] - [tool.pytest.ini_options] markers = ["gpu: tests that require a CUDA-capable GPU"] diff --git a/uv.lock b/uv.lock index 828cba4..15c8f8c 100644 --- a/uv.lock +++ b/uv.lock @@ -454,7 +454,7 @@ wheels = [ [[package]] name = "pylance-cuvs" -version = "0.1.0" +version = "0.1.0b1" source = { editable = "." } dependencies = [ { name = "pyarrow" },