Repository navigation
build(python): build pyiceberg-core wheel with opt-level = 3 - #3653
Open
mbutrovich wants to merge 2 commits into
Open
mbutrovich wants to merge 2 commits into
mbutrovich wants to merge 2 commits into
Conversation
4 of 17 tasks
mbutrovich
marked this pull request as ready for review
November 9, 2026 12:16
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
What changes are included in this PR?
pyiceberg-corewheel withopt-level = 3instead of"z". The baseline in [EPIC] Faster manifest reads through pyiceberg-core iceberg-python#4007 shows the parse about 1.6x faster and the end-to-end read about 1.4x faster.strip = false. On macOS arm64 the stripped.sofails to import with "mis-aligned LINKEDIT string pool" once the Arrow manifest readers from Decide whether the Arrow manifest readers return an iterator of batches #3647 and Return manifests and manifest lists as pyarrow tables from pyiceberg-core #3648 are in the binding. It fails undertrueand"debuginfo"at bothopt-levelsettings, so the failure comes from running the strip step at all.Sizes on macOS arm64 at
5370b61, with the toolchain fromrust-toolchain.toml:opt-levelstrip.so"z"true3falseI did not build the manylinux wheels or check the
macos-latestCI runners.Are these changes tested?
N/A.
AI Disclosure
I wrote this PR with help from Claude but understand and support the core approach, implementation, and test coverage.