uv pip install whisperx error
Describe the bug
The current configuration exclude-newer = "1 week" under [tool.uv] and [tool.uv.pip] in pyproject.toml completely breaks the installation of standard dependencies like numpy and whisperx when using modern uv versions.
This happens because some upstream registry mirrors or specific wheels occasionally lack standard PEP 700 upload date metadata. When uv encounters a package without an upload date, it conservatively filters it out under the strict 1 week rule, resulting in an unresolvable dependency error (No solution found when resolving dependencies).
To Reproduce
- Use
uv(v0.11.x or v0.12.x) in the repository environment. - Run
uv pip install whisperxor try to sync dependencies that trigger anumpydownload. - See error:
warning: whisperx-3.8.7rc1-py3-none-any.whl is missing an upload date
× No solution found when resolving dependencies:
╰─▶ Because there are no versions of whisperx and you require whisperx, we can conclude that your requirements are unsatisfiable.
hint: `whisperx` was filtered by `exclude-newer` to only include packages uploaded before...Expected behavior
The repository should allow smooth dependency installation without strict time-locking constraints that rely heavily on perfect upstream registry metadata.
Proposed Solution
Modify pyproject.toml to either remove the restriction or explicitly disable it:
[tool.uv]
#exclude-newer = "1 week"
override-dependencies = [
"torchcodec>=0.6.0,<0.8.0; (sys_platform == 'linux' and platform_machine == 'x86_64') or sys_platform == 'darwin' or sys_platform == 'win32'",
]
[tool.uv.pip]
#exclude-newer = "1 week"Environment
- OS: Windows / Linux / macOS
- uv version: 0.11.23 / 0.12.0
Source: m-bain/whisperX