summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt <pbsds@hotmail.com>2024-07-22 03:25:07 +0200
committerPeder Bergebakken Sundt <pbsds@hotmail.com>2024-07-22 03:28:57 +0200
commit6f1e6f8de8f3d2f8cd0dadb9dc5485110b975afa (patch)
treef890d2a45fc014a75119c46664750e44794ccf3f
parentMerge pull request #323445 from Anomalocaridid/pysolfc-3.0.0 (diff)
downloadnixpkgs-6f1e6f8de8f3d2f8cd0dadb9dc5485110b975afa.tar.gz
python312Packages.langchain-core: disable flaky test
-rw-r--r--pkgs/development/python-modules/langchain-core/default.nix6
1 files changed, 5 insertions, 1 deletions
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"