Skip to content

uv sync hangs on 0.9.14 with PyPI proxy #16937

@georgeflug

Description

@georgeflug

Summary

This issue started happening on 0.9.14. It works OK on 0.9.13 or earlier.

When running uv sync, the command hangs indefinitely. This occurs when connecting to a PyPI proxy on Sonatype Nexus - it does not occur when using the PyPI index directly.

Repro steps:

  1. Install uv 0.9.14
  2. Clear caches and sync against PyPI (works OK): rm -rf .venv ~/.cache/uv && uv sync -vv
  3. Clear caches and sync against Nexus (hangs): rm -rf .venv ~/.cache/uv && uv sync --index="https://nexus.mycompany.com/repository/PyPI/simple/" -vv

From the logs (see attached), it looks like it's waiting for a response for the hatchling metadata because I don't see the following entry when it hangs: TRACE Received package metadata for: hatchling

uv_sync_0.9.13.txt
uv_sync_0.9.14.txt

Platform

macOs and Ubuntu

Version

0.9.14

Python version

3.11.14

Metadata

Metadata

Assignees

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