From 6f1e6f8de8f3d2f8cd0dadb9dc5485110b975afa Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 22 Jul 2024 03:25:07 +0200 Subject: [PATCH] python312Packages.langchain-core: disable flaky test --- pkgs/development/python-modules/langchain-core/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain-core/default.nix b/pkgs/development/python-modules/langchain-core/default.nix index bbc3a7adc576..8e32b2f3f6d7 100644 --- a/pkgs/development/python-modules/langchain-core/default.nix +++ b/pkgs/development/python-modules/langchain-core/default.nix @@ -86,7 +86,11 @@ buildPythonPackage rec { ''; }; - disabledTests = lib.optionals stdenv.isDarwin [ + disabledTests = [ + # flaky, sometimes fail to strip uuid from AIMessageChunk before comparing to test value + "test_map_stream" + ] + ++ lib.optionals stdenv.isDarwin [ # Langchain-core the following tests due to the test comparing execution time with magic values. "test_queue_for_streaming_via_sync_call" "test_same_event_loop"