petter2025 commited on
Commit
e23e5b1
·
verified ·
1 Parent(s): 8853053

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +25 -35
requirements.txt CHANGED
@@ -1,54 +1,44 @@
1
  # ============================================================================
2
- # Enterprise Agentic Reliability Framework
3
- # Production-Optimized Dependencies
4
  # ============================================================================
5
  #
6
- # Total Size: ~340MB
7
- # Install Time: ~2 minutes
8
- # Last Updated: 2025-11-25
9
  #
10
  # ============================================================================
11
 
12
  # === Core Web Framework ===
13
- gradio==5.49.1
14
- # Purpose: Main UI framework for the entire application
15
- # Used for: Sliders, buttons, tables, JSON displays, layouts
16
 
17
  # === Vector Search & Embeddings ===
18
- sentence-transformers==2.2.2
19
- # Purpose: Convert incident descriptions to 384-dimensional vectors
20
- # Used for: Similarity search and incident memory system
21
- # Model: all-MiniLM-L6-v2
22
 
23
- faiss-cpu==1.7.4
24
- # Purpose: Fast approximate nearest neighbor search
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
- numpy==1.24.3
30
- # Purpose: Numerical computing and statistical operations
31
- # Used for: Forecasting, anomaly detection, threshold calculations
32
- # Critical for: Predictive analytics engine
33
 
34
  # === Data Validation & Type Safety ===
35
- pydantic==2.5.0
36
- # Purpose: Runtime data validation and type checking
37
- # Used for: models.py (ReliabilityEvent, EventSeverity, etc.)
38
- # Ensures: Type safety across the entire application
39
 
40
  # === HTTP & API Communication ===
41
- requests==2.31.0
42
- # Purpose: HTTP library for API calls
43
- # Used for: Optional HuggingFace API integration
44
- # Note: Only active if HF_TOKEN environment variable is set
 
 
 
 
 
45
 
46
  # ============================================================================
47
- # Installation Instructions:
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
  # ============================================================================