# Runtime dependencies for .deb package (Debian 11 / Python 3.9).
# Keep pins aligned with requirements-runtime-deb13.txt where feasible; some
# packages intentionally differ (e.g. pydantic, pyyaml, numpy) due to wheel
# availability on Python 3.9 vs 3.13. Use requirements-dev.txt for CI/dev-only
# extras that don't ship in the .deb (pytest, grpcio-tools).
# Installed into /usr/share/ai-feature-controller/vendor/ via pip3 --target
# (or uv pip install --target, the default vendoring path).
grpcio==1.80.0
protobuf==6.31.1
pydantic==2.5.0
pyyaml==6.0.1
numpy==1.24.3
pillow==10.1.0
requests==2.31.0
httpx==0.25.2  # For thumbnail fetching
# Keep the NLS stack pinned so cross-platform wheel downloads do not spend
# minutes backtracking across the fast-moving Hugging Face release set.
transformers==4.45.2
tokenizers==0.20.3
huggingface-hub==0.25.2

# NLS (Natural Language Search) dependencies
ftfy==6.1.1
regex==2023.12.25
dateparser==1.2.0

# silero VAD (gen7e_binary STT backend) needs onnxruntime on-device; without it
# the pipeline soft-fails to fixed-window splitting (spawns test_whisper on every
# 30s window). qcs8550 does not import it. Debian 11 devices run Python 3.9, which
# has no onnxruntime wheel past 1.16.x; the marker keeps this file safe to install
# on 3.10+ interpreters too (matches requirements-runtime-deb13.txt).
onnxruntime==1.16.0; python_version < "3.10"
onnxruntime==1.20.0; python_version >= "3.10"
