Skip to content

Commit d664b97

Browse files
authored
fix version id problem by providing metadata.version.provider for scikit-build in pyproject.toml (#436)
1 parent b89bd74 commit d664b97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
local_scheme = "no-local-version"
33
version_scheme = "post-release"
44

5+
[tool.scikit-build]
6+
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
7+
58
[build-system]
69
requires = ["scikit-build-core >=0.4.3", "nanobind >=1.3.2", "setuptools-scm==8.3.1"]
710
build-backend = "scikit_build_core.build"

0 commit comments

Comments
 (0)