- Remove the watermark feature end to end (watermarked.py, apply_watermark/ mark_delivery/watermark_filter, WATERMARK env, assets/) and its tests; self-host delivery is now unconditionally clean. - Delete the unused cli/ package and .github/workflows/publish-cli.yml. - Delete docs/ (compliance) and design.md; drop the dangling references in the legal page and the design-token/ui comments. - Consolidate requirements: requirements.txt (runtime) + requirements-test.txt (unit + E2E); remove requirements-e2e.txt and requirements-ml-e2e.txt and point both CI jobs at the single test file. Add libgl1 to the unit job (scenedetect -> opencv-python links libGL). Verified in the CI container: unit 701 passed; API E2E 209; pipeline E2E 127; Playwright 19 passed / 1 skipped.
23 lines
691 B
Text
23 lines
691 B
Text
# Thin test environment for BOTH the unit and E2E suites: everything the
|
|
# collected tests import at module level, WITHOUT the heavy ML stack
|
|
# (torch/ultralytics/mediapipe/faster-whisper). The pipeline modules import
|
|
# those lazily behind their feature gates, and the tests exercise the
|
|
# gated-off paths. The tail adds what only the E2E lanes need: the async HTTP
|
|
# client, the ASGI lifespan helper, the ffmpeg-driven media/scene helpers and
|
|
# the download helpers.
|
|
pytest
|
|
pillow
|
|
httpx
|
|
pydantic
|
|
numpy
|
|
opencv-python-headless
|
|
python-dotenv
|
|
google-genai
|
|
fastapi
|
|
python-multipart
|
|
pytest-asyncio==1.4.0
|
|
asgi-lifespan==2.1.0
|
|
pytest-timeout==2.4.0
|
|
scenedetect==0.7
|
|
tqdm==4.67.3
|
|
yt-dlp==2026.8.19
|