Skip to content

[BUG]: uv sync fails in ../python/agents/RAG #818

@stumbo

Description

@stumbo

Name of sample affected

python/agents/RAG

Description of issue

Running uv sync in agents/RAG generates an error, duplicate key.

The underlying problem appears to be conflicts between uv and poetry.

Environment

e.g.

  • OS & Architecture: Ubuntu 25.10(x86_64)
  • Python version: 3.12.12

Reproduction steps or code

python/agents/RAG (main) > uv sync

Error log

  21 | [tool.poetry.dependencies]
     |              ^^^^^^^^^^^^
  duplicate key

error: Failed to parse: `pyproject.toml`
  Caused by: TOML parse error at line 21, column 14
   |
21 | [tool.poetry.dependencies]
   |              ^^^^^^^^^^^^
duplicate key

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions