From 556dcc9e4628abc651e4266d4bc7af5b1ff36f83 Mon Sep 17 00:00:00 2001 From: Stefano Fiorucci Date: Mon, 23 Jun 2025 10:26:11 +0200 Subject: [PATCH] chore: update transformers test dependency (#9537) --- pyproject.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4ba6fd5c7..c2eb0633c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -86,15 +86,15 @@ dependencies = [ "numpy>=2", # Haystack is compatible both with numpy 1.x and 2.x, but we test with 2.x "numba>=0.54.0", # This pin helps uv resolve the dependency tree. See https://github.com/astral-sh/uv/issues/7881 - "pandas", # AzureOCRDocumentConverter, CSVDocumentCleaner, CSVDocumentSplitter, - # EvaluationRunResult, XLSXToDocument, and pipeline tests + "pandas", # AzureOCRDocumentConverter, CSVDocumentCleaner, CSVDocumentSplitter, + # EvaluationRunResult, XLSXToDocument, and pipeline tests - "transformers[torch, sentencepiece]>=4.51.1,<4.52", # ExtractiveReader, TransformersSimilarityRanker, LocalWhisperTranscriber, HFGenerators... - "huggingface_hub>=0.27.0", # Hugging Face API Generators and Embedders - "sentence-transformers>=4.1.0", # Sentence Transformers Embedders, Rankers, and SASEvaluator - "langdetect", # TextLanguageRouter and DocumentLanguageClassifier - "openai-whisper>=20231106", # LocalWhisperTranscriber - "arrow>=1.3.0", # Jinja2TimeExtension + "transformers[torch, sentencepiece]>=4.52.4,<4.53", # ExtractiveReader, TransformersSimilarityRanker, LocalWhisperTranscriber, HFGenerators... + "huggingface_hub>=0.27.0", # Hugging Face API Generators and Embedders + "sentence-transformers>=4.1.0", # Sentence Transformers Embedders, Rankers, and SASEvaluator + "langdetect", # TextLanguageRouter and DocumentLanguageClassifier + "openai-whisper>=20231106", # LocalWhisperTranscriber + "arrow>=1.3.0", # Jinja2TimeExtension # Converters