Skip to content

Conversation

@wyzBelinda
Copy link

@wyzBelinda wyzBelinda commented Nov 23, 2025

when you new langgraph agent demo, you need to get all of its dependencies. while you use "uv add ." will cause self-dependencies and get an error as below. merging this request will help people who really "getting started" avoid facing more mistakes and get stucked.

TO fix :
error: Requirement name agent matches project name agent, but self-dependencies are not permitted without the --dev or --optional flags. If your project name (agent) is shadowing that of a third-party dependency, consider renaming the project.

Overview

Type of change

Type: [Replace with: New documentation page / Update existing documentation / Fix typo/bug/link/formatting / Remove outdated content / Other]

Related issues/PRs

  • GitHub issue:
  • Feature PR:
  • Linear issue:
  • Slack thread:

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed

(Internal team members only / optional): Create a preview deployment as necessary using the Create Preview Branch workflow

Additional notes

TO fix :
error: Requirement name `agent` matches project name `agent`, but self-dependencies are not permitted without the `--dev` or `--optional` flags. If your project name (`agent`) is shadowing that of a third-party dependency, consider renaming the project.
@wyzBelinda wyzBelinda requested a review from lnhsingh as a code owner November 23, 2025 11:52
@github-actions github-actions bot added langgraph For docs changes to LangGraph oss labels Nov 23, 2025
@wyzBelinda wyzBelinda marked this pull request as draft November 23, 2025 14:56
@wyzBelinda wyzBelinda changed the title Replace 'uv add .' with 'uv sync' in local-server.mdx Replace 'uv add .' with 'uv sync' in local-server.mdx to ensure it can be workable without self-dependencie error Nov 23, 2025
@wyzBelinda wyzBelinda marked this pull request as ready for review November 23, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

langgraph For docs changes to LangGraph oss

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant