Skip to content

Reject distribution metadata in wheel data#69

Draft
zanieb wants to merge 1 commit into
mainfrom
zb/bughunt100/007-reject-data-dist-info
Draft

Reject distribution metadata in wheel data#69
zanieb wants to merge 1 commit into
mainfrom
zb/bughunt100/007-reject-data-dist-info

Conversation

@zanieb

@zanieb zanieb commented Jul 16, 2026

Copy link
Copy Markdown
Member

Wheel data can replace validated METADATA or install a second .dist-info directory, causing undeclared dependencies or a false installed package. Reject distribution metadata installed through .data.

See the wheel installation specification.

uv#19986 validates top-level .dist-info directories. Apply the same protection to metadata installed through .data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant