mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 02:40:50 +00:00
python3Packages.chatlas: disable tests that require AWS and/or DeepSeek accounts
This commit is contained in:
committed by
Gaetan Lepage
parent
77ec6772c0
commit
570c8a4506
@@ -82,6 +82,9 @@ buildPythonPackage (finalAttrs: {
|
||||
"tests/test_provider_openai.py"
|
||||
"tests/test_provider_snowflake.py"
|
||||
"tests/test_register_tool_models.py"
|
||||
|
||||
# Requires a DeeSeek API key and internet access
|
||||
"tests/test_provider_deepseek.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
@@ -159,6 +162,9 @@ buildPythonPackage (finalAttrs: {
|
||||
"test_tool_yielding_with_error"
|
||||
"test_translate_model_params_openai"
|
||||
"test_unknown_tool_error_format_updated"
|
||||
|
||||
# Require an AWS key and internet access
|
||||
"test_provider_instances"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# Fails in the sandbox
|
||||
|
||||
@@ -49,6 +49,17 @@ buildPythonPackage (finalAttrs: {
|
||||
"test_prompt"
|
||||
"test_schema_prompt"
|
||||
"test_thinking_prompt"
|
||||
|
||||
# TypeError: Messages.stream() got an unexpected keyword argument 'temperature'
|
||||
"test_image_with_no_prompt"
|
||||
"test_url_prompt"
|
||||
"test_tools"
|
||||
"test_web_search"
|
||||
"test_opus_46_prompt"
|
||||
"test_sonnet_46_prompt"
|
||||
"test_opus_46_adaptive_thinking"
|
||||
"test_sonnet_46_effort_without_thinking"
|
||||
"test_opus_46_schema"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "llm_anthropic" ];
|
||||
|
||||
Reference in New Issue
Block a user