Bump to 0.0.4 - #31
Merged
Merged
Conversation
First release since 0.0.3, and not a documentation-only one. It adds the EoMT-DINOv3 panoptic family, `Result.draw()` visualization in viz.py, and changes to the DA3, RF-DETR, and SAM 3.1 paths. It also removes `mlx_cv.parity` from the wheel. That tooling now lives in tools/, where it belongs: it exists to compare against upstream reference checkouts, which are not something a runtime dependency should carry. Any caller importing `mlx_cv.parity` breaks on upgrade. Two version literals stop being literals: - `tests/test_version.py` asserted `__version__ == "0.0.3"`, which only ever proved that someone had edited that file. It now compares `__version__` against the installed distribution metadata, so it catches the real failure — a release that bumps pyproject.toml and forgets __init__.py, or the reverse. - `convert_locateanything_checkpoint.py` defaulted `--converter-version` to a hard-coded `mlx-cv-0.0.3`. That string is stamped into checkpoint provenance metadata, so every conversion run after a release quietly mislabelled itself. It reads `__version__` now. The Hugging Face model cards move their pinned install to 0.0.4. Those cards only reach the Hub through `tools/huggingface_release.py upload`, which is manual and needs the weights present, so the published cards stay on 0.0.3 until someone runs it. The 0.0.3 strings left under .agent/work/ are historical release records and stay as written. Verified in a clean venv: distribution metadata and `__version__` both report 0.0.4 and agree, test_version.py passes, and the converter stamps `mlx-cv-0.0.4`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First release since 0.0.3, and not a documentation-only one.
What is in it
Added
viz.py—Result.draw()for boxes, masks, points, keypoints, tracks, and depthRemoved — breaking
mlx_cv.parityis gone from the wheel. That tooling now lives intools/, where it belongs: it exists to compare against upstream reference checkouts, which is not something a runtime dependency should carry. Any caller importingmlx_cv.paritybreaks on upgrade. Acceptable at 0.0.x, but it should be stated rather than discovered.Two version literals stop being literals
tests/test_version.pyasserted__version__ == "0.0.3". That only ever proved someone had edited that file — it could not catch the failure that actually happens, which is bumpingpyproject.tomland forgetting__init__.py, or the reverse. It now compares__version__against the installed distribution metadata.convert_locateanything_checkpoint.pydefaulted--converter-versionto a hard-codedmlx-cv-0.0.3. That string is stamped into checkpoint provenance metadata, so every conversion run after a release quietly mislabelled itself. It reads__version__now.Caveats worth stating
0.0.4, but those cards only reach the Hub throughtools/huggingface_release.py upload, which is manual and needs the weights present. The published cards stay on 0.0.3 until someone runs it.0.0.3strings under.agent/work/are historical release records and stay as written.[tool.hatch.version]could makepyproject.tomlread it from__init__.pyand leave one source of truth, but that changes build-backend behaviour and does not belong in the commit that cuts a release. The new test guards the gap in the meantime.Verification
In a clean venv, outside the repo:
__version__both report0.0.4and agreetest_version.pypassesmlx-cv-0.0.4Publishing runs on the newly pinned
workflow.yml(#30), whose YAML was parsed locally — it never runs on a pull request, so no CI check covers it.