Skip to content

Add --dry-run to uv download - #876

Draft
zaniebot wants to merge 3 commits into
zb/uv-download-packedfrom
zb/uv-download-dry-run
Draft

zaniebot wants to merge 3 commits into
zb/uv-download-packedfrom
zb/uv-download-dry-run

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Add --dry-run to uv download so users can preview the prefetch work described by the existing lockfile before committing network or disk resources.

The dry-run path inspects and validates existing packed archives without constructing a registry client, fetching distributions, or publishing cache entries. It respects the active refresh policy and reports how many locked distributions would need to be downloaded.

This is stacked on uv-dev#875.

@astral-automations-bot astral-automations-bot Bot added enhancement New feature or request preview Experimental behavior labels Aug 28, 2026
@zaniebot zaniebot added priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. size:2 Moderate: one subsystem with meaningful invariants, edge cases, or operational evidence to inspect. risk:3 Credible risk of meaningful incorrect behavior or regression; bounded or recoverable. labels Sep 9, 2026
@astral-automations-bot
astral-automations-bot Bot force-pushed the zb/uv-download-packed branch 2 times, most recently from a549bcc to c4e9b61 Compare September 16, 2026 12:17
@astral-automations-bot
astral-automations-bot Bot force-pushed the zb/uv-download-packed branch 2 times, most recently from 7039897 to f4d6f09 Compare September 23, 2026 14:53
@astral-automations-bot
astral-automations-bot Bot force-pushed the zb/uv-download-packed branch 3 times, most recently from bdc7dae to 8e18488 Compare October 3, 2026 00:35
@zaniebot zaniebot added the build:skip-release Disable building release binaries for a pull request label Oct 7, 2026
@astral-automations-bot
astral-automations-bot Bot force-pushed the zb/uv-download-packed branch 6 times, most recently from c7c6f7b to 8540f0f Compare October 9, 2026 19:34

This branch has not been deployed

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

Labels

build:skip-release Disable building release binaries for a pull request enhancement New feature or request preview Experimental behavior priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. risk:3 Credible risk of meaningful incorrect behavior or regression; bounded or recoverable. size:2 Moderate: one subsystem with meaningful invariants, edge cases, or operational evidence to inspect.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants