From 634d5dab02880f33b57a36e2e4ba1e5795865534 Mon Sep 17 00:00:00 2001 From: Tanya Date: Thu, 8 Jan 2026 14:57:01 -0500 Subject: [PATCH] chore: Update CI workflow to include numpy and pillow dependencies for faster builds --- .gitea/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b81fe1a..fe6ae14 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -426,7 +426,9 @@ jobs: python3 -m venv /tmp/backend-venv # Use venv's pip and python directly (avoids shell activation issues) - /tmp/backend-venv/bin/pip install --no-cache-dir fastapi uvicorn pydantic sqlalchemy psycopg2-binary redis rq python-jose python-multipart python-dotenv bcrypt + # Install core dependencies including numpy and pillow (needed for module-level imports) + # Skip heavy ML dependencies (tensorflow, deepface, opencv) for faster builds + /tmp/backend-venv/bin/pip install --no-cache-dir fastapi uvicorn pydantic sqlalchemy psycopg2-binary redis rq python-jose python-multipart python-dotenv bcrypt numpy pillow # Set environment variables for validation export PYTHONPATH=$(pwd)