From fa311dfd58236225ef5f4e233890730894ddad12 Mon Sep 17 00:00:00 2001 From: Vortiago Date: Wed, 30 Sep 2026 07:10:07 +0200 Subject: [PATCH] fix(deps): pin av below 19 so faster-whisper can open audio again PyAV 19.0.0 removes the metadata_errors argument that faster-whisper 1.2.1 passes to av.open(), so every transcribe fails with a TypeError. CI picked it up on 2026-09-30: both bridge E2E jobs fail in the transcribe stage, while the last green main run installed av 18.1.0. --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5d4b97ba..02113697 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -130,7 +130,9 @@ Issues = "https://github.com/Vortiago/TapScribe/issues" # Silicon once already; `test_pyproject_whisper_mlx_admits_a_real_release` # pins it). whisper-live = ["whisperlivekit>=0.1"] -whisper-cpu = ["faster-whisper>=1.0,<2"] +# `av<19`: faster-whisper 1.2.1 calls `av.open(..., metadata_errors=)`, and +# PyAV 19 removes that argument, so every transcribe fails with a TypeError. +whisper-cpu = ["faster-whisper>=1.0,<2", "av<19"] whisper-mlx = ["mlx-whisper>=0.4,<0.5; sys_platform == 'darwin' and platform_machine == 'arm64'"] # --- Voxtral (Mistral) ------------------------------------------------------