python313Packages.swh-shard: disable some tests on Darwin
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user