Commit d889ccb7 authored by Sarah Clark's avatar Sarah Clark
Browse files

python3Packages.holistic-trace-analysis: disable test that fails on Darwin with Python 3.12

parent b925c9e9
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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" ];