uv: uv breaks with --extra-index-url on latest version
Summary
We used to run uv pip install -r requirements-dev.txt daft --pre --extra-index-url https://d1p3klp2t5517h.cloudfront.net/builds/nightly --force-reinstall in our nightly CI with no issue. For the past few days this results in
× No solution found when resolving dependencies:
╰─▶ Because httpx was not found in the package registry and you require httpx==0.27.2, we can conclude that your requirements are unsatisfiable.
hint: An index URL (https://d1p3klp2t5517h.cloudfront.net/builds/nightly) could not be queried due to a lack of valid authentication credentials (403 Forbidden).
Possibly because it’s trying to resolve httpx from our extra index instead of pypi
Platform
Ubuntu 24.04, Darwin 22.3.0 arm64
Version
uv 0.7.2
Python version
No response
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 22 (11 by maintainers)
Commits related to this issue
- ci: Fix nightly tests (#4279) ## Changes Made It seems that our installation command: `uv pip install -r requirements-dev.txt daft --pre --extra-index-url https://d1p3klp2t5517h.cloudfront.net/build... — committed to Eventual-Inc/Daft by desmondcheongzx 2 years ago
- ci: Fix uv issues for nightly TPCH benchmarks (#4289) ## Changes Made uv currently has issues with our nightly tests (see https://github.com/astral-sh/uv/issues/13248). Temporarily fix this by using... — committed to Eventual-Inc/Daft by desmondcheongzx 2 years ago
- ci: Fix uv issues for nightly TPCH benchmarks (#4289) ## Changes Made uv currently has issues with our nightly tests (see https://github.com/astral-sh/uv/issues/13248). Temporarily fix this by using... — committed to Eventual-Inc/Daft by desmondcheongzx 2 years ago
Thanks for sharing these! This difference is what I would expect to see after the upgrade to 0.7. uv no longer ignores 403s by default.
The first question is if the credentials have the correct permissions. If they do, then it’s possible a JFrog configuration is causing it to return 403s even when permissions are correct. In that case, you can configure the index in
pyproject.tomlto ignore 403s withignore-error-codes = [403].Commands
Trace logs in failing case, run in CICD.
The traces in the passing case are much longer and I need to do some fanagling to get it out of our CICD without truncation.