# Pinned dependencies for video-content-analysis skill (Stage 1)
# Pin to known-good major versions; allow patch/minor updates.
#
# Compatibility note (2026-05-08): pyannote.audio 3.4.0 expects
# torchaudio.AudioMetaData, which was removed in torchaudio 2.7. Pin
# torch+torchaudio to <2.7 until pyannote.audio 3.5+ ships with the
# updated API. Verified locally: torch 2.6.x + torchaudio 2.6.x +
# pyannote.audio 3.4.0 works.

# numpy<2.0 pin: pyannote.audio 3.4.0 + torch 2.6 stack is unstable on numpy 2.x at time of writing.
numpy<2.0,>=1.26
faster-whisper>=1.0.0,<2.0.0
pyannote.audio>=3.1.0,<4.0.0
torch>=2.1.0,<2.7.0
torchaudio>=2.1.0,<2.7.0
soundfile>=0.12.0,<1.0.0

# Stage 5: brand-template Word summary path (orchestrator brand_summary=True).
# python-docx writes summary.docx; xlsxwriter is a transitive dep of
# ane_package.reporting.excel_native imported alongside word_export.
python-docx>=1.2.0,<2.0.0
lxml>=6.1.0,<7.0.0
xlsxwriter>=3.2.9,<4.0.0
jsonschema>=4.21
