aports/testing/kubesplit/hatch-vcs.patch
2026-04-11 19:43:01 +00:00

16 lines
492 B
Diff

# Use vcs plugin instead of versioningit for hatch version. Not only is the former packaged for Alpine, it allows
# overriding the version using the SETUPTOOLS_SCM_PRETEND_VERSION variable instead of needing to manually patch a file.
diff --git i/pyproject.toml w/pyproject.toml
index ebf3f1a..6af71c3 100644
--- i/pyproject.toml
+++ w/pyproject.toml
@@ -53,7 +53,7 @@ dev = [
]
[tool.hatch.version]
-source = "versioningit"
+source = "vcs"
[tool.hatch.build.targets.wheel]
include = [