Change:
Steps to reproduce the behavior: on <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. -- I don't have a machine, the failure is discovered by ofborg. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Closed by
No, that fixes runtime issue . Darwin still has failing tests

Discussion:
buildPythonPackage rec { pname = "b2sdk"; <del> version = "1.32.0"; </del> <ins> version = "1.33.0"; </ins> pyproject = true; disabled = pythonOlder "3.7";

owner = "Backblaze"; repo = "b2-sdk-python"; rev = "refs/tags/v${version}"; <del> hash = "sha256-xBLMvH51zbrSuBOtMxLeQJt7Wv31OcxBbD72EuLHzuU="; </del> <ins> hash = "sha256-eMFgsjEb0DMTLqG+8IZru1dEAuKZW4dEszrznZxR+mc="; </ins> }; nativeBuildInputs = [

<del> { lib, python3Packages, fetchPypi, installShellFiles, testers, backblaze-b2 </del> <ins> { lib , python3Packages , fetchFromGitHub , installShellFiles , testers , backblaze-b2 </ins> # executable is renamed to backblaze-b2 by default, to avoid collision with boost's 'b2' , execName ? "backblaze-b2" }: python3Packages.buildPythonApplication rec { pname = "backblaze-b2"; <del> version = "3.15.0"; format = "setuptools"; </del> <ins> version = "3.17.0"; format = "pyproject"; </ins> <del> src = fetchPypi { inherit version; pname = "b2"; hash = "sha256-10c2zddALy7+CGxhjUC6tMLQcZ3WmLeRY1bNKWunAys="; </del> <ins> src = fetchFromGitHub { owner = "Backblaze"; repo = "B2_Command_Line_Tool"; rev = "v${version}"; hash = "sha256-Xj7RNe6XM2atijhVasILWRdTzu6xuKBzMllM1z1mFLY="; </ins> }; <del> postPatch = '' substituteInPlace requirements.txt  --replace 'phx-class-registry==4.0.5' 'phx-class-registry' substituteInPlace requirements.txt  --replace 'tabulate==0.8.10' 'tabulate' substituteInPlace setup.py  --replace 'setuptools_scm<6.0' 'setuptools_scm' ''; </del> nativeBuildInputs = [ installShellFiles <del> python3Packages.setuptools-scm ]; </del> <ins> ] ++ (with python3Packages; [ pdm-backend ]); </ins> propagatedBuildInputs = with python3Packages; [ argcomplete

backoff more-itertools pexpect <del> # backblaze-b2 requires pytest 7 to complete tests. (pytestCheckHook.override { pytest = pytest_7; }) </del> <ins> pytestCheckHook pytest-xdist </ins> ]; preCheck = '' export HOME=$(mktemp -d) ''; <del> disabledTests = [ # require network "test_files_headers" "test_integration" # fixed by https://github.com/Backblaze/B2_Command_Line_Tool/pull/915 "TestRmConsoleTool" ]; </del> disabledTestPaths = [ # requires network "test/integration/test_b2_command_line.py" <ins> "test/integration/test_tqdm_closer.py" </ins> # it's hard to make it work on nix "test/integration/test_autocomplete.py" <del> "test/unit/console_tool" </del> <ins> "test/unit/test_console_tool.py" # this one causes successive tests to fail "test/unit/_cli/test_autocomplete_cache.py" </ins> ]; postInstall = lib.optionalString (execName != "b2") ''

}).overrideAttrs (old: { # workaround the error: Permission denied: '/homeless-shelter' # backblaze-b2 fails to create a 'b2' directory under the XDG config path <del> HOME = "$(mktemp -d)"; </del> <ins> preHook = '' export HOME=$(mktemp -d) ''; </ins> }); meta = with lib; {