From 48a6b7629930350443427dfdfd8ffb62b59b955c Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen Date: Thu, 28 Apr 2022 12:17:45 +0300 Subject: [PATCH] build: Pin hatchling version Building a specific release with specific build tools feels like correct choice for reproducibility in general. It's also practically required as the hatchling version is embedded in the WHEEL file: this means updating the build tool modifies the resulting build artifact. Pin hatchling version. This version should be kept up-to-date: my working assumption is that Dependabot will handle it. Signed-off-by: Jussi Kukkonen --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 73035928b1..32b36787f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ -# Build-system section [build-system] -requires = ["hatchling>=0.21.0"] +# hatchling pinned for reproducibility: version should be kept up-to-date +requires = ["hatchling==0.22.0"] build-backend = "hatchling.build" [project]