mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 23:58:34 +00:00
- Remove unused imports from check_deps.py, flow_visualizer.py, and test files - Add noqa comments for intentional imports in check_deps.py - Fix PDF test to properly create temporary test file and handle missing dependencies - Address all lint F401 errors identified in CI Co-Authored-By: João <joao@crewai.com>
40 lines
858 B
Python
40 lines
858 B
Python
#!/usr/bin/env python3
|
|
|
|
print("Checking optional dependencies availability:")
|
|
|
|
try:
|
|
import chromadb # noqa: F401
|
|
print('chromadb: AVAILABLE')
|
|
except ImportError:
|
|
print('chromadb: NOT AVAILABLE')
|
|
|
|
try:
|
|
import pdfplumber # noqa: F401
|
|
print('pdfplumber: AVAILABLE')
|
|
except ImportError:
|
|
print('pdfplumber: NOT AVAILABLE')
|
|
|
|
try:
|
|
import pyvis # noqa: F401
|
|
print('pyvis: AVAILABLE')
|
|
except ImportError:
|
|
print('pyvis: NOT AVAILABLE')
|
|
|
|
try:
|
|
import opentelemetry # noqa: F401
|
|
print('opentelemetry: AVAILABLE')
|
|
except ImportError:
|
|
print('opentelemetry: NOT AVAILABLE')
|
|
|
|
try:
|
|
import auth0 # noqa: F401
|
|
print('auth0: AVAILABLE')
|
|
except ImportError:
|
|
print('auth0: NOT AVAILABLE')
|
|
|
|
try:
|
|
import aisuite # noqa: F401
|
|
print('aisuite: AVAILABLE')
|
|
except ImportError:
|
|
print('aisuite: NOT AVAILABLE')
|