Skip to content

build(python): build pyiceberg-core wheel with opt-level = 3 - #3653

Open
mbutrovich wants to merge 2 commits into
apache:mainfrom
mbutrovich:pyiceberg-core-opt-level-3
Open

mbutrovich wants to merge 2 commits into
apache:mainfrom
mbutrovich:pyiceberg-core-opt-level-3

Conversation

@mbutrovich

Copy link
Copy Markdown
Collaborator

Which issue does this PR close?

What changes are included in this PR?

Sizes on macOS arm64 at 5370b61, with the toolchain from rust-toolchain.toml:

opt-level strip Wheel .so
"z" true 1.2 MB 3.1 MB
3 false 1.8 MB 5.6 MB

I did not build the manylinux wheels or check the macos-latest CI 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.

@mbutrovich
mbutrovich marked this pull request as ready for review November 9, 2026 12:16

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build the pyiceberg-core wheel with opt-level = 3

1 participant