Files
breakpilot-compliance/backend-compliance/requirements.txt
Benjamin Admin 71b8c33270
Some checks failed
CI/CD / go-lint (push) Has been skipped
CI/CD / python-lint (push) Has been skipped
CI/CD / nodejs-lint (push) Has been skipped
CI/CD / test-go-ai-compliance (push) Failing after 34s
CI/CD / test-python-backend-compliance (push) Successful in 34s
CI/CD / test-python-document-crawler (push) Successful in 24s
CI/CD / test-python-dsms-gateway (push) Successful in 18s
CI/CD / validate-canonical-controls (push) Successful in 12s
CI/CD / Deploy (push) Has been skipped
fix(docker): make torch/sentence-transformers optional to unblock builds
Move torch and sentence-transformers to requirements-reranker.txt so
the main Docker build succeeds even if these large packages fail to
install. The reranker code already handles missing imports gracefully
when RERANK_ENABLED=false (the default).

This fixes the production deployment — builds were failing because of
the ~800MB torch dependency, preventing ALL new code from deploying.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 15:06:51 +01:00

54 lines
1023 B
Plaintext

# BreakPilot Compliance Backend Dependencies
# Web Framework
fastapi==0.123.9
uvicorn==0.38.0
starlette==0.49.3
# HTTP Client (consent-service proxy, DSR proxy)
httpx==0.28.1
requests==2.32.5
# Validation & Types
pydantic==2.12.5
pydantic_core==2.41.5
email-validator==2.3.0
annotated-types==0.7.0
# Authentication
PyJWT==2.10.1
python-multipart>=0.0.22
# AI / Anthropic (compliance AI assistant)
anthropic==0.75.0
# Re-Ranking: see requirements-reranker.txt (optional, CPU-only PyTorch)
# PDF Generation (GDPR export, audit reports)
weasyprint>=68.0
reportlab==4.2.5
Jinja2==3.1.6
# Document Processing (Word import for consent admin)
mammoth==1.11.0
Markdown==3.9
# PDF Text Extraction (document import analysis)
PyMuPDF==1.25.3
# Utilities
python-dateutil==2.9.0.post0
# Database
asyncpg==0.30.0
SQLAlchemy==2.0.36
psycopg2-binary==2.9.10
# Cache (Valkey/Redis - rate limiter middleware)
redis==5.2.1
# Security: Pin transitive dependencies to patched versions
idna>=3.7
cryptography>=42.0.0
pillow>=12.1.1