diff --git a/pkgs/by-name/bo/borgmatic/package.nix b/pkgs/by-name/bo/borgmatic/package.nix index 917f17302cd0..31ad075a0345 100644 --- a/pkgs/by-name/bo/borgmatic/package.nix +++ b/pkgs/by-name/bo/borgmatic/package.nix @@ -15,12 +15,12 @@ }: python3Packages.buildPythonApplication rec { pname = "borgmatic"; - version = "2.1.3"; + version = "2.1.5"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-mWZQBoQUd+cwOV3QU62XyTCFdFpnBz2BsyImzVAozJE="; + hash = "sha256-T0+E6opyfr7zxfP44OlNuhqsdQyi7OdIXiE5r310LaU="; }; passthru.updateScript = nix-update-script { }; @@ -31,13 +31,19 @@ python3Packages.buildPythonApplication rec { flexmock pytestCheckHook pytest-cov-stub + pytest-timeout ] ++ optional-dependencies.apprise; # - test_borgmatic_version_matches_news_version - # The file NEWS not available on the pypi source, and this test is useless + # NEWS file not available on the pypi source + # - test_log_outputs_includes_error_output_in_exception + # TOCTOU race in log_outputs(): process.poll() returns None in + # raise_for_process_errors but non-None in the while-loop exit check, + # so the error is never raised. Timing-dependent; fails on x86_64-darwin. disabledTests = [ "test_borgmatic_version_matches_news_version" + "test_log_outputs_includes_error_output_in_exception" ]; nativeBuildInputs = [ installShellFiles ];