Commit 506773fb authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent 9b503a95
Loading
Loading
Loading
Loading
+11 −7
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@

buildPythonPackage rec {
  pname = "chromadb";
  version = "0.5.4";
  version = "0.5.5";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -59,13 +59,13 @@ buildPythonPackage rec {
    owner = "chroma-core";
    repo = "chroma";
    rev = "refs/tags/${version}";
    hash = "sha256-wzfzuWuNqLAjfAZC38p1iTtJHez/pJ9Ncgeo23o1dMo=";
    hash = "sha256-e6ZctUFeq9hHXWaxGdVTiqFpwaU7A+EKn2EdQPI7DHE=";
  };

  cargoDeps = rustPlatform.fetchCargoTarball {
    inherit src;
    name = "${pname}-${version}";
    hash = "sha256-0OE2i29oE6RpJRswQWI8+5dbA6lOWd3nhqe1RGlnjhk=";
    hash = "sha256-3FmnQEpknYNzI3WlQ3kc8qa4LFcn1zpxKDbkATU7/48=";
  };

  pythonRelaxDeps = [
@@ -73,14 +73,17 @@ buildPythonPackage rec {
    "orjson"
  ];

  build-system = [
    setuptools
    setuptools-scm
  ];

  nativeBuildInputs = [
    cargo
    pkg-config
    protobuf
    rustc
    rustPlatform.cargoSetupHook
    setuptools
    setuptools-scm
  ];

  buildInputs = [
@@ -88,7 +91,7 @@ buildPythonPackage rec {
    zstd
  ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];

  propagatedBuildInputs = [
  dependencies = [
    bcrypt
    build
    chroma-hnswlib
@@ -140,8 +143,9 @@ buildPythonPackage rec {
  '';

  disabledTests = [
    # flaky / timing sensitive
    # Tests are laky / timing sensitive
    "test_fastapi_server_token_authn_allows_when_it_should_allow"
    "test_fastapi_server_token_authn_rejects_when_it_should_reject"
  ];

  disabledTestPaths = [