diff --git a/pkgs/development/python-modules/fs/default.nix b/pkgs/development/python-modules/fs/default.nix index 77aee7a3bdfe..1f784a06e2ea 100644 --- a/pkgs/development/python-modules/fs/default.nix +++ b/pkgs/development/python-modules/fs/default.nix @@ -47,6 +47,10 @@ buildPythonPackage rec { "user_data_repr" ] ++ lib.optionals (stdenv.isDarwin) [ # remove if https://github.com/PyFilesystem/pyfilesystem2/issues/430#issue-707878112 resolved "test_ftpfs" + ] ++ lib.optionals (pythonAtLeast "3.9") [ + # update friend version of this commit: https://github.com/PyFilesystem/pyfilesystem2/commit/3e02968ce7da7099dd19167815c5628293e00040 + # merged into master, able to be removed after >2.4.1 + "test_copy_sendfile" ]; __darwinAllowLocalNetworking = true;