Skip to content

Accept compressed empty ZIP directories with data descriptors - #1747

Draft
astral-automations-bot[bot] wants to merge 1 commit into
zb/reproduce-bug/21644from
automations/fix-bug/21644
Draft

Accept compressed empty ZIP directories with data descriptors#1747
astral-automations-bot[bot] wants to merge 1 commit into
zb/reproduce-bug/21644from
automations/fix-bug/21644

Conversation

@astral-automations-bot

Copy link
Copy Markdown

The streaming ZIP extractor treated every directory’s compressed size as zero without consuming its payload. It now reads directory entries through the checked reader, validates they remain empty, and uses the measured compressed size for descriptor validation; the parent regression now expects the valid wheel to install successfully. Fixes astral-sh#21644

@astral-automations-bot astral-automations-bot Bot added the bug Something isn't working label Sep 13, 2026
@codspeed-hq

codspeed-hq Bot commented Sep 13, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 25 untouched benchmarks


Comparing automations/fix-bug/21644 (fb619ca) with zb/reproduce-bug/21644 (718793d)

Open in CodSpeed

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants