From d889ccb73fec797643c69ba613a148102b4548ea Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 16 Oct 2025 13:44:16 -0700 Subject: [PATCH] python3Packages.holistic-trace-analysis: disable test that fails on Darwin with Python 3.12 --- .../python-modules/holistic-trace-analysis/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/holistic-trace-analysis/default.nix b/pkgs/development/python-modules/holistic-trace-analysis/default.nix index 04f13a487af6..147bccbb1bc3 100644 --- a/pkgs/development/python-modules/holistic-trace-analysis/default.nix +++ b/pkgs/development/python-modules/holistic-trace-analysis/default.nix @@ -51,11 +51,17 @@ buildPythonPackage rec { disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # Permission denied: '/tmp/my_saved_cp_graph/trace_data.csv' "test_critical_path_breakdown_and_save_restore" + # Fails under Python 3.12 on Darwin with I/O errors + # Permission denied: '/tmp/path_does_not_exist/...' + "test_critical_path_overlaid_trace" ]; disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ # Makes assumptions about the filesystem layout "tests/test_config.py" + # EOFError -- makes assumptions about file I/O under Python 3.12 + # https://github.com/facebookresearch/HolisticTraceAnalysis/issues/300 + "tests/test_symbol_table.py" ]; pythonImportsCheck = [ "hta" ];