From 36fd95301e5d9ec3cfed00af452798a45615ded1 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 4 Mar 2026 20:57:46 +0000 Subject: [PATCH] python3Packages.chromadb: 1.5.0 -> 1.5.2 --- .../python-modules/chromadb/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/chromadb/default.nix b/pkgs/development/python-modules/chromadb/default.nix index 01c547d503a9..f986458855bb 100644 --- a/pkgs/development/python-modules/chromadb/default.nix +++ b/pkgs/development/python-modules/chromadb/default.nix @@ -68,22 +68,23 @@ buildPythonPackage (finalAttrs: { pname = "chromadb"; - version = "1.5.0"; + version = "1.5.2"; pyproject = true; src = fetchFromGitHub { owner = "chroma-core"; repo = "chroma"; tag = finalAttrs.version; - hash = "sha256-cjSWgXE5FiTIHzTjkpnaikKCgzLazG1wZYh2J0JbJ2Y="; + hash = "sha256-fIlev0B1PapZAO9PgrFIfIh429lcmh/dQ9aGHSNJSLw="; }; # https://github.com/chroma-core/chroma/issues/5996 + # https://github.com/chroma-core/chroma/issues/6546 disabled = pythonAtLeast "3.14"; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; - hash = "sha256-oS+fT+mGz0b0O8s5hff85d26Czu+nI7sPjY3qwtTkM4="; + hash = "sha256-zoyn2IBeM5FlDpA0blYU5tpu8KFXHLG/KzvQN6Hsf2I="; }; # Can't use fetchFromGitHub as the build expects a zipfile @@ -221,6 +222,13 @@ buildPythonPackage (finalAttrs: { # https://github.com/chroma-core/chroma/issues/6029 "test_embedding_function_config_roundtrip" + + # Requires network access + "test_persistent_client_close" + "test_persistent_client_context_manager" + "test_ephemeral_client_close" + "test_ephemeral_client_context_manager" + "test_client_close_idempotent" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Fails in nixpkgs-review on Darwin due to concurrent copies running and the lack of network namespaces.