You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use AWS code-artifact as a private PyPi repository. Different tools (poetry/pip etc) have different mechanisms for controlling where to install from, i.e. for pip you need to set
I did a quick test of uv - I like what I see so far but first without --verbose it doesn't tell me the index url where packages are being installed from. I think this is useful in cases where users are using a private index.
Setting --verbose it seems that it's ignoring PIP_INDEX_URL, i.e. uv pip install torch --verbose
It looks like its downloading from https://files.pythonhosted.org and not AWS. Is there an alternative mechanism for setting PIP_INDEX_URL globally?
Also in passing, the default timeout of 300s isn't long enough to install torch.
error: Failed to download distributions
Caused by: Failed to fetch wheel: torch==2.2.1
Caused by: Failed to extract source distribution
Caused by: Failed to download distribution due to network timeout. Try increasing UV_HTTP_TIMEOUT (current value: 300s).
The text was updated successfully, but these errors were encountered:
We use AWS code-artifact as a private PyPi repository. Different tools (poetry/pip etc) have different mechanisms for controlling where to install from, i.e. for pip you need to set
PIP_INDEX_URL="https://aws:${CODEARTIFACT_AUTH_TOKEN}@${domain}-${account}.d.codeartifact.${region}.amazonaws.com/pypi/${repository}/simple/"
I did a quick test of
uv
- I like what I see so far but first without--verbose
it doesn't tell me the index url where packages are being installed from. I think this is useful in cases where users are using a private index.Setting
--verbose
it seems that it's ignoringPIP_INDEX_URL
, i.e.uv pip install torch --verbose
It looks like its downloading from
https://files.pythonhosted.org
and not AWS. Is there an alternative mechanism for setting PIP_INDEX_URL globally?Also in passing, the default timeout of 300s isn't long enough to install torch.
The text was updated successfully, but these errors were encountered: