Skip to content

Why qwen-agent=0.3.33 need a specific pydantic version? #776

@zucanlv

Description

@zucanlv

I find that qwen-agent=0.3.33 need pydantic version exactly equal 2.9.2. It is too likely to cause version conflict with other packages.

pip install -U "qwen-agent[gui,rag,code_interpreter,mcp]"
......
......
......
Installing collected packages: pydantic-core, pydantic
  Attempting uninstall: pydantic-core
    Found existing installation: pydantic_core 2.41.5
    Uninstalling pydantic_core-2.41.5:
      Successfully uninstalled pydantic_core-2.41.5
  Attempting uninstall: pydantic
    Found existing installation: pydantic 2.12.5
    Uninstalling pydantic-2.12.5:
      Successfully uninstalled pydantic-2.12.5
**ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
openai-harmony 0.0.4 requires pydantic>=2.11.7, but you have pydantic 2.9.2 which is incompatible.**
Successfully installed pydantic-2.9.2 pydantic-core-2.23.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions