Skip to content
New issue

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

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

Already on GitHub? # to your account

Current master build's dependencies are in conflict #1115

Open
danieldekay opened this issue Feb 6, 2025 · 3 comments
Open

Current master build's dependencies are in conflict #1115

danieldekay opened this issue Feb 6, 2025 · 3 comments

Comments

@danieldekay
Copy link
Contributor

danieldekay commented Feb 6, 2025

Poetry won't resolve the different versions in the langchain family of modules, as they are too restrictive.

I don't want to play around fixing numbers randomly, in case the limitation has a solid reason.

Because no versions of langchain-gigachat match >0.3.3,<0.3.4 || >0.3.4,<0.4.0
 and langchain-gigachat (0.3.3) depends on langchain-core (>=0.3,<0.4), langchain-gigachat (>=0.3.3,<0.3.4 || >0.3.4,<0.4.0) requires langchain-core (>=0.3,<0.4).
And because langchain-gigachat (0.3.4) depends on langchain-core (>=0.3,<0.4)
 and gpt-researcher (0.8.5) @ git+https://github.com/assafelovic/gpt-researcher.git@master depends on langchain-gigachat (^0.3.3), gpt-researcher (0.8.5) @ git+https://github.com/assafelovic/gpt-researcher.git@master requires langchain-core (>=0.3,<0.4).```
@chrishart0
Copy link
Contributor

#1106

@assafelovic
Copy link
Owner

Hey pushed this now: 629c129

Can you pull and see if it resolves the issue?

@danieldekay
Copy link
Contributor Author

Yes, this installs again. Is there a reason we don't go to 0.3 yet?

[tool.poetry.dependencies]
python = ">=3.11,<3.12"
gpt-researcher = { git = "https://github.com/assafelovic/gpt-researcher.git", branch = "master" }
langchain = "^0.2"
langchain-core = "^0.2"
langgraph = "^0.2"

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

No branches or pull requests

3 participants