From ae4d9b86ab7a30e17ea9f870988607271812f67e Mon Sep 17 00:00:00 2001 From: S1ro1 Date: Thu, 21 May 2026 23:26:31 +0530 Subject: [PATCH] Fix VCS versioning after dev tags --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index bc92c4b..c89fcef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,10 @@ tag-pattern = '^renderers-v(?P.+)$' # only fires when the resolver has nothing to go on. fallback-version = "0.0.0" +[tool.hatch.version.raw-options] +# Dev release tags cannot be advanced by the default guess-next-dev scheme. +version_scheme = "semver-pep440" + [tool.hatch.build.hooks.vcs] # Write the resolved version to a Python file so it can be inspected # at runtime via ``renderers.__version__`` without re-parsing the