summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2024-07-23 10:52:23 +0200
committerGitHub <noreply@github.com>2024-07-23 10:52:23 +0200
commit9717c85e14ff61b9a9320eb8c0e4e8339587725d (patch)
treefd71eb5d98a3c715f177adbc0050ebe85661383a
parentMerge pull request #329084 from r-ryantm/auto-update/python312Packages.adafru... (diff)
parentpython312Packages.langchain-core: disable flaky test (diff)
downloadnixpkgs-9717c85e14ff61b9a9320eb8c0e4e8339587725d.tar.gz
Merge pull request #329037 from pbsds/fix-langchain-core-1721611306
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"