CI: pin dependency resolution with constraints.txt
All checks were successful
Deploy to VPS / test (push) Successful in 1m32s
Deploy to VPS / deploy (push) Successful in 2m56s

Fresh-venv installs started failing with pip ResolutionTooDeep because
requirements.txt is unpinned. Constrain CI and image builds to the
frozen, test-passing local set; requirements.txt stays the source of
intent.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Carlos Escalante
2026-07-03 19:52:39 -06:00
parent d3b5188b67
commit f2bcce702a
4 changed files with 187 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ jobs:
run: |
cd backend
python3 -m venv /tmp/test-venv
/tmp/test-venv/bin/pip install --quiet -r requirements.txt -r requirements-dev.txt
/tmp/test-venv/bin/pip install --quiet -r requirements.txt -r requirements-dev.txt -c constraints.txt
/tmp/test-venv/bin/python -m pytest tests/ -q
- name: Frontend typecheck + API type drift gate