From 6ddff977fb447d64ff3d3a9dbf3bdf9e0466e3a9 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Fri, 10 Jul 2026 01:11:16 +0200 Subject: [PATCH] Chore: Fix packaging for dynamic installs from Git repository --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6ce1f65..b638819 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -241,7 +241,9 @@ describe-subst = "$Format:%(describe:tags,match=v*)$" # Emit PyPI-compatible "dirty" version strings. `+` characters are unsuitable, because # they would designate local version identifiers, which do not upload to PyPI. # https://packaging.python.org/en/latest/specifications/version-specifiers/#local-version-identifiers -distance = "{base_version}.post{build_date:%Y%m%d%H%M%S}" +# distance = "{base_version}.post{build_date:%Y%m%d%H%M%S}" +# Package metadata version `0.1.1.post20260709230853` does not match `0.1.1.post20260709230854` from the wheel filename +distance = "{base_version}.post{build_date:%Y%m%d%H%M}" # =================== # Tasks configuration