Skip to content

Commit b2be972

Browse files
committed
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]
1 parent 22ff86d commit b2be972

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

backend/python/chatterbox/requirements.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ protobuf
33
certifi
44
packaging
55
setuptools
6-
poetry
6+
poetry
7+
# Pin a modern omegaconf so pip doesn't backtrack to 1.x — old 1.x sdists
8+
# pull ruamel.yaml<0.15 whose setup.py is Python-2-only and fails to build.
9+
omegaconf>=2.0

0 commit comments

Comments
 (0)