memray: cleanup, unskip working tests

This commit is contained in:
Gaetan Lepage 2025-05-17 21:28:39 +02:00
parent 4279efea7c
commit 0a7148859b

View file

@ -28,9 +28,9 @@ python3Packages.buildPythonApplication rec {
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildInputs = [
elfutils # for `-ldebuginfod`
libunwind libunwind
lz4 lz4
elfutils # for `-ldebuginfod`
] ++ (with python3Packages; [ cython ]); ] ++ (with python3Packages; [ cython ]);
dependencies = with python3Packages; [ dependencies = with python3Packages; [
@ -63,19 +63,14 @@ python3Packages.buildPythonApplication rec {
disabledTestPaths = [ disabledTestPaths = [
# Very time-consuming and some tests fails (performance-related?) # Very time-consuming and some tests fails (performance-related?)
"tests/integration/test_main.py" "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"; description = "Memory profiler for Python";
homepage = "https://bloomberg.github.io/memray/"; homepage = "https://bloomberg.github.io/memray/";
changelog = "https://github.com/bloomberg/memray/releases/tag/${src.tag}"; changelog = "https://github.com/bloomberg/memray/releases/tag/v${src.tag}";
license = licenses.asl20; license = lib.licenses.asl20;
maintainers = with maintainers; [ fab ]; maintainers = with lib.maintainers; [ fab ];
platforms = platforms.linux; platforms = lib.platforms.linux;
}; };
} }