Skip to content

[Installation]: Failure to install dependencies for dev environment due to incompatible pydantic version #23352

@hickeyma

Description

@hickeyma

Your current environment

Failed to install Python dependencies for dev environment because pydantic version is incompatible for openai-harmony>0.0.3 package. It requires pydantic version 2.11.7.

Failure as follows:

$ uv pip install -r requirements/common.txt -r requirements/dev.txt --torch-backend=auto

  × No solution found when resolving dependencies:
  ╰─▶ Because openai-harmony>=0.0.3 depends on pydantic>=2.11.7 and only the following versions of openai-harmony are available:
          openai-harmony<=0.0.3
          openai-harmony==0.0.4
      we can conclude that openai-harmony>=0.0.3 depends on pydantic>=2.11.7.
      And because you require openai-harmony>=0.0.3 and pydantic==2.11.5, we can conclude that your requirements are unsatisfiable.
(vllm) root@marty-gpu-dev-l40s:/data/dev/github.com/vllm-project/vllm# vim requirements/common.txt 
(vllm) root@marty-gpu-dev-l40s:/data/dev/github.com/vllm-project/vllm# vim requirements/common.txt 
(vllm) root@marty-gpu-dev-l40s:/data/dev/github.com/vllm-project/vllm# uv pip install -r requirements/common.txt -r requirements/dev.txt --torch-backend=auto
  × No solution found when resolving dependencies:
  ╰─▶ Because you require pydantic>=2.11.7 and pydantic==2.11.5, we can conclude that your requirements are unsatisfiable.

How you are installing vllm

 uv pip install -r requirements/common.txt -r requirements/dev.txt --torch-backend=auto

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions