Files
lancedb/ci/cli_wheel/sdist/pyproject.toml
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

27 lines
669 B
TOML

[build-system]
requires = ["setuptools>=68", "setuptools-rust>=1.9"]
build-backend = "setuptools.build_meta"
[project]
name = "lancedb-tools"
dynamic = ["version"]
description = "Command-line client for LanceDB SQL, profiles, and authentication"
requires-python = ">=3.8"
license = {text = "Apache-2.0"}
readme = "CLI_README.md"
[project.urls]
Source = "https://github.com/lancedb/lancedb"
[tool.setuptools]
packages = []
license-files = ["LICENSE", "RUST_THIRD_PARTY_LICENSES.html"]
[tool.setuptools.dynamic]
version = {file = "CLI_VERSION"}
[[tool.setuptools-rust.bins]]
target = "lancedb"
path = "rust/lancedb/cli/Cargo.toml"
cargo-manifest-args = ["--locked"]