Update utils/installation.py
Browse files- utils/installation.py +6 -5
utils/installation.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
"""
|
| 2 |
Installation helper utilities for ARF Demo - FIXED VERSION
|
|
|
|
| 3 |
"""
|
| 4 |
import subprocess
|
| 5 |
import sys
|
|
@@ -14,11 +15,11 @@ class InstallationHelper:
|
|
| 14 |
|
| 15 |
@staticmethod
|
| 16 |
def install_arf_oss() -> Dict[str, Any]:
|
| 17 |
-
"""Install ARF OSS package"""
|
| 18 |
try:
|
| 19 |
-
logger.info("Installing ARF OSS v3.3.
|
| 20 |
result = subprocess.run(
|
| 21 |
-
[sys.executable, "-m", "pip", "install", "agentic-reliability-framework==3.3.
|
| 22 |
capture_output=True,
|
| 23 |
text=True,
|
| 24 |
check=True
|
|
@@ -26,7 +27,7 @@ class InstallationHelper:
|
|
| 26 |
|
| 27 |
return {
|
| 28 |
"success": True,
|
| 29 |
-
"message": "✅ ARF OSS v3.3.
|
| 30 |
"output": result.stdout
|
| 31 |
}
|
| 32 |
|
|
@@ -89,7 +90,7 @@ class InstallationHelper:
|
|
| 89 |
|
| 90 |
if not oss_installed:
|
| 91 |
recommendations.append(
|
| 92 |
-
"Install ARF OSS: `pip install agentic-reliability-framework==3.3.
|
| 93 |
)
|
| 94 |
recommendations.append(
|
| 95 |
"💡 Without OSS, demo runs in mock mode with simulated analysis"
|
|
|
|
| 1 |
"""
|
| 2 |
Installation helper utilities for ARF Demo - FIXED VERSION
|
| 3 |
+
Updated to v3.3.9 (actual PyPI version) - SURGICAL FIX
|
| 4 |
"""
|
| 5 |
import subprocess
|
| 6 |
import sys
|
|
|
|
| 15 |
|
| 16 |
@staticmethod
|
| 17 |
def install_arf_oss() -> Dict[str, Any]:
|
| 18 |
+
"""Install ARF OSS package - FIXED: Updated to v3.3.9"""
|
| 19 |
try:
|
| 20 |
+
logger.info("Installing ARF OSS v3.3.9...") # FIXED: v3.3.7 → v3.3.9
|
| 21 |
result = subprocess.run(
|
| 22 |
+
[sys.executable, "-m", "pip", "install", "agentic-reliability-framework==3.3.9"], # FIXED: v3.3.9
|
| 23 |
capture_output=True,
|
| 24 |
text=True,
|
| 25 |
check=True
|
|
|
|
| 27 |
|
| 28 |
return {
|
| 29 |
"success": True,
|
| 30 |
+
"message": "✅ ARF OSS v3.3.9 installed successfully", # FIXED: v3.3.9
|
| 31 |
"output": result.stdout
|
| 32 |
}
|
| 33 |
|
|
|
|
| 90 |
|
| 91 |
if not oss_installed:
|
| 92 |
recommendations.append(
|
| 93 |
+
"Install ARF OSS: `pip install agentic-reliability-framework==3.3.9`" # FIXED: v3.3.9
|
| 94 |
)
|
| 95 |
recommendations.append(
|
| 96 |
"💡 Without OSS, demo runs in mock mode with simulated analysis"
|