diff --git a/pkgs/development/tools/backblaze-b2/default.nix b/pkgs/development/tools/backblaze-b2/default.nix index 6df8edd02c96..d6b94391e6cb 100644 --- a/pkgs/development/tools/backblaze-b2/default.nix +++ b/pkgs/development/tools/backblaze-b2/default.nix @@ -2,17 +2,17 @@ python3Packages.buildPythonApplication rec { pname = "backblaze-b2"; - version = "3.2.0"; + version = "3.5.0"; src = python3Packages.fetchPypi { inherit version; pname = "b2"; - sha256 = "sha256-dE4eLTNU6O0DscwN8+m1UaG46dbI0DiWzeJK49GUvKA="; + sha256 = "sha256-vyqExulsV0wDijLotPO3RAOk9o4ne0Vq74KJKhSBrvo="; }; postPatch = '' substituteInPlace requirements.txt \ - --replace 'docutils==0.16' 'docutils' + --replace 'tabulate==0.8.10' 'tabulate' substituteInPlace setup.py \ --replace 'setuptools_scm<6.0' 'setuptools_scm' ''; @@ -27,18 +27,27 @@ python3Packages.buildPythonApplication rec { setuptools docutils rst2ansi + tabulate ]; checkInputs = with python3Packages; [ + backoff pytestCheckHook ]; + preCheck = '' + export HOME=$(mktemp -d) + ''; + disabledTests = [ # require network "test_files_headers" - "test_copy_file_by_id" "test_integration" - "test_get_account_info" + ]; + + disabledTestPaths = [ + # requires network + "test/integration/test_b2_command_line.py" ]; postInstall = ''