# ================================================================
# Sonarr-Seedr Integration - Python Requirements
# ================================================================
#
# Installation:
#   pip install -r requirements.txt
#
# For development/building, also install:
#   pip install -r requirements-dev.txt
#
# ================================================================

# Core Web Framework
# Minimums past known fixes (2026-11-20): Starlette 0.49.1 (Range-header DoS on
# file responses), python-multipart 0.0.18, requests 2.32.4, Jinja2 3.1.6, Pillow 11.3.0.
# Pinned to the tested major versions: an unpinned rebuild pulled Starlette 1.x, which broke the old gzip code.
fastapi>=0.165.0,<1
starlette>=1.10.0,<2
uvicorn[standard]>=0.24.0
python-multipart>=0.0.18

# Data Validation & Config
pydantic>=2.8.0
python-dotenv>=1.0.0

# HTTP Client
requests>=2.32.4

# Async File Operations
aiofiles>=23.2.1

# Template Engine
jinja2>=3.1.6

# File System Monitoring
watchdog>=3.0.0

# Windows System Tray Icon
pystray>=0.19.0
Pillow>=11.3.0

# Pairing QR codes, drawn locally (app/web/qr.py)
qrcode>=7.4.2

# Version comparison in the self-update check (app/service/update_service.py)
packaging>=23.0

# Optional but recommended
colorama>=0.4.6  # For colored terminal output on Windows
python-dateutil>=2.8.2  # For date/time utilities
