mirror of
https://github.com/mudler/LocalAI.git
synced 2026-05-17 04:56:52 -04:00
fix(chatterbox): pin omegaconf>=2.0 to prevent resolver backtracking
Without an upper-floor pin, pip's resolver backtracks through omegaconf 1.x sdists when installing chatterbox-tts. Old 1.x setups depend on ruamel.yaml<0.15, whose setup.py uses Python-2-era names (Str, Bytes) and fails to build on Python 3.10+, breaking the darwin python backend build. Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Assisted-by: Claude:claude-opus-4-7 [Claude Code]
This commit is contained in:
@@ -3,4 +3,7 @@ protobuf
|
||||
certifi
|
||||
packaging
|
||||
setuptools
|
||||
poetry
|
||||
poetry
|
||||
# Pin a modern omegaconf so pip doesn't backtrack to 1.x — old 1.x sdists
|
||||
# pull ruamel.yaml<0.15 whose setup.py is Python-2-only and fails to build.
|
||||
omegaconf>=2.0
|
||||
Reference in New Issue
Block a user