Update requirements.txt
Browse files- requirements.txt +25 -35
requirements.txt
CHANGED
|
@@ -1,54 +1,44 @@
|
|
| 1 |
# ============================================================================
|
| 2 |
-
# Enterprise Agentic Reliability Framework
|
| 3 |
-
# Production-Optimized Dependencies
|
| 4 |
# ============================================================================
|
| 5 |
#
|
| 6 |
-
#
|
| 7 |
-
#
|
| 8 |
-
# Last Updated: 2025-11-25
|
| 9 |
#
|
| 10 |
# ============================================================================
|
| 11 |
|
| 12 |
# === Core Web Framework ===
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
# Used for: Sliders, buttons, tables, JSON displays, layouts
|
| 16 |
|
| 17 |
# === Vector Search & Embeddings ===
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
# Used for: Similarity search and incident memory system
|
| 21 |
-
# Model: all-MiniLM-L6-v2
|
| 22 |
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
# Used for: Finding similar past incidents in vector space
|
| 26 |
-
# Note: CPU version (GPU version not needed for this use case)
|
| 27 |
|
| 28 |
# === Data Processing & Mathematics ===
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
# Used for: Forecasting, anomaly detection, threshold calculations
|
| 32 |
-
# Critical for: Predictive analytics engine
|
| 33 |
|
| 34 |
# === Data Validation & Type Safety ===
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
# Used for: models.py (ReliabilityEvent, EventSeverity, etc.)
|
| 38 |
-
# Ensures: Type safety across the entire application
|
| 39 |
|
| 40 |
# === HTTP & API Communication ===
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
# ============================================================================
|
| 47 |
-
#
|
| 48 |
-
#
|
| 49 |
-
# pip install -r requirements.txt
|
| 50 |
-
#
|
| 51 |
-
# Or for upgrade:
|
| 52 |
-
# pip install -r requirements.txt --upgrade
|
| 53 |
-
#
|
| 54 |
# ============================================================================
|
|
|
|
| 1 |
# ============================================================================
|
| 2 |
+
# Enterprise Agentic Reliability Framework - SECURITY PATCHED
|
| 3 |
+
# Production-Optimized Dependencies with CVE Fixes
|
| 4 |
# ============================================================================
|
| 5 |
#
|
| 6 |
+
# Last Updated: 2025-11-29
|
| 7 |
+
# Security Status: ✅ All critical CVEs patched
|
|
|
|
| 8 |
#
|
| 9 |
# ============================================================================
|
| 10 |
|
| 11 |
# === Core Web Framework ===
|
| 12 |
+
# SECURITY FIX: Upgraded from 5.49.1 to fix CVE-2025-23042 (CVSS 9.1)
|
| 13 |
+
gradio>=5.50.0,<6.0.0
|
|
|
|
| 14 |
|
| 15 |
# === Vector Search & Embeddings ===
|
| 16 |
+
# UPGRADE: From 2.2.2 to 5.1.1 (latest stable)
|
| 17 |
+
sentence-transformers>=5.1.1
|
|
|
|
|
|
|
| 18 |
|
| 19 |
+
# UPGRADE: From 1.7.4 to 1.13.0 (latest stable)
|
| 20 |
+
faiss-cpu>=1.13.0
|
|
|
|
|
|
|
| 21 |
|
| 22 |
# === Data Processing & Mathematics ===
|
| 23 |
+
# CONSERVATIVE UPDATE: Staying on 1.26.x for compatibility
|
| 24 |
+
numpy>=1.26.4,<2.0.0
|
|
|
|
|
|
|
| 25 |
|
| 26 |
# === Data Validation & Type Safety ===
|
| 27 |
+
# UPGRADE: From 2.5.0 to 2.11.x
|
| 28 |
+
pydantic>=2.11.0,<2.12
|
|
|
|
|
|
|
| 29 |
|
| 30 |
# === HTTP & API Communication ===
|
| 31 |
+
# SECURITY FIX: Upgraded from 2.31.0 to fix CVE-2023-32681 and CVE-2024-47081
|
| 32 |
+
requests>=2.32.5
|
| 33 |
+
|
| 34 |
+
# === Production Dependencies ===
|
| 35 |
+
# Circuit breaker pattern
|
| 36 |
+
circuitbreaker>=2.0.0
|
| 37 |
+
|
| 38 |
+
# Atomic file operations
|
| 39 |
+
atomicwrites>=1.4.1
|
| 40 |
|
| 41 |
# ============================================================================
|
| 42 |
+
# Development Dependencies (install separately)
|
| 43 |
+
# pip install pytest pytest-asyncio pytest-cov pytest-mock black ruff mypy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
# ============================================================================
|