fix(build): remove duplicate langchain-anthropic entry in pyproject.toml #3909

Open
opened 2026-04-06 07:20:36 +00:00 by hurui200320 · 0 comments
Member

Metadata

  • Commit Message: fix(build): remove duplicate langchain-anthropic entry in pyproject.toml
  • Branch: fix/duplicate-dependency

Background

During a review of the project's build configuration, a duplicate dependency entry was found in pyproject.toml. While harmless (pip handles duplicates gracefully), it indicates a copy-paste error and adds unnecessary noise to the dependency list.

Current Behavior

In pyproject.toml, lines 37 and 39 both contain:

"langchain-anthropic>=0.2.0",

The full context:

dependencies = [
    ...
    "langchain-anthropic>=0.2.0",   # line 37
    "langchain-openai>=0.2.0",
    "langchain-anthropic>=0.2.0",   # line 39 (duplicate)
    ...
]

Expected Behavior

Only one entry for langchain-anthropic>=0.2.0 should exist in the dependencies list.

Subtasks

  • Remove the duplicate langchain-anthropic>=0.2.0 line from pyproject.toml
  • Run nox (all default sessions), fix any errors

Definition of Done

This issue is complete when:

  • All subtasks above are completed and checked off.
  • A Git commit is created where the first line of the commit message matches the Commit Message in Metadata exactly, followed by a blank line, then additional lines providing relevant details about the implementation.
  • The commit is pushed to the remote on the branch matching the Branch in Metadata exactly.
  • The commit is submitted as a pull request to master, reviewed, and merged before this issue is marked done.
## Metadata - **Commit Message**: `fix(build): remove duplicate langchain-anthropic entry in pyproject.toml` - **Branch**: `fix/duplicate-dependency` ## Background During a review of the project's build configuration, a duplicate dependency entry was found in `pyproject.toml`. While harmless (pip handles duplicates gracefully), it indicates a copy-paste error and adds unnecessary noise to the dependency list. ## Current Behavior In `pyproject.toml`, lines 37 and 39 both contain: ```toml "langchain-anthropic>=0.2.0", ``` The full context: ```toml dependencies = [ ... "langchain-anthropic>=0.2.0", # line 37 "langchain-openai>=0.2.0", "langchain-anthropic>=0.2.0", # line 39 (duplicate) ... ] ``` ## Expected Behavior Only one entry for `langchain-anthropic>=0.2.0` should exist in the dependencies list. ## Subtasks - [ ] Remove the duplicate `langchain-anthropic>=0.2.0` line from pyproject.toml - [ ] Run `nox` (all default sessions), fix any errors ## Definition of Done This issue is complete when: - All subtasks above are completed and checked off. - A Git commit is created where the **first line** of the commit message matches the Commit Message in Metadata exactly, followed by a blank line, then additional lines providing relevant details about the implementation. - The commit is pushed to the remote on the branch matching the **Branch** in Metadata exactly. - The commit is submitted as a **pull request** to `master`, reviewed, and **merged** before this issue is marked done.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#3909
No description provided.