From c1a99ab5a80bc0fdc2f968c4f8a4be687e5e06ae Mon Sep 17 00:00:00 2001 From: anakin87 Date: Thu, 28 Nov 2024 09:43:34 +0100 Subject: [PATCH] pin tokenizers --- integrations/chroma/pyproject.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/integrations/chroma/pyproject.toml b/integrations/chroma/pyproject.toml index 9457acda5..60191527d 100644 --- a/integrations/chroma/pyproject.toml +++ b/integrations/chroma/pyproject.toml @@ -22,7 +22,11 @@ classifiers = [ "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] -dependencies = ["haystack-ai", "chromadb>=0.5.17", "typing_extensions>=4.8.0", "tokenizers"] +dependencies = ["haystack-ai", + "chromadb>=0.5.17", + "typing_extensions>=4.8.0", + "tokenizers>=0.13.2,<=0.20.3" # TODO: remove when Chroma pins tokenizers internally +] [project.urls] Documentation = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/chroma#readme" @@ -41,6 +45,7 @@ root = "../.." git_describe_command = 'git describe --tags --match="integrations/chroma-v[0-9]*"' [tool.hatch.envs.default] +python = "3.8" installer = "uv" dependencies = [ "coverage[toml]>=6.5",