-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
GH-40749: [Python][Packaging] Strip unnecessary symbols when building wheels #42028
Conversation
@github-actions crossbow submit wheel-manylinux-* |
This comment was marked as outdated.
This comment was marked as outdated.
This change reduces from 131MB locally unzipped wheel from the previous nightly build to 101MB locally unzipped wheel the wheel on wheel-manylinux-2-28-cp310-amd64. |
@jorisvandenbossche @pitrou would you prefer to:
|
-1
+1
+0 |
@github-actions crossbow submit wheel-manylinux-* |
|
@github-actions crossbow submit wheel-manylinux-* |
Revision: 7dd1e28 Submitted crossbow builds: ursacomputing/crossbow @ actions-f4cd718f1d |
Running |
@github-actions crossbow submit wheel-macos-* |
Revision: aeab32e Submitted crossbow builds: ursacomputing/crossbow @ actions-8a67ea442e |
@github-actions crossbow submit wheel-macos-catalina-cp310-amd64 |
Revision: e41c654 Submitted crossbow builds: ursacomputing/crossbow @ actions-9df43f583e
|
@github-actions crossbow submit wheel-macos-catalina-cp310-amd64 |
Revision: 837d114 Submitted crossbow builds: ursacomputing/crossbow @ actions-1d686e8f7f
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 except for a nit
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
👍 merging |
After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit baf4089. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 3 possible false positives for unstable benchmarks that are known to sometimes produce them. |
Rationale for this change
Removing unnecessary symbols for wheels will allow us to reduce the size of the wheels considerably.
What changes are included in this PR?
Running
strip --strip-debug
on Linux wheels for all *.so files.Are these changes tested?
Yes, via Archery.
Are there any user-facing changes?
No