Skip to content

Commit 3547e7f

Browse files
zhmiaoCopilot
andcommitted
chore(sparrow-engine-python): bump 0.1.4 -> 0.1.5 for __version__ + README uv-venv fix
First prod-PyPI release carrying the two doc/API gap fixes that landed in PW d25ca35: - sparrow_engine.__version__ — single-sourced from wheel METADATA via importlib.metadata, tries 'sparrow-engine-gpu' first then 'sparrow-engine', fallback 'unknown'. Adds the conventional Python introspection knob that was missing through 0.1.4. - README §Python package only (PyPI) — split into 'With uv (recommended)' + 'With stdlib venv' subsections to fix the silent fall-through-to- system-pip failure when users follow the bare 'pip install ...' line inside a fresh uv venv (which doesn't ship pip). 0.1.4 wheels remain on prod PyPI as the last release without the __version__ attribute. End-of-life behavior: importlib.metadata.version keeps working as a fallback on 0.1.4; the attribute is purely additive. Verified locally: built sparrow_engine-0.1.5-cp311-abi3 wheel, installed into a fresh uv venv, 'import sparrow_engine; sparrow_engine.__version__' returns '0.1.5'. Tag v0.1.5 will fire the prod-PyPI publish CI (publish-pypi-cpu + publish-pypi-gpu jobs, gated on non-prerelease tag push per .github/workflows/release.yml:361 + :411). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d25ca35 commit 3547e7f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

sparrow-engine/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sparrow-engine/sparrow-engine-python/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sparrow-engine-python"
3-
version = "0.1.4"
3+
version = "0.1.5"
44
edition = "2021"
55
description = "PyO3 bindings for sparrow-engine (CPU or GPU pipeline) — camera trap ML inference"
66

sparrow-engine/sparrow-engine-python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ build-backend = "maturin"
2626

2727
[project]
2828
name = "sparrow-engine"
29-
version = "0.1.4"
29+
version = "0.1.5"
3030
description = "Camera-trap ML inference engine — Python bindings (sparrow-engine CPU pipeline)"
3131
requires-python = ">=3.11"
3232
# Floor bumped 3.10 → 3.11 (2026-05-07): onnxruntime / onnxruntime-gpu

0 commit comments

Comments
 (0)