From 0a7148859b533621df3f07b583af8da65083950e Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 17 May 2025 21:28:39 +0200 Subject: [PATCH] memray: cleanup, unskip working tests --- pkgs/by-name/me/memray/package.nix | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/pkgs/by-name/me/memray/package.nix b/pkgs/by-name/me/memray/package.nix index c97d0a233013..b2a1bc80d454 100644 --- a/pkgs/by-name/me/memray/package.nix +++ b/pkgs/by-name/me/memray/package.nix @@ -28,9 +28,9 @@ python3Packages.buildPythonApplication rec { nativeBuildInputs = [ pkg-config ]; buildInputs = [ + elfutils # for `-ldebuginfod` libunwind lz4 - elfutils # for `-ldebuginfod` ] ++ (with python3Packages; [ cython ]); dependencies = with python3Packages; [ @@ -63,19 +63,14 @@ python3Packages.buildPythonApplication rec { disabledTestPaths = [ # Very time-consuming and some tests fails (performance-related?) "tests/integration/test_main.py" - - # AssertionError since textual was updated to 3.1.0 - # https://github.com/bloomberg/memray/issues/750 - "tests/unit/test_tree_reporter.py" - "tests/unit/test_tui_reporter.py" ]; - meta = with lib; { + meta = { description = "Memory profiler for Python"; homepage = "https://bloomberg.github.io/memray/"; - changelog = "https://github.com/bloomberg/memray/releases/tag/${src.tag}"; - license = licenses.asl20; - maintainers = with maintainers; [ fab ]; - platforms = platforms.linux; + changelog = "https://github.com/bloomberg/memray/releases/tag/v${src.tag}"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ fab ]; + platforms = lib.platforms.linux; }; }