Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Loose pinning for the optional tools package #2390

Open
alexhermida opened this issue Mar 17, 2025 · 0 comments
Open

[BUG] Loose pinning for the optional tools package #2390

alexhermida opened this issue Mar 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@alexhermida
Copy link

Description

Currently, latest version of CrewAI it's broken for the optional installation of tools due to the current issue in the tools library.

I'd suggest to have a less loose pining for the tools package since now it's

tools = ["crewai-tools>=0.37.0"]

Thanks for the great package!

Steps to Reproduce

  1. pip install "crewai[tools]"
import crewai_tools

Expected behavior

import crewai_tools

Working fine for the production release.

Screenshots/Code snippets

site-packages/crewai_tools/tools/databricks_query_tool/databricks_query_tool.py", line 5, in <module>
    from databricks.sdk import WorkspaceClient
ModuleNotFoundError: No module named 'databricks'

Operating System

macOS Sonoma

Python Version

3.12

crewAI Version

0.105.0

crewAI Tools Version

0.38.0

Virtual Environment

Venv

Evidence

site-packages/crewai_tools/tools/databricks_query_tool/databricks_query_tool.py", line 5, in <module>
    from databricks.sdk import WorkspaceClient
ModuleNotFoundError: No module named 'databricks'

Possible Solution

Hard pin tools to a version for each release.

Additional context

N.A

@alexhermida alexhermida added the bug Something isn't working label Mar 17, 2025
vinibrsl added a commit to crewAIInc/crewAI-tools that referenced this issue Mar 17, 2025
Databricks is an optional dependency, but the tool package is imported by
default, leading to ImportError exceptions.

Related: crewAIInc/crewAI#2390
devin-ai-integration bot added a commit that referenced this issue Mar 17, 2025
Co-Authored-By: Joe Moura <joao@crewai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant