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] Dependency Conflicts with Swarms and Langchain Packages #616

Open
ao2-tech opened this issue Oct 27, 2024 · 2 comments
Open

[BUG] Dependency Conflicts with Swarms and Langchain Packages #616

ao2-tech opened this issue Oct 27, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ao2-tech
Copy link

ao2-tech commented Oct 27, 2024

Describe the bug
Currently experiencing a recurring dependency conflict caused by outdated versions of langchain-community and langchain-experimental within the latest release of swarms (5.8.6).
Error Details:

ERROR: Cannot install -r /requirements.txt (line 127), -r /requirements.txt (line 312) and langchain-community==0.3.2 because these package versions have conflicting dependencies.

The conflict is caused by:
  - The project requires `langchain-community==0.3.2`
  - `langchain-experimental 0.3.2` depends on `langchain-community<0.4.0, >=0.3.0`
  - `swarms 5.8.6` depends on `langchain-community==0.0.29`

Additional context
The issue stems from running swarms 5.8.6 relying on an older version of langchain-community (0.0.29), which is incompatible with newer versions of langchain-experimental and langchain-community (which some other functionalities depend on). Interestingly, earlier versions of swarms, such as 2.2.9, appear to support more recent dependencies than the latest version supports.

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@ao2-tech ao2-tech added the bug Something isn't working label Oct 27, 2024
Copy link

Hello there, thank you for opening an Issue ! 🙏🏻 The team was notified and they will get back to you asap.

@kyegomez
Copy link
Owner

@ao2-tech i need to update the requirements.txt with my personal requirements and check to see what packages I have on my computer

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

2 participants