python3Packages.anthropic: add optional dependencies to tests

This commit is contained in:
Sarah Clark
2026-04-11 15:48:43 -07:00
parent fd3025f642
commit 08db481a08
@@ -90,7 +90,8 @@ buildPythonPackage (finalAttrs: {
pytest-xdist
pytestCheckHook
respx
];
]
++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies);
pythonImportsCheck = [ "anthropic" ];