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] Langchain discrepancy between crewai and crewai-tools #1442

Open
jerryrinaldo opened this issue Oct 14, 2024 · 4 comments
Open

[BUG] Langchain discrepancy between crewai and crewai-tools #1442

jerryrinaldo opened this issue Oct 14, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@jerryrinaldo
Copy link

Description

I am installing both crewai and crewai-tools by placing them in a requirements.txt file. I am installing the latest versions of both crewai and crewai-tools

crewai==0.70.1 crewai-tools==0.12.1

I am not able to install them as there is a langchain discrepancy between both the packages.

crewai 0.70.1 depends on langchain<0.3.0 and >=0.2.16 crewai-tools depends on langchain<=0.3 and >0.2 embedchain 0.1.123 depends on langchain<0.4.0 and >=0.3.1

The versions that I am able to install without any conflicting dependencies is crewai==0.51.1 and crewai-tools==0.8.3

Steps to Reproduce

  1. Have a requirements .txt file with the following crewai==0.70.1 and crewai-tools==0.12.1.
  2. pip install -r requirements.txt

Expected behavior

This conflicting dependencies occurs,
crewai 0.70.1 depends on langchain<0.3.0 and >=0.2.16 crewai-tools depends on langchain<=0.3 and >0.2 embedchain 0.1.123 depends on langchain<0.4.0 and >=0.3.1

Screenshots/Code snippets

NA

Operating System

Windows 10

Python Version

3.10

crewAI Version

0.70.1

crewAI Tools Version

0.12.1

Virtual Environment

Venv

Evidence

NA

Possible Solution

None

Additional context

Na

@jerryrinaldo jerryrinaldo added the bug Something isn't working label Oct 14, 2024
@jerryrinaldo jerryrinaldo changed the title Langchain discrepancy between crewai and crewai-tools [BUG] Langchain discrepancy between crewai and crewai-tools Oct 14, 2024
@pythonbyte
Copy link
Collaborator

Thanks for letting us know @jerryrinaldo
A PR on Tools was added to address this issue
https:/crewAIInc/crewAI-tools/pull/111/files

@ME-Msc
Copy link

ME-Msc commented Oct 17, 2024

Is it solved? I can't install the crewai-tools==0.13.0

@zinyando
Copy link
Contributor

@ME-Msc crewai-tools latest version is still 0.12.1 according to https://pypi.org/project/crewai-tools/, v0.13.0 hasn't been released yet.

@ME-Msc
Copy link

ME-Msc commented Oct 17, 2024

Yes. I am asking for v0.13.0 of crewai-tools mentioned in https:/crewAIInc/crewAI-tools/pull/111/files.
I noticed that it has been merged as v0.13.0 (shown in the following link), but has not been released on pypi yet.

line 3 in https:/crewAIInc/crewAI-tools/blob/main/pyproject.toml

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

4 participants