Skip to content

feat: use setuptools_scm for dynamic versioning#75

Open
jo-mueller wants to merge 1 commit into
clbarnes:mainfrom
jo-mueller:swap-build-backend
Open

feat: use setuptools_scm for dynamic versioning#75
jo-mueller wants to merge 1 commit into
clbarnes:mainfrom
jo-mueller:swap-build-backend

Conversation

@jo-mueller

@jo-mueller jo-mueller commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

@clbarnes bumping the version is probably a bit annoying over time, plus it's nice if a package declares its own version under, say transformn.__version__. Setuptools_scm does this automatically on release. It grabs the git tag when you publish and builds a _version.py for you.

The uv build currently doesn't support dynamic versioning yet.

And I'm suspecting that the failing tests over at ome/ome-zarr-py#583 may be related to this issue.

@clbarnes

Copy link
Copy Markdown
Owner

I have a preference not to use setuptools-scm; I much prefer being able to use uv version --bump to increment the versions. I have a just recipe which bumps, updates the changelog, and tags all in one go which I'm pretty happy with. Could you go into more detail about the failure you're seeing which might be caused by this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants