Files
crewAI/lib/crewai/tests
Devin AI 072f4aa2c2 fix: make lancedb an optional dependency to fix Windows installation (#5045)
lancedb >=0.30 dropped Windows (win_amd64) wheels, causing 'crewai install'
to fail on Windows with:
  Distribution lancedb==0.30.1 can't be installed because it doesn't have a
  source distribution or wheel for the current platform

Changes:
- Move lancedb from core dependencies to [project.optional-dependencies]
  under a new 'memory-storage' extra
- Guard the top-level 'import lancedb' in lancedb_storage.py with
  try/except ImportError, raising a clear install hint
- Guard the lazy import in Memory.model_post_init with a helpful
  ImportError message pointing to 'pip install crewai[memory-storage]'
- Add 3 tests verifying graceful handling when lancedb is absent

Co-Authored-By: João <joao@crewai.com>
2026-03-24 18:32:33 +00:00
..
2026-03-04 00:45:09 -05:00
2025-10-20 14:10:19 -07:00
2025-12-04 16:53:19 -05:00
2026-02-13 21:34:37 -03:00
2025-10-20 14:10:19 -07:00
2026-03-24 19:03:35 +08:00
2026-02-13 21:34:37 -03:00
2025-12-04 13:34:29 -08:00
2025-10-20 14:10:19 -07:00
2025-12-01 18:56:56 -05:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00