python3Packages.anthropic: disable hanging test on Darwin (#431520)

This commit is contained in:
Pol Dellaiera 2025-08-06 22:40:30 +02:00 committed by GitHub
commit 0f4e4be3f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,7 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
stdenv,
# build-system # build-system
hatch-fancy-pypi-readme, hatch-fancy-pypi-readme,
@ -80,6 +81,11 @@ buildPythonPackage rec {
disabledTests = [ disabledTests = [
# Test require network access # Test require network access
"test_copy_build_request" "test_copy_build_request"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# Hangs
# https://github.com/anthropics/anthropic-sdk-python/issues/1008
"test_get_platform"
]; ];
disabledTestPaths = [ disabledTestPaths = [