Skip to content

Add UV_PYTHON_NO_REGISTRY#19035

Merged
zanieb merged 3 commits intoastral-sh:mainfrom
zaniebot:claude/python-no-registry-D9bZG
Apr 20, 2026
Merged

Add UV_PYTHON_NO_REGISTRY#19035
zanieb merged 3 commits intoastral-sh:mainfrom
zaniebot:claude/python-no-registry-D9bZG

Conversation

@zanieb
Copy link
Copy Markdown
Member

@zanieb zanieb commented Apr 17, 2026

Required for #19034

Arguably, we could keep our existing behavior and have UV_PYTHON_SEARCH_PATH implicitly disable the registry lookup, but I think that's too confusing.

This disables registry lookups everywhere and modifications in uv python install. In the latter case, UV_PYTHON_INSTALL_REGISTRY takes precedence.

@zanieb zanieb force-pushed the claude/python-no-registry-D9bZG branch from 77ed576 to 10b7c0b Compare April 17, 2026 18:29
@zanieb zanieb marked this pull request as ready for review April 17, 2026 19:34
/// best-effort cleanup; panics will leak entries. This is fine for now since this is the only
/// test exercising the registry pathway, but adding more will probably require isolation.
/// best-effort cleanup; panics will leak entries. These registry tests still share global state,
/// so adding more will probably require isolation.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're now adding more and don't have isolation

@zanieb zanieb merged commit 224d722 into astral-sh:main Apr 20, 2026
55 checks passed
@zsol zsol added the enhancement New feature or improvement to existing functionality label Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or improvement to existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants