From eb14b8a8968a119674d9d790d08dd09dd53e2f50 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Wed, 11 Mar 2026 16:33:25 +0100 Subject: [PATCH] python313Packages.swh-journal: disable some failing tests --- .../python-modules/swh-journal/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/development/python-modules/swh-journal/default.nix b/pkgs/development/python-modules/swh-journal/default.nix index e06e021615b9..a08459559606 100644 --- a/pkgs/development/python-modules/swh-journal/default.nix +++ b/pkgs/development/python-modules/swh-journal/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitLab, setuptools, @@ -45,6 +46,16 @@ buildPythonPackage rec { pytest-mock ]; + disabledTestPaths = [ + # AssertionError: assert {'author': {'email': b'', 'fullname': b'foo', 'name': b'foo'}, 'date': {'offset_bytes': b'+0200', 'timestamp': {'micro...': 1234567890}}, 'id': b'\x80Y\xdcN\x17\xfc\xd0\xe5\x1c\xa3\xbc\xd6\xb8\x0fEw\xd2\x81\xfd\x08', 'message': b'foo', ...} is None + "swh/journal/tests/test_kafka_writer.py" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + #Fatal Python error: Segmentation fault" + "swh/journal/tests/test_client.py" + "swh/journal/tests/test_pytest_plugin.py" + ]; + meta = { description = "Persistent logger of changes to the archive, with publish-subscribe support"; homepage = "https://gitlab.softwareheritage.org/swh/devel/swh-journal";