diff --git a/pkgs/development/python-modules/timezonefinder/default.nix b/pkgs/development/python-modules/timezonefinder/default.nix index e91cb13e361f..1a6d03167365 100644 --- a/pkgs/development/python-modules/timezonefinder/default.nix +++ b/pkgs/development/python-modules/timezonefinder/default.nix @@ -14,16 +14,16 @@ buildPythonPackage rec { pname = "timezonefinder"; - version = "6.5.7"; + version = "6.5.9"; pyproject = true; - disabled = pythonOlder "3.9"; + disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "jannikmi"; repo = "timezonefinder"; tag = version; - hash = "sha256-Jo3sOFbmy+NKPL0+21rZQUXIC9WpVT1D3X2sxTC89jY="; + hash = "sha256-LkGDR8nSGfRiBxSXugauGhe3+8RsLRPWU3oE+1c5iCk="; }; build-system = [ @@ -46,6 +46,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "timezonefinder" ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-warn '"poetry-core>=1.0.0,<2.0.0"' '"poetry-core>=1.0.0"' + ''; + preCheck = '' # Some tests need the CLI on the PATH export PATH=$out/bin:$PATH