mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-22 21:09:58 +00:00
This PR changes the release process. Some parts are more complex, and other parts I've simplified. ## Simplifications * Combined `Create Release Commit` and `Create Python Release Commit` into a single workflow. By default, it does a release of all packages, but you can still choose to make just a Python or just Node/Rust release through the arguments. This will make it rarer that we create a Node release but forget about Python or vice-versa. * Releases are automatically generated once a tag is pushed. This eliminates the manual step of creating the release. * Release notes are automatically generated and changes are categorized based on the PR labels. * Removed the use of `LANCEDB_RELEASE_TOKEN` in favor of just using `GITHUB_TOKEN` where it wasn't necessary. In the one place it is necessary, I left a comment as to why it is. * Reused the version in `python/Cargo.toml` so we don't have two different versions in Python LanceDB. ## New changes * We now can create `preview` / `beta` releases. By default `Create Release Commit` will create a preview release, but you can select a "stable" release type and it will create a full stable release. * For Python, pre-releases go to fury.io instead of PyPI * `bump2version` was deprecated, so upgraded to `bump-my-version`. This also seems to better support semantic versioning with pre-releases. * `ci` changes will now be shown in the changelog, allowing changes like this to be visible to users. `chore` is still hidden. ## Versioning **NOTE**: unlike how it is in lance repo right now, the version in main is the last one released, including beta versions. --------- Co-authored-by: Lance Release <lance-dev@lancedb.com> Co-authored-by: Weston Pace <weston.pace@gmail.com>
37 lines
973 B
TOML
37 lines
973 B
TOML
[package]
|
|
name = "lancedb-python"
|
|
version = "0.6.13"
|
|
edition.workspace = true
|
|
description = "Python bindings for LanceDB"
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
keywords.workspace = true
|
|
categories.workspace = true
|
|
rust-version = "1.75.0"
|
|
|
|
[lib]
|
|
name = "_lancedb"
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
arrow = { version = "51.0.0", features = ["pyarrow"] }
|
|
lancedb = { path = "../rust/lancedb" }
|
|
env_logger = "0.10"
|
|
pyo3 = { version = "0.20", features = ["extension-module", "abi3-py38"] }
|
|
pyo3-asyncio = { version = "0.20", features = ["attributes", "tokio-runtime"] }
|
|
|
|
# Prevent dynamic linking of lzma, which comes from datafusion
|
|
lzma-sys = { version = "*", features = ["static"] }
|
|
pin-project = "1.1.5"
|
|
futures.workspace = true
|
|
tokio = { version = "1.36.0", features = ["sync"] }
|
|
|
|
[build-dependencies]
|
|
pyo3-build-config = { version = "0.20.3", features = [
|
|
"extension-module",
|
|
"abi3-py38",
|
|
] }
|
|
|
|
[features]
|
|
fp16kernels = ["lancedb/fp16kernels"]
|