Sync CLI version reporting with package release#6857
Sync CLI version reporting with package release#6857skeehn wants to merge 2 commits intochroma-core:mainfrom
Conversation
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
|
Align This PR fixes CLI version drift by updating It also updates This summary was automatically generated by @propel-code-bot |
Problem
The Rust CLI had drifted from the Python package release version.
chromadb/__init__.pyreports1.5.7, but the CLI crate and clap metadata still reported1.4.3.That means
chroma --versioncan misreport the release version, which is confusing for users, support, and release verification.Fix
rust/cli/Cargo.tomlto1.5.7rust/cli/src/lib.rsto use the crate version instead of a hardcoded stringRELEASE_PROCESS.mdso releases bump both the Python package version and the CLI crate versionCargo.lockso thechroma-clipackage entry matches the crate versionWhy this is safe
This PR only changes version/reporting and release documentation. It does not change DB, query, persistence, or storage behavior.
Verification
PYTHONPATH=$PWD ./.venv/bin/chroma --versionprintschroma 1.5.7PYTHONPATH=$PWD ./.venv/bin/pytest chromadb/test/test_client.py::test_ephemeral_client chromadb/test/test_client.py::test_persistent_client_context_manager chromadb/test/test_cli.py::test_app -q->3 passed in 7.35sPYTHONPATH=$PWD ./.venv/bin/pytest chromadb/test/test_client.py::test_persistent_client chromadb/test/test_client.py::test_persistent_client_close chromadb/test/test_client.py::test_persistent_client_context_manager chromadb/test/test_client.py::test_ephemeral_client_close chromadb/test/test_client.py::test_ephemeral_client_context_manager -q->5 passed in 0.97sPersistentClientrun with deterministic embeddings: create/add/query/count passed and persisted data survived reopenchroma run --host 127.0.0.1 --path /tmp/chroma-manual-http --port 8013+HttpClientrun: heartbeat, create, add, query, and count passed3and the same nearest neighborscargo check -p chroma-clipassed on the pinned Rust1.92.0toolchain in1m 46sNotes
I also tried a broader
chromadb/test/test_api.pyslice, but that local invocation failed in fixture setup (fastapi,sqlite_fixture, etc. missing), which appears to be a harness-selection issue rather than a regression from this change.