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
I'm using UV with an --index-url that contains basic auth credentials (e.g. for the form https://username@password:hostname/simple. It appears that UV is using the URL correctly to read the index, but on accessing individual packages it does not.
$ uv pip install --index-url https://[REDACTED]:[REDACTED]@[REDACTED]/artifactory/api/pypi/python-all/simple requests
error: Failed to download: requests==2.31.0
Caused by: HTTP status client error (403 Forbidden) for url (https://[REDACTED]/artifactory/api/pypi/python-all/packages/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl#sha256=58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f)
A similar request works without issues using Pip:
$ pip install --index-url https://[REDACTED]:[REDACTED]@[REDACTED]/artifactory/api/pypi/python-all/simple flask
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://[REDACTED]:****@[REDACTED]/artifactory/api/pypi/python-all/simple
Collecting flask
...
The text was updated successfully, but these errors were encountered:
I'm using UV with an
--index-url
that contains basic auth credentials (e.g. for the formhttps://username@password:hostname/simple
. It appears that UV is using the URL correctly to read the index, but on accessing individual packages it does not.A similar request works without issues using Pip:
The text was updated successfully, but these errors were encountered: