From c69ba34d4aa46bd3a4c749d6836411949ac3e8cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kr=C3=B6ger?= Date: Fri, 11 Sep 2026 10:23:25 +0200 Subject: [PATCH] Disable strict check for higher version Setting validate-bump to false allows us to use hatch version command to build versions even if they do not pass the strict version check (is it a higher version ?) which is handy for development versions. --- packages/adminapi/pyproject.toml | 3 +++ packages/serveradmin/pyproject.toml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/packages/adminapi/pyproject.toml b/packages/adminapi/pyproject.toml index 4d53f2f2..e823c31a 100644 --- a/packages/adminapi/pyproject.toml +++ b/packages/adminapi/pyproject.toml @@ -24,6 +24,9 @@ build-backend = "hatchling.build" [tool.hatch.version] path = "adminapi/__init__.py" +# This allows us to build dev versions on branches where the higher version +# check might fail. +validate-bump = false [tool.hatch.build.targets.wheel] packages = ["adminapi"] diff --git a/packages/serveradmin/pyproject.toml b/packages/serveradmin/pyproject.toml index 23920ffa..c7262080 100644 --- a/packages/serveradmin/pyproject.toml +++ b/packages/serveradmin/pyproject.toml @@ -34,6 +34,9 @@ build-backend = "hatchling.build" [tool.hatch.version] path = "serveradmin/__init__.py" +# This allows us to build dev versions on branches where the higher version +# check might fail. +validate-bump = false [tool.hatch.build] exclude = ["serveradmin/local_settings.py"]