From 4b1d49bf6a1e16ae19f528e739a5625bd6c32dca Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 5 Mar 2026 21:31:53 -0800 Subject: [PATCH] python3Packages.langchain-mistralai: disable test that requires network access --- .../development/python-modules/langchain-mistralai/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/langchain-mistralai/default.nix b/pkgs/development/python-modules/langchain-mistralai/default.nix index d387144d2a53..b3e10c40b27d 100644 --- a/pkgs/development/python-modules/langchain-mistralai/default.nix +++ b/pkgs/development/python-modules/langchain-mistralai/default.nix @@ -59,6 +59,9 @@ buildPythonPackage rec { "test__convert_dict_to_message_tool_call" # Fails when langchain-core gets ahead of this package "test_serdes" + # RuntimeError: Cannot send a request, as the client has been closed. + # Tries to download from huggingface hub + "test_mistral_init" ]; pythonImportsCheck = [ "langchain_mistralai" ];