Skip to content

Uninstall files recorded by legacy egg metadata - #223

Draft
zaniebot wants to merge 1 commit into
zb/bughunt200/148-entry-points-parserfrom
zb/bughunt200/148-uninstall-egg-info-files
Draft

Uninstall files recorded by legacy egg metadata#223
zaniebot wants to merge 1 commit into
zb/bughunt200/148-entry-points-parserfrom
zb/bughunt200/148-uninstall-egg-info-files

Conversation

@zaniebot

@zaniebot zaniebot commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Legacy egg-info uninstall ignores installed-files.txt and entry_points.txt, leaving scripts and data files behind. Prefer recorded files, remove matching bytecode and launchers, and check paths before deleting them; this also avoids removing shared namespaces. Preserve the safety checks from uv#19114 and uv#19340 and follow pip's legacy uninstall.

@zaniebot
zaniebot force-pushed the zb/bughunt200/148-uninstall-egg-info-files branch from 9dc9972 to bd43f06 Compare July 16, 2026 02:34
@zaniebot
zaniebot force-pushed the zb/bughunt200/148-uninstall-egg-info-files branch from bd43f06 to 82d75e9 Compare July 16, 2026 05:47
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.

2 participants