From d5495fa24ad916497060023a61f2235876b97452 Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Thu, 19 Sep 2024 13:00:27 +0200 Subject: [PATCH] python-bench: lift dependency on hatchling --- python/bench.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/bench.nix b/python/bench.nix index ad4e484..ff236f7 100644 --- a/python/bench.nix +++ b/python/bench.nix @@ -32,9 +32,12 @@ buildPythonPackage rec { }; format = "pyproject"; + postPatch = '' + substituteInPlace pyproject.toml --replace-fail 'hatchling>=1.6.0,<=1.21.0' 'hatchling<=1.24.2' + ''; nativeBuildInputs = [ pythonRelaxDepsHook ]; - pythonRelaxDeps = [ "jinja2" "python-crontab" "semantic-version" "hatchling" ]; + pythonRelaxDeps = [ "jinja2" "python-crontab" "semantic-version" ]; buildInputs = [ hatchling