From 978128d01bcbe3adf1651c1de1ae2cdc30772bd7 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 13 May 2026 09:22:02 -0700 Subject: [PATCH] python3Packages.langchain: disable timing-sensitive tests --- pkgs/development/python-modules/langchain/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/langchain/default.nix b/pkgs/development/python-modules/langchain/default.nix index 383a5a2542de..ce61ce40aa5d 100644 --- a/pkgs/development/python-modules/langchain/default.nix +++ b/pkgs/development/python-modules/langchain/default.nix @@ -132,6 +132,9 @@ buildPythonPackage (finalAttrs: { disabledTestPaths = [ # Their configuration tests don't place nicely with nixpkgs "tests/unit_tests/test_pytest_config.py" + + # Timing sensitive tests + "tests/unit_tests/agents/middleware/implementations/test_model_retry.py" ]; pythonImportsCheck = [ "langchain" ];