Skip to content

uv add hangs forever for complex pyproject #16779

@alex-shapiro

Description

@alex-shapiro

Summary

The uv add command is hanging forever for the following repo and commit: alex-shapiro/PufferLib@21807b3.

uv version: 0.9.10
OS version: macOS 15.6.1 (24G90)
command: uv add

Command log:

uv add --dev ruff -vvv
DEBUG uv 0.9.10 (Homebrew 2025-11-17)
TRACE Checking shared lock for `/Users/alex/.cache/uv` at `/Users/alex/.cache/uv/.lock`
DEBUG Acquired shared lock for `/Users/alex/.cache/uv`
DEBUG Found project root: `/Users/alex/Projects/PufferLib`
DEBUG No workspace root found, using project root
TRACE Checking lock for `/Users/alex/Projects/PufferLib` at `/var/folders/lz/jby64bjj69z_mwv96l9wz6c00000gn/T/uv-1247407c379164de.lock`
DEBUG Acquired lock for `/Users/alex/Projects/PufferLib`
DEBUG No Python version file found in workspace: /Users/alex/Projects/PufferLib
DEBUG Using Python request `==3.13.*` from `requires-python` metadata
DEBUG Checking for Python environment at: `.venv`
TRACE Found cached interpreter info for Python 3.13.0, skipping query of: .venv/bin/python3
DEBUG The project environment's Python version satisfies the request: `Python ==3.13.*`
TRACE The project environment's Python version meets the Python requirement: `==3.13.*`
TRACE The virtual environment's Python interpreter meets the Python preference: `prefer managed`
DEBUG Released lock at `/var/folders/lz/jby64bjj69z_mwv96l9wz6c00000gn/T/uv-1247407c379164de.lock`
TRACE Checking lock for `.venv` at `.venv/.lock`
DEBUG Acquired lock for `.venv`

Platform

macOS 15.6.1 (24G90)

Version

0.9.10 (Homebrew 2025-11-17)

Python version

Python 3.13.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingperformancePotential performance improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions