Closed
Description
In the last few days since switching to uv
, I have seen errors that I have not seen before with pip
.
I see:
error: Failed to download distributions
Caused by: Failed to fetch wheel: torch==2.2.1
Caused by: Failed to extract source distribution
Caused by: request or response body error: operation timed out
Caused by: operation timed out
Error: Process completed with exit code 2.
I see this on the CI for vws-python-mock
, which requires installing 150 packages:
uv pip install --upgrade --editable .[dev]
...
Resolved 150 packages in 1.65s
Downloaded 141 packages in 21.41s
Installed 150 packages in 283ms
I do this in parallel across many jobs on GitHub Actions, mostly on ubuntu-latest
.
This happened with torch 2.2.0
before the recent release of torch 2.2.1
.
It has not happened with any other dependencies.
The wheels for torch
are pretty huge: https://pypi.org/project/torch/#files.
uv
is always at the latest version as I run curl -LsSf https://astral.sh/uv/install.sh | sh
. In the most recent example, this is uv 0.1.9
.
Failures: