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:
- Install uv 0.9.14
- Clear caches and sync against PyPI (works OK):
rm -rf .venv ~/.cache/uv && uv sync -vv
- 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
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:
rm -rf .venv ~/.cache/uv && uv sync -vvrm -rf .venv ~/.cache/uv && uv sync --index="https://nexus.mycompany.com/repository/PyPI/simple/" -vvFrom the logs (see attached), it looks like it's waiting for a response for the
hatchlingmetadata because I don't see the following entry when it hangs:TRACE Received package metadata for: hatchlinguv_sync_0.9.13.txt
uv_sync_0.9.14.txt
Platform
macOs and Ubuntu
Version
0.9.14
Python version
3.11.14