SIGN IN SIGN UP

fix(huggingface): bump transformers and sentence-transformers lower bounds (#35522)

Bump `transformers` and `sentence-transformers` lower bounds in
`langchain-huggingface` to resolve a dependency conflict with
`huggingface-hub` 1.x. The existing constraints allowed
`huggingface-hub>=0.33.4,<2.0.0` (so hub 1.x is valid), but
`transformers` 4.x requires `huggingface-hub<1.0` — causing the
pre-release CI job to fail when `uv pip install --force-reinstall`
resolved hub to 1.5.0 while leaving `transformers` at 4.56.2.

Breaking change for users on transformers 4.x or
sentence-transformers<5.2.0 who install langchain-huggingface[full].
M
Mason Daugherty committed
6d39b7289200bc9fe6ec9d6cecc56b484da7594b
Parent: 93d63b9
Committed by GitHub <[email protected]> on 3/2/2026, 3:45:06 PM