From 0c6b89df83e03fb7e8ba234a4d8b6f9513eadcae Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 1 Jul 2026 15:06:36 +0000 Subject: [PATCH] python3Packages.pylance: re-enable torch compile tests on darwin --- pkgs/development/python-modules/pylance/default.nix | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pkgs/development/python-modules/pylance/default.nix b/pkgs/development/python-modules/pylance/default.nix index 152d0ed0bcc0..2016c83e9c24 100644 --- a/pkgs/development/python-modules/pylance/default.nix +++ b/pkgs/development/python-modules/pylance/default.nix @@ -165,19 +165,6 @@ buildPythonPackage (finalAttrs: { ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Build hangs after all the tests are run due to a torch subprocess not exiting "test_multiprocess_loading" - - # torch._inductor.exc.InductorError: CppCompileError: C++ compile error - # OpenMP support not found - # TODO: figure out why this only happens on python 3.13 and not 3.14 - "test_cosine_distance" - "test_ground_truth" - "test_index_cast_centroids" - "test_index_with_no_centroid_movement" - "test_l2_distance" - "test_l2_distance_f16_bf16_cpu" - "test_pairwise_cosine" - "test_torch_index_with_nans" - "test_torch_kmeans_nans" ] ++ lib.optionals (pythonAtLeast "3.14") [ # RuntimeError: torch.compile is not supported on Python 3.14+