From e87ac6e8bb05f22c210d0ac08de3b3f92ddd4832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 28 Feb 2026 08:21:10 -0800 Subject: [PATCH] python3Packages.holistic-trace-analysis: drop --- .../holistic-trace-analysis/default.nix | 83 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 85 deletions(-) delete mode 100644 pkgs/development/python-modules/holistic-trace-analysis/default.nix diff --git a/pkgs/development/python-modules/holistic-trace-analysis/default.nix b/pkgs/development/python-modules/holistic-trace-analysis/default.nix deleted file mode 100644 index 6389d96bec6e..000000000000 --- a/pkgs/development/python-modules/holistic-trace-analysis/default.nix +++ /dev/null @@ -1,83 +0,0 @@ -{ - lib, - stdenv, - buildPythonPackage, - fetchFromGitHub, - - # build system - setuptools, - - # dependencies - jupyterlab, - numpy, - pandas, - plotly, - pydot, - torch, - - # tests - pytestCheckHook, - writableTmpDirAsHomeHook, -}: - -buildPythonPackage rec { - pname = "HolisticTraceAnalysis"; - version = "0.5.0"; - pyproject = true; - - src = fetchFromGitHub { - owner = "facebookresearch"; - repo = "HolisticTraceAnalysis"; - tag = "v${version}"; - hash = "sha256-3DuoP9gQ0vLlAAJ2uWw/oOEH/DTbn2xulzvqk4W3BiY="; - }; - - build-system = [ setuptools ]; - - dependencies = [ - jupyterlab - numpy - pandas - plotly - pydot - torch - ]; - - nativeCheckInputs = [ - pytestCheckHook - writableTmpDirAsHomeHook - ]; - - 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" - # Permission error: [Errno 1] Operation not permitted - "test_get_mtia_aten_op_kernels_and_delay_inference_single_rank" - # No cuda on Darwin, can cause hangs in nixpkgs-review - "test_frequent_cuda_kernel_sequences" - "test_get_cuda_kernel_launch_stats_for_h100" - "test_get_cuda_kernel_launch_stats_inference_single_rank" - "test_get_cuda_kernel_launch_stats_training_multiple_ranks" - ]; - - 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" ]; - - meta = { - description = "Performance analysis tool to identify bottlenecks in distributed training workloads"; - homepage = "https://github.com/facebookresearch/HolisticTraceAnalysis"; - changelog = "https://github.com/facebookresearch/HolisticTraceAnalysis/releases/tag/v${version}"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ jherland ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 808e04e22d49..1abdb0d2a95c 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -235,6 +235,7 @@ mapAliases { heif-image-plugin = throw "heif-image-plugin has been removed due to lack of upstream maintenance and breakage. Use `pillow-heif` instead."; # added 2025-09-17 hglib = throw "'hglib' has been renamed to/replaced by 'python-hglib'"; # Converted to throw 2025-10-29 hijri-converter = hijridate; # added 2025-08-07 + holistic-trace-analysis = throw "'holistic-trace-analysis' was removed because there is no such package on PyPI"; # added 2026-02-28 homeassistant-bring-api = throw "'homeassistant-bring-api' has been renamed to/replaced by 'bring-api'"; # Converted to throw 2025-10-29 HTSeq = throw "'HTSeq' has been renamed to/replaced by 'htseq'"; # Converted to throw 2025-10-29 IMAPClient = throw "'IMAPClient' has been renamed to/replaced by 'imapclient'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ddc5bbaa1e02..f27821ea57c1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7034,8 +7034,6 @@ self: super: with self; { holidays = callPackage ../development/python-modules/holidays { }; - holistic-trace-analysis = callPackage ../development/python-modules/holistic-trace-analysis { }; - hologram = callPackage ../development/python-modules/hologram { }; holoviews = callPackage ../development/python-modules/holoviews { };