Skip to content

[Bug]: uv installation seems broken for nightly wheels (dependency problem with outlines and filename<>metadata mismatch) #24126

@vadimkantorov

Description

@vadimkantorov

Your current environment

# pyproject.toml - a single file in curdir

[build-system]
requires = ["setuptools>=65", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name =  "test_vllm"
version = "0.0.0.1"
requires-python = ">=3.12"
dependencies = [
    "vllm",
    "torch>=2.8",
    "flash-attn==2.8.2",
]

[tool.uv.sources]
vllm = { url = "https://vllm-wheels.s3.amazonaws.com/038e9be4eb7a63189c8980845d80cb96957b9919/vllm-1.0.0.dev-cp38-abi3-manylinux1_x86_64.whl" }

🐛 Describe the bug

Following:

Installing pyproject.toml (uv sync --active) leads to a nasty error:

  × No solution found when resolving dependencies:
  ╰─▶ Because outlines==0.1.11 depends on outlines-core==0.1.26 and vllm==0.10.1rc2.dev397+g038e9be4e depends on
      outlines{platform_machine == 's390x'}==0.1.11, we can conclude that vllm==0.10.1rc2.dev397+g038e9be4e and
      outlines-core{platform_machine != 's390x'}==0.2.10 are incompatible.
      And because vllm==0.10.1rc2.dev397+g038e9be4e depends on outlines-core{platform_machine != 's390x'}==0.2.10, we can
      conclude that vllm==0.10.1rc2.dev397+g038e9be4e cannot be used.
      And because only vllm==0.10.1rc2.dev397+g038e9be4e is available and your project depends on vllm, we can conclude
      that your project's requirements are unsatisfiable.

Appending to pyproject.toml the following:

[tool.uv]
override-dependencies = ["outlines-core==0.2.10"]

and rerunning uv sync --active gives a new nasty error (might be related to astral-sh/uv#8082):

error: Failed to install: vllm-1.0.0.dev0-cp38-abi3-manylinux1_x86_64.whl (vllm==1.0.0.dev0 (from https://vllm-wheels.s3.amazonaws.com/038e9be4eb7a63189c8980845d80cb96957b9919/vllm-1.0.0.dev-cp38-abi3-manylinux1_x86_64.whl))
  Caused by: Wheel version does not match filename: 0.10.1rc2.dev397+g038e9be4e != 1.0.0.dev0

and rerunning uv sync --active is becoming broken due to a fresh-new nasty error (might be a uv bug?):

error: Failed to parse `uv.lock`
  Caused by: The entry for package `vllm` v0.10.1rc2.dev397+g038e9be4e has wheel `vllm-1.0.0.dev0-cp38-abi3-manylinux1_x86_64.whl` with inconsistent version: v1.0.0.dev0

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions