Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packing large wheel files fails in reproducible mode due to lack of Zip64 support. #1719

Closed
eitanV81 opened this issue Sep 14, 2024 · 2 comments

Comments

@eitanV81
Copy link
Contributor

When attempting to build large wheel files in reproducible mode, the process fails due to the lack of Zip64 support. The error occurs because the ZIP file metadata (zinfo) is not correctly populated with the file size information, causing the packaging system to skip the necessary Zip64 extensions. This results in the failure of the packaging process for wheel files that exceed the 4 GB size limit imposed by the standard ZIP format.

created simple PR to fix it:
#1576

@extraymond
Copy link

extraymond commented Sep 18, 2024

+1, also bumped into this when using hatchling as backend for uv managed projects.

The PR @eitanV81 created allows large wheels to work.

[build-system]
requires = [
  "hatchling @ https://github.com/eitanV81/hatch.git#subdirectory=backend",
]
build-backend = "hatchling.build"

@eitanV81 eitanV81 changed the title acking large wheel files fails in reproducible mode due to lack of Zip64 support. Packing large wheel files fails in reproducible mode due to lack of Zip64 support. Sep 23, 2024
@ofek
Copy link
Collaborator

ofek commented Nov 9, 2024

#1576

@ofek ofek closed this as completed Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants