-
-
Notifications
You must be signed in to change notification settings - Fork 591
"File size too large" error when making wheel #2852
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
Comments
This should be fixed by #2852 However, that PR is held up on some small updates to some test hashes so some brittle tests pass. I'm not sure when someone can get around to that last mile -- a patch/PR would be appreciated. |
Oops, wrong link. PR #2711 |
github-merge-queue bot
pushed a commit
that referenced
this issue
May 3, 2025
Currently, there is no possibility to pass the force zip64 option to the wheel creation. This hinders creation of packages that contain >2Gb files (e.g. large projects with debug symbols). To fix, always generate zip64 capable wheels. zip64 support is wide spread. Fixes #2852 --------- Co-authored-by: Richard Levasseur <[email protected]> Co-authored-by: Richard Levasseur <[email protected]>
One very long wait at Walgreens and one tiny phone screen web editor later, that PR is updated and merged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐞 bug report
Affected Rule
The issue is caused by the rule:
py_wheel
Is this a regression?
Not sure
Description
Hello, it appears that when one of the
deps
forpy_wheel
has too large of a file size, building the target fails withDocs for ZipFile.open say
Maybe it would make sense to use
force_zip64=True
here?🔬 Minimal Reproduction
(don't have one currently)
🔥 Exception or Error
🌍 Your Environment
Operating System:
Output of
bazel version
:Rules_python version:
Anything else relevant?
The text was updated successfully, but these errors were encountered: