-
Notifications
You must be signed in to change notification settings - Fork 536
chore: reduce wheel size #3878
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
base: main
Are you sure you want to change the base?
chore: reduce wheel size #3878
Conversation
Signed-off-by: Abhi Agarwal <[email protected]>
ACTION NEEDED delta-rs follows the Conventional Commits specification for release automation. The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification. |
env: | ||
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | ||
with: | ||
maturin-version: v1.6.0 # https://github.com/PyO3/maturin/issues/2154 |
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.
Haha completely forgot about this pin 😆
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.
Yeah, the issue seemed to be resolved upstream so I removed the pin
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3878 +/- ##
=======================================
Coverage 73.73% 73.74%
=======================================
Files 151 151
Lines 39347 39347
Branches 39347 39347
=======================================
+ Hits 29013 29015 +2
+ Misses 9023 9021 -2
Partials 1311 1311 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@abhiaagarwal could you benchmark the opt-level? Because I prefer performance over size |
Description
Creates a new cargo profile for the python build, applying a few techniques from
min-sized-rust
. Sets up maturin to build with said profile.Related Issue(s)
Relates to #3876
Documentation
The size of the wheel on my system is:
The equivalent wheel in pypi is
43.3 MB