Skip to content

Source version from git tags via setuptools-scm#10

Open
fpedd wants to merge 1 commit into
mainfrom
feat/setuptools-scm-versioning
Open

Source version from git tags via setuptools-scm#10
fpedd wants to merge 1 commit into
mainfrom
feat/setuptools-scm-versioning

Conversation

@fpedd
Copy link
Copy Markdown
Owner

@fpedd fpedd commented May 9, 2026

Eliminates the dual-update workflow where pyproject.toml and CMakeLists.txt had to be edited together for every release. The version now flows from git tag vX.Y.Z through setuptools-scm and scikit-build-core into CMake via SKBUILD_PROJECT_VERSION, so both the Python package metadata and CMake's PROJECT_VERSION read the same value. Between releases, builds get a PEP 440 dev version automatically (e.g. 0.3.0.post1.dev0+gHASH).

Eliminates the dual-update workflow where pyproject.toml and
CMakeLists.txt had to be edited together for every release. The version
now flows from `git tag vX.Y.Z` through setuptools-scm and
scikit-build-core into CMake via SKBUILD_PROJECT_VERSION, so both the
Python package metadata and CMake's PROJECT_VERSION read the same
value. Between releases, builds get a PEP 440 dev version
automatically (e.g. 0.3.0.post1.dev0+gHASH).
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.

1 participant