- Add __init__ method to PDFKnowledgeSource that checks PDFPLUMBER_AVAILABLE
- Update test_optional_dependencies.py to expect ImportError during instantiation
- Fixes test_optional_pdf_import_error in test_lite_installation.py
- Ensures consistent behavior across all optional dependency implementations
Co-Authored-By: João <joao@crewai.com>
- 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>
- Restructure pyproject.toml to move non-essential dependencies to optional extras
- Add graceful handling for missing optional dependencies in core modules
- Create memory, knowledge, telemetry, visualization, auth, and llm-integrations extras
- Implement helpful ImportError messages directing users to install specific extras
- Add comprehensive test suite for lite installation scenarios
- Maintain backward compatibility with existing installations
- Support minimal core installation with Agent/Crew/Task functionality
Addresses GitHub issue #3026 for lightweight crewAI installation
Co-Authored-By: João <joao@crewai.com>