Skip to content

uv run not running to completion #12658

@amotl

Description

@amotl

Summary

Hi. uv 0.6.12 user here. We wanted to report a problem that trips us when trying to invoke uv run from a Python process, in this case using the mcp library, where the program does not terminate (i.e. stalls), while invoking the same program using python works well.

We added a gist including the reproducer program uv_run_stuck_mcp.py, which you can use to replicate the flaw when invoking it like this:

python uv_run_stuck_mcp.py --uv

We've identified those issues to be possibly related to this problem, but we are not sure about it.

Platform

macOS

Version

uv 0.6.12 (Homebrew 2025-04-02)

Python version

Python 3.13.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-mreNeeds more information for reproduction, see #9452

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions