From 0a9bcf77251cc0085c2e49fd72a6d554caffa28e Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 23 Jul 2025 15:10:28 -0700 Subject: [PATCH] python3Packages.chromadb: disable flaky tests Happens when two copies are running simultaneously and a test calls through to chromadb/api/shared_system_client.py --- pkgs/development/python-modules/chromadb/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/chromadb/default.nix b/pkgs/development/python-modules/chromadb/default.nix index ac363b290e78..8efba3b0d97a 100644 --- a/pkgs/development/python-modules/chromadb/default.nix +++ b/pkgs/development/python-modules/chromadb/default.nix @@ -57,6 +57,7 @@ pytestCheckHook, sqlite, starlette, + writableTmpDirAsHomeHook, # passthru nixosTests, @@ -165,6 +166,7 @@ buildPythonPackage rec { pytestCheckHook sqlite starlette + writableTmpDirAsHomeHook ]; # Disable on aarch64-linux due to broken onnxruntime @@ -238,6 +240,10 @@ buildPythonPackage rec { # Cannot find protobuf file while loading test "chromadb/test/distributed/test_log_failover.py" + + # ValueError: An instance of Chroma already exists for ephemeral with different settings + "chromadb/test/test_chroma.py" + "chromadb/test/ef/test_multimodal_ef.py" ]; __darwinAllowLocalNetworking = true;