From 9f16d5ad7812ee5f58b8e0c524b3589714505519 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 26 Nov 2025 16:06:48 -0800 Subject: [PATCH] python3Packages.torchdata: disable test that times out on Darwin --- pkgs/development/python-modules/torchdata/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/torchdata/default.nix b/pkgs/development/python-modules/torchdata/default.nix index 6dd33d7ba112..f74d9e159970 100644 --- a/pkgs/development/python-modules/torchdata/default.nix +++ b/pkgs/development/python-modules/torchdata/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, @@ -54,6 +55,11 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ + # RuntimeError: DataLoader timed out after 5 seconds + "test_ind_worker_queue" + ]; + meta = { description = "Iterative enhancement to the PyTorch torch.utils.data.DataLoader and torch.utils.data.Dataset/IterableDataset"; homepage = "https://github.com/meta-pytorch/data";