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

Support latest langchain-experimental version #56

Closed
vincelwt opened this issue Jun 26, 2024 · 4 comments
Closed

Support latest langchain-experimental version #56

vincelwt opened this issue Jun 26, 2024 · 4 comments

Comments

@vincelwt
Copy link

Hi,
It seems adding motleycrew via Poetry fails with the latest langchain versions:

> poetry add motleycrew            
Using version ^0.1.5 for motleycrew

Updating dependencies
Resolving dependencies... (0.0s)

Because no versions of motleycrew match >0.1.5,<0.2.0
 and motleycrew (0.1.5) depends on langchain-experimental (>=0.0.57,<0.0.58), motleycrew (>=0.1.5,<0.2.0) requires langchain-experimental (>=0.0.57,<0.0.58).
So, because test-motleycrew depends on both langchain-experimental (^0.0.62) and motleycrew (^0.1.5), version solving failed.

These are my Poetry deps:

[tool.poetry.dependencies]
python = ">=3.10,<=3.13"
lunary = "^1.0.36"
langchain-core = "^0.2.10"
langchain-openai = "^0.1.10"
langchain-experimental = "^0.0.62"
@whimo
Copy link
Contributor

whimo commented Jul 2, 2024

Hi @vincelwt, sorry for making you wait.
We wanted to update our Langchain dependency a while ago, but didn't because CrewAI, whom we are optionally dependent on, required Langchain < 0.2. Yesterday their dependency was updated, so I'm hoping to update ours today. Stay tuned!

@whimo
Copy link
Contributor

whimo commented Jul 4, 2024

Unfortunately, CrewAI rolled back its update and returned to Langchain 0.1. We can't make the update now as we're using CrewAI agents in our examples and tests.

I'm leaving this issue open and will return to it when CrewAI sorts out its dependencies. Meanwhile, we'll be thinking of a good way to manage optional deps, such as other agent frameworks, so that we can avoid having issues like this one.

@whimo
Copy link
Contributor

whimo commented Jul 9, 2024

Merged in #58

@whimo whimo closed this as completed Jul 9, 2024
@whimo
Copy link
Contributor

whimo commented Jul 9, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants