Skip to content

Commit 9fd0943

Browse files
clauderishikanthc
authored andcommitted
fix: move override-dependencies to correct TOML scope [tool.uv]
The override-dependencies key was placed after [tool.uv.sources], causing it to be parsed as tool.uv.sources.override-dependencies instead of tool.uv.override-dependencies. uv would silently ignore it, meaning torchcodec was never actually excluded on Linux aarch64. https://claude.ai/code/session_01YMyUwpk577EradV93tMMqS
1 parent 6221843 commit 9fd0943

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

internal/transcription/adapters/py/pyannote/pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ dev = [
1616
"pytest-mock>=3.12.0",
1717
]
1818

19+
[tool.uv]
20+
override-dependencies = [
21+
"torchcodec ; sys_platform != 'linux' or platform_machine != 'aarch64'"
22+
]
23+
1924
[tool.uv.sources]
2025
torch = [
2126
{ index = "pytorch-cpu", marker = "sys_platform == 'darwin'" },
@@ -28,10 +33,6 @@ torchaudio = [
2833
{ index = "pytorch", marker = "platform_machine == 'x86_64' and sys_platform == 'linux'" },
2934
]
3035

31-
override-dependencies = [
32-
"torchcodec ; sys_platform != 'linux' or platform_machine != 'aarch64'"
33-
]
34-
3536
[[tool.uv.index]]
3637
name = "pytorch"
3738
url = "https://download.pytorch.org/whl/cu126"

0 commit comments

Comments
 (0)