From 73f686de629c0964b2eb65d3e32b7133d597c5d7 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Tue, 15 Jul 2025 21:49:26 -0700 Subject: [PATCH] python3Packages.pylance: disable test that hangs the build on Darwin --- pkgs/development/python-modules/pylance/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pylance/default.nix b/pkgs/development/python-modules/pylance/default.nix index 758c3299f513..3213913fe641 100644 --- a/pkgs/development/python-modules/pylance/default.nix +++ b/pkgs/development/python-modules/pylance/default.nix @@ -129,6 +129,10 @@ buildPythonPackage rec { ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ # OSError: LanceError(IO): Resources exhausted: Failed to allocate additional 1245184 bytes for ExternalSorter[0]... "test_merge_insert_large" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + # Build hangs after all the tests are run due to a torch subprocess not exiting + "test_multiprocess_loading" ]; meta = {