diff --git a/pkgs/development/python-modules/celery/default.nix b/pkgs/development/python-modules/celery/default.nix index 2d76c8c237c3..bb9aae785f0e 100644 --- a/pkgs/development/python-modules/celery/default.nix +++ b/pkgs/development/python-modules/celery/default.nix @@ -197,6 +197,10 @@ buildPythonPackage (finalAttrs: { # Flaky: Unclosed temporary file handle under heavy load (as in nixpkgs-review) "test_check_privileges_without_c_force_root_and_no_group_entry" ] + ++ lib.optionals (lib.versionAtLeast django.version "6.0") [ + "test_is_pickled" + "test_cleanup" + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Too many open files on hydra "test_cleanup"