diff --git a/pkgs/development/python-modules/swh-shard/default.nix b/pkgs/development/python-modules/swh-shard/default.nix index a07c344b04a2..37e67ce539c9 100644 --- a/pkgs/development/python-modules/swh-shard/default.nix +++ b/pkgs/development/python-modules/swh-shard/default.nix @@ -1,4 +1,5 @@ { + stdenv, buildPythonPackage, click, cmake, @@ -62,6 +63,18 @@ buildPythonPackage rec { rm src/swh/shard/*.py ''; + disabledTests = [ + "test_setup_log_handler_with_env_configuration" + ] + ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ + # assert (51675136 - 51396608) < (100 * 1024) + "test_memleak" + # ValueError: Cannot convert negative int + "test_write_above_rlimit_fsize" + # ValueError: Cannot convert negative int + "test_finalize_above_rlimit_fsize" + ]; + meta = { changelog = "https://gitlab.softwareheritage.org/swh/devel/swh-shard/-/tags/v2.2.0"; description = "Shard File Format for the Software Heritage Object Storage";