fix(voxcpm): Force using a recent voxcpm version to kick the dependency solver (#9150)

fix(voxcpm): Allow packages to be fetched from all indexes

Signed-off-by: Richard Palethorpe <io@richiejp.com>
This commit is contained in:
Richard Palethorpe
2026-03-27 14:38:51 +00:00
committed by GitHub
parent d3f629f183
commit cf84db36ec
2 changed files with 10 additions and 1 deletions

View File

@@ -8,6 +8,15 @@ else
source $backend_dir/../common/libbackend.sh
fi
# The PyTorch CPU/CUDA indexes mirror common packages (e.g. requests) with
# limited, often outdated version sets. uv's default "first-index" strategy
# locks to the first index that carries a package, so it can pick e.g.
# requests==2.28.1 from the PyTorch index instead of a newer version from
# PyPI. voxcpm's transitive deps (datasets>=3 → requests>=2.32.2) need the
# PyPI versions. "unsafe-best-match" is safe here because we control both
# indexes and there is no dependency confusion risk.
export UV_INDEX_STRATEGY=unsafe-best-match
installRequirements
if [ "x${USE_PIP}" == "xtrue" ]; then

View File

@@ -3,5 +3,5 @@ torch
torchaudio
soundfile
numpy
voxcpm
voxcpm>=1.5.0
torchcodec