mirror of
https://github.com/mudler/LocalAI.git
synced 2026-05-16 20:52:08 -04:00
fix(chatterbox): pin omegaconf in every profile requirements file
The previous pin in requirements.txt was ineffective: installRequirements runs a separate `pip install --requirement` per file, so resolution does not carry over to the per-profile file where chatterbox-tts is declared. With chatterbox-tts's unpinned `omegaconf` dep, pip backtracked through 1.x sdists into ruamel.yaml<0.15, whose Python-2-era setup.py fails on Python 3.10+. Pin omegaconf==2.3.0 next to chatterbox-tts in every profile file (matches what upstream chatterbox uses). Drop the dead pin from requirements.txt. Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Assisted-by: Claude:claude-opus-4-7 [Claude Code]
This commit is contained in:
@@ -4,6 +4,9 @@ torch
|
||||
torchaudio
|
||||
numpy>=1.24.0,<1.26.0
|
||||
transformers
|
||||
# Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose
|
||||
# ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build).
|
||||
omegaconf==2.3.0
|
||||
# https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289
|
||||
chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster
|
||||
#chatterbox-tts==0.1.4
|
||||
@@ -2,6 +2,9 @@ torch
|
||||
torchaudio
|
||||
transformers
|
||||
numpy>=1.24.0,<1.26.0
|
||||
# Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose
|
||||
# ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build).
|
||||
omegaconf==2.3.0
|
||||
# https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289
|
||||
chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster
|
||||
accelerate
|
||||
|
||||
@@ -3,6 +3,9 @@ torch
|
||||
torchaudio
|
||||
transformers
|
||||
numpy>=1.24.0,<1.26.0
|
||||
# Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose
|
||||
# ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build).
|
||||
omegaconf==2.3.0
|
||||
# https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289
|
||||
chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster
|
||||
accelerate
|
||||
|
||||
@@ -3,6 +3,9 @@ torch==2.10.0+rocm7.0
|
||||
torchaudio==2.10.0+rocm7.0
|
||||
transformers
|
||||
numpy>=1.24.0,<1.26.0
|
||||
# Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose
|
||||
# ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build).
|
||||
omegaconf==2.3.0
|
||||
# https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289
|
||||
chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster
|
||||
accelerate
|
||||
|
||||
@@ -3,6 +3,9 @@ torch
|
||||
torchaudio
|
||||
transformers
|
||||
numpy>=1.24.0,<1.26.0
|
||||
# Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose
|
||||
# ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build).
|
||||
omegaconf==2.3.0
|
||||
# https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289
|
||||
chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster
|
||||
accelerate
|
||||
|
||||
@@ -3,5 +3,8 @@ torch
|
||||
torchaudio
|
||||
transformers
|
||||
numpy>=1.24.0,<1.26.0
|
||||
# Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose
|
||||
# ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build).
|
||||
omegaconf==2.3.0
|
||||
chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster
|
||||
accelerate
|
||||
|
||||
@@ -3,5 +3,8 @@ torch
|
||||
torchaudio
|
||||
transformers
|
||||
numpy>=1.24.0,<1.26.0
|
||||
# Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose
|
||||
# ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build).
|
||||
omegaconf==2.3.0
|
||||
chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster
|
||||
accelerate
|
||||
|
||||
@@ -3,5 +3,8 @@ torchaudio
|
||||
accelerate
|
||||
numpy>=1.24.0,<1.26.0
|
||||
transformers
|
||||
# Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose
|
||||
# ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build).
|
||||
omegaconf==2.3.0
|
||||
# https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289
|
||||
chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster
|
||||
@@ -3,7 +3,4 @@ protobuf
|
||||
certifi
|
||||
packaging
|
||||
setuptools
|
||||
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
|
||||
poetry
|
||||
Reference in New Issue
Block a user