Files
lancedb/ci/cli_wheel/sdist/CLI_README.md
T
Bruno Ramirez a0ff67e13e feat(cli): publish a source distribution for lancedb-tools (#5314)
The `lancedb-tools` release contains wheels for Apple Silicon and two
Linux architectures. Users on Intel macOS have no compatible wheel, so
the Python installer has no way to install the CLI. This extends the
release workflow from #5313 to build a source distribution from the same
tag and check the source fallback before the release team approves
publication.

This was accomplished with the following changes:

- Package the tagged Rust CLI, workspace manifests, lockfile, and
licenses with a setuptools-rust binary target.
- Install by package name on a native Intel macOS runner with all four
release files available, then check that pip selected the sdist and
built a working x86-64 executable.
- Upload the tested sdist alongside the wheels and verify its published
SHA-256 digest.
2026-12-01 09:13:57 -08:00

424 B

LanceDB CLI

Install with pipx install lancedb-tools or run uvx --from lancedb-tools lancedb --help. When a compatible wheel is unavailable, the Python installer builds the native lancedb executable with Cargo. Install Rust through rustup, a C/C++ toolchain, CMake and protoc before building. On Intel macOS, use the Xcode Command Line Tools. Cargo downloads the dependencies pinned in the release's Cargo.lock.