astral-sh
uv
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Tweak comment
nooscraft:bugfix/19113
57 minutes ago
Prevent uninstalling site-packages for empty `top_level.txt` in `.egg-info` (#19114) uv pip uninstall `<pkg>` against a legacy` .egg-info` distribution with an empty` top_level.txt` could resolve "" back to the distribution location itself and end up deleting site-packages. In `uninstall_egg` crate, each line from `top_level.txt `is now trimmed and empty entries are skipped before iterating. Applied the same trim + non-empty handling to `namespace_packages.txt` so both files are parsed consistently. I did not also change is_path_in_scheme to reject paths equal to a scheme root, since that is a broader defense-in-depth change and outside the scope of this fix. Covered by `test_uninstall_egg_info_empty_top_level` next to the existing `test_uninstall_egg_info_path_traversal`, plus `test_uninstall_egg_info_blank_lines_in_top_level` for blank and whitespace-only lines between valid entries, which hits the same wipe path before the fix. It fails on main with uninstall must not remove site-packages itself and passes with this fix. Existing `uninstall_egg_info`, `dry_run_uninstall_egg_info`, and `uninstall_legacy_editable` integration tests still pass. Closes #19113. --------- Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
main
59 minutes ago
Fix URL prefix matching to require path boundaries (#19154) ## Summary We're using `url.path().starts_with(self.root_url.path())` and similar logic in a few places, which treats `https://example.com/foobar` as a subpath of `https://example.com/foo`, when these should really be at path boundaries.
main
1 hour ago
Fix tool editable policy after rebase
charlie/tool-lock
1 hour ago
Update Rust crate test-log to v0.2.20 (#19169)
main
1 hour ago
Update debian Docker tag to trixie-20260421 (#19232)
main
1 hour ago
Update uraimo/run-on-arch-action action to v3.1.0 (#19257)
main
1 hour ago
Update Rust crate data-encoding to v2.11.0 (#19255)
main
1 hour ago
Latest Branches
CodSpeed Performance Gauge
0%
Prevent uninstalling site-packages for empty `top_level.txt` in `.egg-info`
#19114
1 hour ago
a4de4c5
nooscraft:bugfix/19113
CodSpeed Performance Gauge
0%
Add a full "lockfile" to tool receipts
#18937
20 days ago
f2adeea
charlie/tool-lock
CodSpeed Performance Gauge
0%
Bump rand to 0.9.4
#19264
5 hours ago
bddeb37
ww/bump-rand
Ā© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs