From e54888cf51f66852e94a0a29df2ae6edc0a625bb Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Fri, 30 May 2025 14:37:58 -0700 Subject: [PATCH 1/6] python3Packages.chromadb: refactor --- .../python-modules/chromadb/default.nix | 90 +++++++++++++------ 1 file changed, 61 insertions(+), 29 deletions(-) diff --git a/pkgs/development/python-modules/chromadb/default.nix b/pkgs/development/python-modules/chromadb/default.nix index e2f9faf49b38d..0ed23ba175969 100644 --- a/pkgs/development/python-modules/chromadb/default.nix +++ b/pkgs/development/python-modules/chromadb/default.nix @@ -1,45 +1,44 @@ { lib, stdenv, - bcrypt, - build, buildPythonPackage, + fetchFromGitHub, + + # build-system + setuptools-scm, + setuptools, + + # build inputs cargo, - chroma-hnswlib, + pkg-config, + protobuf, + rustc, + rustPlatform, + openssl, + + # dependencies + bcrypt, + build, fastapi, - fetchFromGitHub, grpcio, httpx, - hypothesis, importlib-resources, kubernetes, mmh3, - nixosTests, numpy, onnxruntime, - openssl, opentelemetry-api, opentelemetry-exporter-otlp-proto-grpc, opentelemetry-instrumentation-fastapi, opentelemetry-sdk, orjson, overrides, - pkg-config, posthog, - protobuf, - psutil, pulsar-client, pydantic, pypika, - pytest-asyncio, - pytestCheckHook, - pythonOlder, pyyaml, requests, - rustc, - rustPlatform, - setuptools-scm, - setuptools, tenacity, tokenizers, tqdm, @@ -47,6 +46,19 @@ typing-extensions, uvicorn, zstd, + + # optional dependencies + chroma-hnswlib, + + # tests + hypothesis, + psutil, + pytest-asyncio, + pytestCheckHook, + + # passthru + nixosTests, + nix-update-script, }: buildPythonPackage rec { @@ -54,8 +66,6 @@ buildPythonPackage rec { version = "0.5.20"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchFromGitHub { owner = "chroma-core"; repo = "chroma"; @@ -64,7 +74,8 @@ buildPythonPackage rec { }; cargoDeps = rustPlatform.fetchCargoVendor { - inherit pname version src; + inherit src; + name = "${pname}-${version}-vendor"; hash = "sha256-ZtCTg8qNCiqlH7RsZxaWUNAoazdgmXP2GtpjDpRdvbk="; }; @@ -130,13 +141,21 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "chromadb" ]; + # Disable on aarch64-linux due to broken onnxruntime + # https://github.com/microsoft/onnxruntime/issues/10038 + pythonImportsCheck = lib.optionals (stdenv.hostPlatform.system != "aarch64-linux") [ "chromadb" ]; + + # Test collection breaks on aarch64-linux + doCheck = stdenv.hostPlatform.system != "aarch64-linux"; env = { ZSTD_SYS_USE_PKG_CONFIG = true; }; - pytestFlagsArray = [ "-x" ]; + pytestFlagsArray = [ + "-x" # these are slow tests, so stop on the first failure + "-v" + ]; preCheck = '' (($(ulimit -n) < 1024)) && ulimit -n 1024 @@ -144,7 +163,7 @@ buildPythonPackage rec { ''; disabledTests = [ - # Tests are laky / timing sensitive + # Tests are flaky / timing sensitive "test_fastapi_server_token_authn_allows_when_it_should_allow" "test_fastapi_server_token_authn_rejects_when_it_should_reject" # Issue with event loop @@ -166,17 +185,30 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; - passthru.tests = { - inherit (nixosTests) chromadb; + passthru = { + tests = { + inherit (nixosTests) chromadb; + }; + + updateScript = nix-update-script { + # we have to update both the python hash and the cargo one, + # so use nix-update-script + extraArgs = [ + "--versionRegex" + "([0-9].+)" + ]; + }; }; - meta = with lib; { + meta = { description = "AI-native open-source embedding database"; homepage = "https://github.com/chroma-core/chroma"; changelog = "https://github.com/chroma-core/chroma/releases/tag/${version}"; - license = licenses.asl20; - maintainers = with maintainers; [ fab ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ + fab + sarahec + ]; mainProgram = "chroma"; - broken = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64; }; } From 249fd9d0d7839b5c48a7235d74a59b1ecb5467cd Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sat, 31 May 2025 10:25:04 -0700 Subject: [PATCH 2/6] python3Packages.chromadb: 0.5.20 -> 0.6.3 Last of the pre-1.0.0 releases. Required by some legacy AI packages. changelog: https://github.com/chroma-core/chroma/releases/tag/0.6.3 --- .../python-modules/chromadb/default.nix | 46 ++++++++++++------- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/chromadb/default.nix b/pkgs/development/python-modules/chromadb/default.nix index 0ed23ba175969..f9f226405f7e4 100644 --- a/pkgs/development/python-modules/chromadb/default.nix +++ b/pkgs/development/python-modules/chromadb/default.nix @@ -63,25 +63,26 @@ buildPythonPackage rec { pname = "chromadb"; - version = "0.5.20"; + version = "0.6.3"; pyproject = true; src = fetchFromGitHub { owner = "chroma-core"; repo = "chroma"; tag = version; - hash = "sha256-DQHkgCHtrn9xi7Kp7TZ5NP1EtFtTH5QOvne9PUvxsWc="; + hash = "sha256-yvAX8buETsdPvMQmRK5+WFz4fVaGIdNlfhSadtHwU5U="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit src; - name = "${pname}-${version}-vendor"; - hash = "sha256-ZtCTg8qNCiqlH7RsZxaWUNAoazdgmXP2GtpjDpRdvbk="; + name = "${pname}-${version}"; + hash = "sha256-lHRBXJa/OFNf4x7afEJw9XcuDveTBIy3XpQ3+19JXn4="; }; pythonRelaxDeps = [ "chroma-hnswlib" "orjson" + "tokenizers" ]; build-system = [ @@ -166,9 +167,11 @@ buildPythonPackage rec { # Tests are flaky / timing sensitive "test_fastapi_server_token_authn_allows_when_it_should_allow" "test_fastapi_server_token_authn_rejects_when_it_should_reject" + # Issue with event loop "test_http_client_bw_compatibility" - # Issue with httpx + + # httpx ReadError "test_not_existing_collection_delete" ]; @@ -181,6 +184,17 @@ buildPythonPackage rec { "chromadb/test/property/test_cross_version_persist.py" "chromadb/test/stress/" "chromadb/test/test_api.py" + + # httpx failures + "chromadb/test/api/test_delete_database.py" + + # Cannot be loaded by pytest without path hacks (fixed in 1.0.0) + "chromadb/test/test_logservice.py" + "chromadb/test/proto/test_utils.py" + "chromadb/test/segment/distributed/test_protobuf_translation.py" + + # Hypothesis FailedHealthCheck due to nested @given tests + "chromadb/test/cache/test_cache.py" ]; __darwinAllowLocalNetworking = true; @@ -198,17 +212,17 @@ buildPythonPackage rec { "([0-9].+)" ]; }; - }; - meta = { - description = "AI-native open-source embedding database"; - homepage = "https://github.com/chroma-core/chroma"; - changelog = "https://github.com/chroma-core/chroma/releases/tag/${version}"; - license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ - fab - sarahec - ]; - mainProgram = "chroma"; + meta = { + description = "AI-native open-source embedding database"; + homepage = "https://github.com/chroma-core/chroma"; + changelog = "https://github.com/chroma-core/chroma/releases/tag/${version}"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ + fab + sarahec + ]; + mainProgram = "chroma"; + }; }; } From 23d0f1537ac33e32a1ea8b7105d304f3a65e107a Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 1 Jun 2025 13:03:02 -0700 Subject: [PATCH 3/6] python3Packages.chromadb_0: init at 0.6.3 Pins old version to support legacy AI packages. --- .../development/python-modules/chromadb/0.nix | 220 ++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 222 insertions(+) create mode 100644 pkgs/development/python-modules/chromadb/0.nix diff --git a/pkgs/development/python-modules/chromadb/0.nix b/pkgs/development/python-modules/chromadb/0.nix new file mode 100644 index 0000000000000..87b3c66fee5aa --- /dev/null +++ b/pkgs/development/python-modules/chromadb/0.nix @@ -0,0 +1,220 @@ +{ + lib, + stdenv, + buildPythonPackage, + fetchFromGitHub, + + # build-system + setuptools-scm, + setuptools, + + # build inputs + cargo, + pkg-config, + protobuf, + rustc, + rustPlatform, + openssl, + + # dependencies + bcrypt, + build, + fastapi, + grpcio, + httpx, + importlib-resources, + kubernetes, + mmh3, + numpy, + onnxruntime, + opentelemetry-api, + opentelemetry-exporter-otlp-proto-grpc, + opentelemetry-instrumentation-fastapi, + opentelemetry-sdk, + orjson, + overrides, + posthog, + pulsar-client, + pydantic, + pypika, + pyyaml, + requests, + tenacity, + tokenizers, + tqdm, + typer, + typing-extensions, + uvicorn, + zstd, + + # optional dependencies + chroma-hnswlib, + + # tests + hypothesis, + psutil, + pytest-asyncio, + pytestCheckHook, + + # passthru + nixosTests, + nix-update-script, +}: + +buildPythonPackage rec { + pname = "chromadb_0"; + version = "0.6.3"; + pyproject = true; + + src = fetchFromGitHub { + owner = "chroma-core"; + repo = "chroma"; + tag = version; + hash = "sha256-yvAX8buETsdPvMQmRK5+WFz4fVaGIdNlfhSadtHwU5U="; + }; + + cargoDeps = rustPlatform.fetchCargoVendor { + inherit src; + name = "${pname}-${version}"; + hash = "sha256-lHRBXJa/OFNf4x7afEJw9XcuDveTBIy3XpQ3+19JXn4="; + }; + + pythonRelaxDeps = [ + "chroma-hnswlib" + "orjson" + "tokenizers" + ]; + + build-system = [ + setuptools + setuptools-scm + ]; + + nativeBuildInputs = [ + cargo + pkg-config + protobuf + rustc + rustPlatform.cargoSetupHook + ]; + + buildInputs = [ + openssl + zstd + ]; + + dependencies = [ + bcrypt + build + chroma-hnswlib + fastapi + grpcio + httpx + importlib-resources + kubernetes + mmh3 + numpy + onnxruntime + opentelemetry-api + opentelemetry-exporter-otlp-proto-grpc + opentelemetry-instrumentation-fastapi + opentelemetry-sdk + orjson + overrides + posthog + pulsar-client + pydantic + pypika + pyyaml + requests + tenacity + tokenizers + tqdm + typer + typing-extensions + uvicorn + ]; + + nativeCheckInputs = [ + hypothesis + psutil + pytest-asyncio + pytestCheckHook + ]; + + # Disable on aarch64-linux due to broken onnxruntime + # https://github.com/microsoft/onnxruntime/issues/10038 + pythonImportsCheck = lib.optionals (stdenv.hostPlatform.system != "aarch64-linux") [ "chromadb" ]; + + # Test collection breaks on aarch64-linux + doCheck = stdenv.hostPlatform.system != "aarch64-linux"; + + env = { + ZSTD_SYS_USE_PKG_CONFIG = true; + }; + + pytestFlagsArray = [ + "-x" # these are slow tests, so stop on the first failure + "-v" + ]; + + preCheck = '' + (($(ulimit -n) < 1024)) && ulimit -n 1024 + export HOME=$(mktemp -d) + ''; + + disabledTests = [ + # Tests are flaky / timing sensitive + "test_fastapi_server_token_authn_allows_when_it_should_allow" + "test_fastapi_server_token_authn_rejects_when_it_should_reject" + + # Issue with event loop + "test_http_client_bw_compatibility" + + # httpx ReadError + "test_not_existing_collection_delete" + ]; + + disabledTestPaths = [ + # Tests require network access + "chromadb/test/auth/test_simple_rbac_authz.py" + "chromadb/test/db/test_system.py" + "chromadb/test/ef/test_default_ef.py" + "chromadb/test/property/" + "chromadb/test/property/test_cross_version_persist.py" + "chromadb/test/stress/" + "chromadb/test/test_api.py" + + # httpx failures + "chromadb/test/api/test_delete_database.py" + + # Cannot be loaded by pytest without path hacks (fixed in 1.0.0) + "chromadb/test/test_logservice.py" + "chromadb/test/proto/test_utils.py" + "chromadb/test/segment/distributed/test_protobuf_translation.py" + + # Hypothesis FailedHealthCheck due to nested @given tests + "chromadb/test/cache/test_cache.py" + ]; + + __darwinAllowLocalNetworking = true; + + passthru.tests = { + inherit (nixosTests) chromadb; + }; + + # nixpkgs-update: no auto update + # 0.6.3 is the last of the 0.x series + + meta = { + description = "AI-native open-source embedding database"; + homepage = "https://github.com/chroma-core/chroma"; + changelog = "https://github.com/chroma-core/chroma/releases/tag/${version}"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ + fab + sarahec + ]; + mainProgram = "chroma"; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index db966ff2b84eb..844d11d263022 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2458,6 +2458,8 @@ self: super: with self; { chromadb = callPackage ../development/python-modules/chromadb { }; + chromadb_0 = callPackage ../development/python-modules/chromadb/0.nix { }; + chromaprint = callPackage ../development/python-modules/chromaprint { }; ci-info = callPackage ../development/python-modules/ci-info { }; From 61265017a39b23227a8502fbfcdfce6b509f18e7 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 8 May 2025 12:33:26 -0700 Subject: [PATCH 4/6] python3Packages.chromadb: 0.6.3 -> 1.0.12 release notes: https://github.com/chroma-core/chroma/releases/tag/1.0.12 --- .../python-modules/chromadb/default.nix | 123 ++++++++++++------ .../chromadb/disable-fastapi-fixtures.patch | 14 ++ 2 files changed, 99 insertions(+), 38 deletions(-) create mode 100644 pkgs/development/python-modules/chromadb/disable-fastapi-fixtures.patch diff --git a/pkgs/development/python-modules/chromadb/default.nix b/pkgs/development/python-modules/chromadb/default.nix index f9f226405f7e4..cf2aaa3dc9fa6 100644 --- a/pkgs/development/python-modules/chromadb/default.nix +++ b/pkgs/development/python-modules/chromadb/default.nix @@ -3,10 +3,7 @@ stdenv, buildPythonPackage, fetchFromGitHub, - - # build-system - setuptools-scm, - setuptools, + fetchurl, # build inputs cargo, @@ -14,6 +11,7 @@ protobuf, rustc, rustPlatform, + pkgs, # zstd hidden by python3Packages.zstd openssl, # dependencies @@ -23,6 +21,7 @@ grpcio, httpx, importlib-resources, + jsonschema, kubernetes, mmh3, numpy, @@ -45,16 +44,20 @@ typer, typing-extensions, uvicorn, - zstd, # optional dependencies chroma-hnswlib, # tests + hnswlib, hypothesis, + pandas, psutil, pytest-asyncio, + pytest-xdist, pytestCheckHook, + sqlite, + starlette, # passthru nixosTests, @@ -63,31 +66,45 @@ buildPythonPackage rec { pname = "chromadb"; - version = "0.6.3"; + version = "1.0.12"; pyproject = true; src = fetchFromGitHub { owner = "chroma-core"; repo = "chroma"; tag = version; - hash = "sha256-yvAX8buETsdPvMQmRK5+WFz4fVaGIdNlfhSadtHwU5U="; + hash = "sha256-Q4PhJTRNzJeVx6DIPWirnI9KksNb8vfOtqb/q9tSK3c="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit src; - name = "${pname}-${version}"; - hash = "sha256-lHRBXJa/OFNf4x7afEJw9XcuDveTBIy3XpQ3+19JXn4="; + name = "${pname}-${version}-vendor"; + hash = "sha256-+Ea2aRrsBGfVCLdOF41jeMehJhMurc8d0UKrpR6ndag="; + }; + + # Can't use fetchFromGitHub as the build expects a zipfile + swagger-ui = fetchurl { + url = "https://github.com/swagger-api/swagger-ui/archive/refs/tags/v5.22.0.zip"; + hash = "sha256-H+kXxA/6rKzYA19v7Zlx2HbIg/DGicD5FDIs0noVGSk="; }; + patches = [ + # The fastapi servers can't set up their networking in the test environment, so disable for testing + ./disable-fastapi-fixtures.patch + ]; + + postPatch = '' + # Nixpkgs is taking the version from `chromadb_rust_bindings` which is versioned independently + substituteInPlace pyproject.toml \ + --replace-fail "dynamic = [\"version\"]" "version = \"${version}\"" + ''; + pythonRelaxDeps = [ - "chroma-hnswlib" - "orjson" - "tokenizers" + "fastapi" ]; build-system = [ - setuptools - setuptools-scm + rustPlatform.maturinBuildHook ]; nativeBuildInputs = [ @@ -100,17 +117,17 @@ buildPythonPackage rec { buildInputs = [ openssl - zstd + pkgs.zstd ]; dependencies = [ bcrypt build - chroma-hnswlib fastapi grpcio httpx importlib-resources + jsonschema kubernetes mmh3 numpy @@ -135,11 +152,21 @@ buildPythonPackage rec { uvicorn ]; + optional-dependencies = { + dev = [ chroma-hnswlib ]; + }; + nativeCheckInputs = [ + chroma-hnswlib + hnswlib hypothesis + pandas psutil pytest-asyncio + pytest-xdist pytestCheckHook + sqlite + starlette ]; # Disable on aarch64-linux due to broken onnxruntime @@ -151,11 +178,16 @@ buildPythonPackage rec { env = { ZSTD_SYS_USE_PKG_CONFIG = true; + SWAGGER_UI_DOWNLOAD_URL = "file://${swagger-ui}"; }; pytestFlagsArray = [ "-x" # these are slow tests, so stop on the first failure "-v" + "-W" + "ignore:DeprecationWarning" + "-W" + "ignore:PytestCollectionWarning" ]; preCheck = '' @@ -173,28 +205,43 @@ buildPythonPackage rec { # httpx ReadError "test_not_existing_collection_delete" + + # Tests launch a server and try to connect to it + # These either have https connection errors or name resolution errors + "test_collection_query_with_invalid_collection_throws" + "test_collection_update_with_invalid_collection_throws" + "test_default_embedding" + "test_invalid_index_params" + "test_peek" + "test_persist_index_loading" + "test_query_id_filtering_e2e" + "test_query_id_filtering_medium_dataset" + "test_query_id_filtering_small_dataset" + "test_ssl_self_signed_without_ssl_verify" + "test_ssl_self_signed" + + # Apparent race condition with sqlite + # See https://github.com/chroma-core/chroma/issues/4661 + "test_multithreaded_get_or_create" ]; disabledTestPaths = [ # Tests require network access - "chromadb/test/auth/test_simple_rbac_authz.py" - "chromadb/test/db/test_system.py" + "bin/rust_python_compat_test.py" + "chromadb/test/configurations/test_collection_configuration.py" "chromadb/test/ef/test_default_ef.py" + "chromadb/test/ef/test_onnx_mini_lm_l6_v2.py" + "chromadb/test/ef/test_voyageai_ef.py" "chromadb/test/property/" "chromadb/test/property/test_cross_version_persist.py" "chromadb/test/stress/" "chromadb/test/test_api.py" - # httpx failures - "chromadb/test/api/test_delete_database.py" + # Tests time out (waiting for server) + "chromadb/test/test_cli.py" - # Cannot be loaded by pytest without path hacks (fixed in 1.0.0) - "chromadb/test/test_logservice.py" - "chromadb/test/proto/test_utils.py" - "chromadb/test/segment/distributed/test_protobuf_translation.py" - - # Hypothesis FailedHealthCheck due to nested @given tests - "chromadb/test/cache/test_cache.py" + # Cannot find protobuf file while loading test + "chromadb/test/distributed/test_log_failover.py" ]; __darwinAllowLocalNetworking = true; @@ -212,17 +259,17 @@ buildPythonPackage rec { "([0-9].+)" ]; }; + }; - meta = { - description = "AI-native open-source embedding database"; - homepage = "https://github.com/chroma-core/chroma"; - changelog = "https://github.com/chroma-core/chroma/releases/tag/${version}"; - license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ - fab - sarahec - ]; - mainProgram = "chroma"; - }; + meta = { + description = "AI-native open-source embedding database"; + homepage = "https://github.com/chroma-core/chroma"; + changelog = "https://github.com/chroma-core/chroma/releases/tag/${version}"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ + fab + sarahec + ]; + mainProgram = "chroma"; }; } diff --git a/pkgs/development/python-modules/chromadb/disable-fastapi-fixtures.patch b/pkgs/development/python-modules/chromadb/disable-fastapi-fixtures.patch new file mode 100644 index 0000000000000..7c63ced3cf951 --- /dev/null +++ b/pkgs/development/python-modules/chromadb/disable-fastapi-fixtures.patch @@ -0,0 +1,14 @@ +diff --git a/chromadb/test/conftest.py b/chromadb/test/conftest.py +index efde1c382..163f55c57 100644 +--- a/chromadb/test/conftest.py ++++ b/chromadb/test/conftest.py +@@ -678,9 +678,6 @@ def sqlite_persistent(request: pytest.FixtureRequest) -> Generator[System, None, + + def system_fixtures() -> List[Callable[[], Generator[System, None, None]]]: + fixtures = [ +- fastapi, +- async_fastapi, +- fastapi_persistent, + sqlite_fixture, + sqlite_persistent_fixture, + ] From 2e6caf7dcf5ab710d45451ea048b8554da609cc4 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 1 Jun 2025 17:33:21 -0700 Subject: [PATCH 5/6] python3Packages.vectorcode: use pre-1.0.0 version of chromadb --- pkgs/by-name/ve/vectorcode/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/ve/vectorcode/package.nix b/pkgs/by-name/ve/vectorcode/package.nix index a8c776fc62afd..82987dc90898e 100644 --- a/pkgs/by-name/ve/vectorcode/package.nix +++ b/pkgs/by-name/ve/vectorcode/package.nix @@ -27,7 +27,7 @@ python3Packages.buildPythonApplication rec { dependencies = with python3Packages; [ - chromadb + chromadb_0 colorlog httpx json5 From c112d7613f24b0a0e0f596fd53d478ef26b56424 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Fri, 30 May 2025 17:54:52 -0700 Subject: [PATCH 6/6] python3Packages.langchain-chroma: 0.2.3 -> 0.2.4 changelog: https://github.com/langchain-ai/langchain/releases/tag/langchain-chroma%3D%3D0.2.4 diff: https://github.com/langchain-ai/langchain/compare/langchain-chroma%3D%3D0.2.3...langchain-chroma%3D%3D0.2.4 --- pkgs/development/python-modules/langchain-chroma/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain-chroma/default.nix b/pkgs/development/python-modules/langchain-chroma/default.nix index 3566f1acb4f18..bcc79a91d6459 100644 --- a/pkgs/development/python-modules/langchain-chroma/default.nix +++ b/pkgs/development/python-modules/langchain-chroma/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "langchain-chroma"; - version = "0.2.3"; + version = "0.2.4"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-chroma==${version}"; - hash = "sha256-6WOViBKXZ844g2M6pYohHsXnzJiWbTNgj9EjN+z+B+4="; + hash = "sha256-w4xvPPLYkPiQA34bimVHLe+vghMI9Pq36CHoE/EMnr8="; }; sourceRoot = "${src.name}/libs/partners/chroma";