python-bench: lift dependency on hatchling

This commit is contained in:
Hendrik Sokolowski 2024-09-19 13:00:27 +02:00
parent c6cf41f94b
commit d5495fa24a
Signed by: hensoko
GPG key ID: 5C36A01B80BCCC59

View file

@ -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