Skip to content

proxy indexes - option to resolve dependencies with one index and download from another #23412

Backlog

Description

@DetachHead

Summary

in my workplace, we are forced to use an internal registry with the following issues:

  • it's less secure than just using the regular pypi one, because it does not support the metadata required for exclude-newer to work
  • it's very slow to resolve dependencies

so i'm wondering if it could be possible to configure uv to resolve dependencies with the upstream pypi index, but actually download them from the internal registry.

Example

[[index]]
name = "pypi"
url = "https://pypi.org/simple/"
default = true
resolve = true # maybe something like this?

[[proxy-index]]
name = "pypi-proxy"
url = "https://proxy.example.com/simple/"
artifact-base-url = "https://proxy.example.com/files/"
proxy-for = "pypi"

Activity

  1. added
    enhancement
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions