uv: Using UV_EXTRA_INDEX_URL fails in 0.7, regression from 0.6.17
Summary
I have an internal facing repository configured with: UV_EXTRA_INDEX_URL=…
this index doesn’t mirror the pypi.org repository
When I try to install packages with UV 0.7 I get an error with “package not found” for packages that don’t exist in our index, which is correct However this error should be ignored by default and the next index checked
this can be fixed by explicitly adding the extra index in the pyproject.toml
with the flag
ignore-error-codes = [401]
I would propose that for the env var UV_EXTRA_INDEX_URL that the ignore codes are set to sensible defaults, rather than having to manually configure the repository
Platform
macOS, linux build pipelines etc
Version
uv 0.7
Python version
3.12
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 6
- Comments: 25 (12 by maintainers)
Indeed, it is fixed in 0.7.1. Thank you for the quick reply.
@jtfmumm I’m sorry, this is my fault. When debugging pixi 0.7.0, I’ve mistakenly removed auth user from pypi server. It works fine with pixi 0.7.1 after adding auth user.
That’s what I’ve got at the moment, getting one of our devs to grab me full logs @jtfmumm