Skip to content

Commit

Permalink
chore: Chroma - pin tokenizers (#1223)
Browse files Browse the repository at this point in the history
* try adding tokenizers to dependencies

* pin tokenizers

* fix

* nicer format
  • Loading branch information
anakin87 authored Nov 28, 2024
1 parent 94a29cb commit 5751605
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion integrations/chroma/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = ["haystack-ai", "chromadb>=0.5.17", "typing_extensions>=4.8.0"]
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"
Expand Down

0 comments on commit 5751605

Please sign in to comment.