Skip to content

Use file-backed inputs for packed distributions - #891

Draft
zaniebot wants to merge 10 commits into
zb/uv-download-packedfrom
zb/uv-download-file-backed
Draft

zaniebot wants to merge 10 commits into
zb/uv-download-packedfrom
zb/uv-download-file-backed

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Stacked on #875.

Packed cache reads currently adapt verified files into synthetic HTTP responses, sending wheel and source-distribution preparation back through HTTP streaming paths. Introduce an explicit ArchiveInput that distinguishes network responses from packed files while keeping cache-policy validation and derived-cache writes in uv-client.

Packed wheels now use the seekable local ZIP extractor, and packed source archives receive the verified file directly. Network downloads retain their existing streaming behavior, and prepared cache entries continue to inherit the saved HTTP policy.

@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:4 Complex: architectural or security-sensitive work requiring broad or cross-repository context. 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 5 times, most recently from 8509388 to c7c6f7b Compare October 9, 2026 18:41

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:4 Complex: architectural or security-sensitive work requiring broad or cross-repository context.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants