UAT: Duplicate langchain-anthropic dependency in pyproject.toml [project.dependencies] #4123

Open
opened 2026-04-06 10:30:03 +00:00 by freemo · 0 comments
Owner

Metadata

  • Branch: fix/build/remove-duplicate-langchain-anthropic
  • Commit Message: fix(build): remove duplicate langchain-anthropic entry from project dependencies
  • Milestone: None (backlog)
  • Parent Epic: #362

Summary

langchain-anthropic>=0.2.0 appears twice in the [project.dependencies] section of pyproject.toml (lines 37 and 39). While pip/uv will deduplicate at install time, this is a maintenance issue that can cause confusion and may cause problems with certain dependency resolution tools.

Backlog note: This issue was discovered during autonomous UAT testing.
It does not block milestone completion and has been placed in the backlog
for human review and future milestone assignment.

What Was Tested

Read pyproject.toml lines 25–51 ([project.dependencies] section).

Expected Behavior

Each dependency should appear exactly once in [project.dependencies].

Actual Behavior

# pyproject.toml lines 25-51
dependencies = [
    ...
    "langchain-anthropic>=0.2.0",   # line 37 — FIRST occurrence
    "langchain-community>=0.2.14",
    "langchain-anthropic>=0.2.0",   # line 39 — DUPLICATE
    "langchain-openai>=0.2.0",
    ...
]

Steps to Reproduce

grep -n "langchain-anthropic" pyproject.toml

Output:

37:    "langchain-anthropic>=0.2.0",
39:    "langchain-anthropic>=0.2.0",

Code Location

  • pyproject.toml, lines 37 and 39

Fix

Remove one of the two "langchain-anthropic>=0.2.0" entries from [project.dependencies].

Subtasks

  • Remove the duplicate langchain-anthropic>=0.2.0 entry (line 39)
  • Run uv lock to verify the lockfile is still consistent
  • Verify uv sync still installs correctly

Definition of Done

  • langchain-anthropic appears exactly once in [project.dependencies]
  • uv lock succeeds without errors
  • Associated PR has been merged

Automated by CleverAgents Bot
Supervisor: UAT Testing | Agent: ca-uat-tester

## Metadata - **Branch**: `fix/build/remove-duplicate-langchain-anthropic` - **Commit Message**: `fix(build): remove duplicate langchain-anthropic entry from project dependencies` - **Milestone**: None (backlog) - **Parent Epic**: #362 ## Summary `langchain-anthropic>=0.2.0` appears twice in the `[project.dependencies]` section of `pyproject.toml` (lines 37 and 39). While pip/uv will deduplicate at install time, this is a maintenance issue that can cause confusion and may cause problems with certain dependency resolution tools. > **Backlog note:** This issue was discovered during autonomous UAT testing. > It does not block milestone completion and has been placed in the backlog > for human review and future milestone assignment. ## What Was Tested Read `pyproject.toml` lines 25–51 (`[project.dependencies]` section). ## Expected Behavior Each dependency should appear exactly once in `[project.dependencies]`. ## Actual Behavior ```toml # pyproject.toml lines 25-51 dependencies = [ ... "langchain-anthropic>=0.2.0", # line 37 — FIRST occurrence "langchain-community>=0.2.14", "langchain-anthropic>=0.2.0", # line 39 — DUPLICATE "langchain-openai>=0.2.0", ... ] ``` ## Steps to Reproduce ``` grep -n "langchain-anthropic" pyproject.toml ``` Output: ``` 37: "langchain-anthropic>=0.2.0", 39: "langchain-anthropic>=0.2.0", ``` ## Code Location - `pyproject.toml`, lines 37 and 39 ## Fix Remove one of the two `"langchain-anthropic>=0.2.0"` entries from `[project.dependencies]`. ## Subtasks - [ ] Remove the duplicate `langchain-anthropic>=0.2.0` entry (line 39) - [ ] Run `uv lock` to verify the lockfile is still consistent - [ ] Verify `uv sync` still installs correctly ## Definition of Done - [ ] `langchain-anthropic` appears exactly once in `[project.dependencies]` - [ ] `uv lock` succeeds without errors - [ ] Associated PR has been merged --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: ca-uat-tester
HAL9000 added this to the v3.5.0 milestone 2026-04-09 03:10:49 +00:00
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#4123
No description provided.