Skip to content

Commit bbeb3fa

Browse files
satraclaude
andcommitted
fix(qwen-asr): pin numba>=0.60 so the venv resolves on Python 3.12
qwen-asr depends on librosa without a version floor; in a fresh Python 3.12 venv uv backtracks librosa -> numba -> llvmlite to llvmlite 0.36.0, which predates 3.12 support, failing the install ("Cannot install on Python version 3.12.0"). Pinning numba>=0.60 keeps the chain on llvmlite>=0.43 (numba 0.66 / llvmlite 0.48 / librosa 0.11 — all 3.12-compatible). Verified by clean-venv dry-run resolution. Unblocks the Qwen3-ASR backend in analyze_audio runs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 44d9044 commit bbeb3fa

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • src/senselab/audio/tasks/speech_to_text

src/senselab/audio/tasks/speech_to_text/qwen.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
# exists to prevent).
4141
"torch>=2.8,<2.9",
4242
"torchaudio>=2.8,<2.9",
43+
# qwen-asr depends on librosa without a floor; on Python 3.12 uv otherwise
44+
# backtracks librosa -> numba -> llvmlite to the ancient llvmlite 0.36.0,
45+
# which has no 3.12 support ("Cannot install on Python version 3.12.0").
46+
# Pin a modern numba floor so the chain resolves to llvmlite>=0.43 (3.12-ok).
47+
"numba>=0.60",
4348
]
4449
_QWEN_PYTHON = "3.12"
4550

0 commit comments

Comments
 (0)