mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-10-03 00:55:14 -07:00
build: pin git dependencies to commits
linacodec and Zipvoice (both from a third-party personal account) and Qwen3-TTS installed from branch HEADs, so a force-push upstream could silently change what a release ships. linacodec/Zipvoice are pinned to the commits resolved in the working venv; Qwen3-TTS to current upstream HEAD, verified to be the installed 0.1.1.
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ RUN pip install --no-cache-dir --prefix=/install -r requirements.txt
|
|||||||
RUN pip install --no-cache-dir --prefix=/install --no-deps chatterbox-tts
|
RUN pip install --no-cache-dir --prefix=/install --no-deps chatterbox-tts
|
||||||
RUN pip install --no-cache-dir --prefix=/install --no-deps hume-tada
|
RUN pip install --no-cache-dir --prefix=/install --no-deps hume-tada
|
||||||
RUN pip install --no-cache-dir --prefix=/install \
|
RUN pip install --no-cache-dir --prefix=/install \
|
||||||
git+https://github.com/QwenLM/Qwen3-TTS.git
|
git+https://github.com/QwenLM/Qwen3-TTS.git@022e286b98fbec7e1e916cb940cdf532cd9f488e
|
||||||
|
|
||||||
|
|
||||||
# === Stage 3: Runtime ===
|
# === Stage 3: Runtime ===
|
||||||
|
|||||||
@@ -17,9 +17,10 @@ qwen-tts>=0.0.5
|
|||||||
# LuxTTS (voice cloning engine)
|
# LuxTTS (voice cloning engine)
|
||||||
# piper-phonemize needs custom index (no PyPI wheels)
|
# piper-phonemize needs custom index (no PyPI wheels)
|
||||||
--find-links https://k2-fsa.github.io/icefall/piper_phonemize.html
|
--find-links https://k2-fsa.github.io/icefall/piper_phonemize.html
|
||||||
# linacodec is a git-only dep of Zipvoice (uv-only source, pip can't resolve it)
|
# linacodec is a git-only dep of Zipvoice (uv-only source, pip can't resolve it).
|
||||||
linacodec @ git+https://github.com/ysharma3501/LinaCodec.git
|
# Both are pinned to commits so a force-push upstream can't change what we ship.
|
||||||
Zipvoice @ git+https://github.com/ysharma3501/LuxTTS.git
|
linacodec @ git+https://github.com/ysharma3501/LinaCodec.git@c0ae7c7285e121475c27592cfbb600624b714290
|
||||||
|
Zipvoice @ git+https://github.com/ysharma3501/LuxTTS.git@381b1609cb1d1afbf756b87809c623464cfd8ac5
|
||||||
|
|
||||||
# Chatterbox TTS sub-dependencies (chatterbox-tts itself is installed
|
# Chatterbox TTS sub-dependencies (chatterbox-tts itself is installed
|
||||||
# --no-deps in the setup script because it pins numpy<1.26 / torch==2.6
|
# --no-deps in the setup script because it pins numpy<1.26 / torch==2.6
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ setup-python:
|
|||||||
echo "Detected Apple Silicon — installing MLX dependencies..."
|
echo "Detected Apple Silicon — installing MLX dependencies..."
|
||||||
{{ pip }} install -r {{ backend_dir }}/requirements-mlx.txt
|
{{ pip }} install -r {{ backend_dir }}/requirements-mlx.txt
|
||||||
fi
|
fi
|
||||||
{{ pip }} install git+https://github.com/QwenLM/Qwen3-TTS.git
|
{{ pip }} install git+https://github.com/QwenLM/Qwen3-TTS.git@022e286b98fbec7e1e916cb940cdf532cd9f488e
|
||||||
{{ pip }} install pyinstaller ruff pytest pytest-asyncio -q
|
{{ pip }} install pyinstaller ruff pytest pytest-asyncio -q
|
||||||
echo "Python environment ready."
|
echo "Python environment ready."
|
||||||
|
|
||||||
@@ -109,7 +109,7 @@ setup-python:
|
|||||||
& "{{ pip }}" install -r {{ backend_dir }}/requirements.txt
|
& "{{ pip }}" install -r {{ backend_dir }}/requirements.txt
|
||||||
& "{{ pip }}" install --no-deps chatterbox-tts
|
& "{{ pip }}" install --no-deps chatterbox-tts
|
||||||
& "{{ pip }}" install --no-deps hume-tada
|
& "{{ pip }}" install --no-deps hume-tada
|
||||||
& "{{ pip }}" install git+https://github.com/QwenLM/Qwen3-TTS.git
|
& "{{ pip }}" install git+https://github.com/QwenLM/Qwen3-TTS.git@022e286b98fbec7e1e916cb940cdf532cd9f488e
|
||||||
& "{{ pip }}" install pyinstaller ruff pytest pytest-asyncio -q
|
& "{{ pip }}" install pyinstaller ruff pytest pytest-asyncio -q
|
||||||
Write-Host "Python environment ready."
|
Write-Host "Python environment ready."
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user