chore: require sentence-transformers >=3 and pin transformers <4.46

This commit is contained in:
Andy Lee
2025-10-06 15:52:56 -07:00
parent 1484406a8d
commit 5ba9cf6442
3 changed files with 18 additions and 14 deletions

View File

@@ -22,8 +22,10 @@ dependencies = [
"sglang",
"ollama",
"requests>=2.25.0",
"sentence-transformers>=2.2.0,<3.0",
"transformers<4.43",
"sentence-transformers>=3.0.0",
# Pin transformers below 4.46: 4.46.0 introduced Python 3.10-only typing (PEP 604) and
# breaks our Python 3.9 test matrix when pulled in by sentence-transformers.
"transformers<4.46",
"openai>=1.0.0",
# PDF parsing dependencies - essential for document processing
"PyPDF2>=3.0.0",