-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[FR] Controlling compression of wheels built in a unified way between the build backends #2610
Comments
As discussed in pypa/build#258 the format is standardized already, but the compression is indeed not. Best to bring it up at https://discuss.python.org/c/packaging and propose a PEP. |
Thank you very much @KOLANICH for bringing this up, and thank you @FRidh for giving us some pointers on where the discussions were happening. So it seems that some part of this issue is being discussed in #2491 and the other part should be taken to https://discuss.python.org/c/packaging, before we can proceed right? |
The wheel standard has nothing to say about compression. The wheel standard would need to be amended before PEP 517 can be amended (presumably with the addition of an optional parameter to |
I'm mostly interested in editing zip files in-place without unpacking and repacking and moving parts. I have half-created ctypes-based bindings to Currently wheels have the metadata compressed. I'd like to have them always uncompressed, because it'd allow me editing it in-place by offset as if I have used a hex-editor without any changes in the format, given that I pad the contents with non-semantically meaningful bytes, like whitespaces (if compression is used, I cannot easily pad the contents to the needed size). I would also like to have I also think And, yes, every constant known must be defined, even if it is not used in |
What's the problem this feature will solve?
Controlling compression of wheels built in a unified way between the build backends.
Describe the solution you'd like
The arguments to build backends controlling wheel compression (store/deflate/lzma) being unified among all the impls.
Alternative Solutions
No response
Additional context
pypa/build#258
Code of Conduct
The text was updated successfully, but these errors were encountered: