Closed skellys closed 6 months ago
Thanks, I think I'll need to setup an Artifactory repo to reproduce.
Tangential, is there a way to specify the index-url for a project? Without needing to specify it for each new package install.
You can use an environment variable e.g. UV_INDEX_URL
— we'll add support for reading a persistent configuration file in the future too.
@charliermarsh Following up - I think we can close this issue. I'm no longer able to repro this as of version 0.1.18. There was another (separate) issue where I got HTTP 401 (unauthorized) errors for versions 0.1.22, 0.1.23, but I didn't observe that behavior again as of 0.1.24. Everything seems to work as of the latest version (at time of writing: 0.1.35).
Oh great! Thank you for following up.
uv
version 0.1.16 hangs indefinitely on certain installs for me when using--index-url
to install from JFrog Artifactory. I am not able to get this to happen when installing from the usual Internet/pypi.org. Fortunately, I am able to reliably reproduce my issue with a particular mix of 3 old, simple packages together, or when they're a part of a largerrequirements.txt
:Repro
to repro, run in the official
python:3.11-slim
docker image:the end of the verbose logs before it hangs:
Workaround
Pretty simple - just do regular
pip install
for those upfront, thenuv pip install
for the rest!Can anyone else using JFrog Artifactory reproduce this issue? I ran this on an EC2 instance in AWS region us-east-1.