Skip to content

Refactor the Changelog for use in report_dry_run #17039

Merged
EliteTK merged 5 commits intomainfrom
tk/dry-run-refactor-2
Dec 12, 2025
Merged

Refactor the Changelog for use in report_dry_run #17039
EliteTK merged 5 commits intomainfrom
tk/dry-run-refactor-2

Conversation

@EliteTK
Copy link
Contributor

@EliteTK EliteTK commented Dec 8, 2025

Summary

Remove duplication in report_dry_run by making Changelog support both local and remote dists. This is in support of #16653 and will form a new basis for #16981.

This also involved refactoring InstallLogger and its implementations to support dry run logging.

Additionally includes some minor refactoring in SummaryInstallLogger and a fix to InstalledVersion.

See https://github.com/astral-sh/uv/compare/tk/dry-run-refactor for an alternative approach (although obviously comes with some caveats).

Test Plan

There are already quite a few tests which cover the output and they pass. Manual testing was used to ensure styling stayed consistent.

@EliteTK EliteTK requested review from konstin and zanieb December 8, 2025 22:11
@EliteTK EliteTK added the internal A refactor or improvement that is not user-facing label Dec 8, 2025
@EliteTK EliteTK temporarily deployed to uv-test-registries December 8, 2025 22:15 — with GitHub Actions Inactive
@EliteTK EliteTK merged commit 6ad80c5 into main Dec 12, 2025
102 checks passed
@EliteTK EliteTK deleted the tk/dry-run-refactor-2 branch December 12, 2025 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants