From 0ee1a976eb1864331af808a04f54a81d1765953c Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 6 Aug 2025 10:56:22 -0700 Subject: [PATCH] python3Packages.anthropic: disable hanging test on Darwin test_get_platform hangs when called via asyncify --- pkgs/development/python-modules/anthropic/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/anthropic/default.nix b/pkgs/development/python-modules/anthropic/default.nix index 8f4ff4d62bb3..00073ddaf14d 100644 --- a/pkgs/development/python-modules/anthropic/default.nix +++ b/pkgs/development/python-modules/anthropic/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + stdenv, # build-system hatch-fancy-pypi-readme, @@ -80,6 +81,11 @@ buildPythonPackage rec { disabledTests = [ # Test require network access "test_copy_build_request" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + # Hangs + # https://github.com/anthropics/anthropic-sdk-python/issues/1008 + "test_get_platform" ]; disabledTestPaths = [