From 08db481a08f0ed4fe4f372cadf5eb5b19c8ad500 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sat, 11 Apr 2026 11:11:03 -0700 Subject: [PATCH] python3Packages.anthropic: add optional dependencies to tests --- pkgs/development/python-modules/anthropic/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/anthropic/default.nix b/pkgs/development/python-modules/anthropic/default.nix index 5052decd19cc..97000ae58b51 100644 --- a/pkgs/development/python-modules/anthropic/default.nix +++ b/pkgs/development/python-modules/anthropic/default.nix @@ -90,7 +90,8 @@ buildPythonPackage (finalAttrs: { pytest-xdist pytestCheckHook respx - ]; + ] + ++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies); pythonImportsCheck = [ "anthropic" ];