diff --git a/pkgs/development/python-modules/aioboto3/default.nix b/pkgs/development/python-modules/aioboto3/default.nix index fd1422b8fbb9..38aa46b44f53 100644 --- a/pkgs/development/python-modules/aioboto3/default.nix +++ b/pkgs/development/python-modules/aioboto3/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, @@ -67,6 +68,13 @@ buildPythonPackage (finalAttrs: { disabledTests = [ "test_patches" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + # Flaky: PermissionError: [Errno 13] Permission denied: '/tmp/somefile' + "test_s3_copy" + "test_s3_copy_multipart" + "test_s3_download_file_404" + "test_s3_upload_file" ]; pythonImportsCheck = [ "aioboto3" ];