mozilla / mozilla/bugbug

Remove `langchain-community` from dependencies if it's not used

Open Beginner friendly
#5,914 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
570
Forks
351
Avg merge
2d 13h
Merged PRs (30d)
65

Description

We had a non-obvious conflict — pip was only warning about it rather than failing. The chain was: langchain-community==0.4.1dataclasses-json==0.6.7marshmallow>=3.18.0,<4.0.0. uv's strict resolver caught this transitive conflict that pip silently ignored.

I'll file a follow-up issue to remove langchain-community, as I don't think it's actually needed.

Originally posted by @suhaibmujahid in https://github.com/mozilla/bugbug/pull/5913#discussion_r3035628099

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository's dependency declarations for langchain-community, then search the Python sources for imports or references to it. Done means the dependency is removed if unused and the dependency resolver no longer reports the described transitive conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, tooling
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.