Skip to content

uv 0.7.x and 0.6.x have different behaviors running the same command #13443

@andy971022

Description

@andy971022

Summary

0.6.x

No error

0.7.x

ENV UV_KEYRING_PROVIDER subprocess
ENV UV_EXTRA_INDEX_URL our_private_index_url
ENV PATH /root/.local/bin:$PATH

INFO[0036] Running: [/bin/sh -c uv tool install keyring --with keyrings.google-artifactregistry-auth     && uv sync --group group_1 --group  group_2 --extra-index-url $UV_EXTRA_INDEX_URL] 
  × No solution found when resolving dependencies:
  ╰─▶ Because keyring was not found in the package registry and you require
      keyring, we can conclude that your requirements are unsatisfiable.

      hint: An index URL
      (our private index URL)
      could not be queried due to a lack of valid authentication credentials
      (401 Unauthorized).

Platform

python:3.10-slim-bookworm

Version

uv 0.6.x, uv 0.7.x

Python version

python 3.10

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions