You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From my investigation, the biggest contributor to size is the datafusion dependency, around ~95% of the total size.
For further optimization in the future, we could built 2 wheels, one with datafusion and another without.
The file upload limit for pyiceberg-core has been bumped to 200 MB on PyPI. The file limit is already set to 200 MB on testpypi pypi/support#8198 (comment)
Activity
kevinjqliu commentedon Nov 11, 2025
opendal and datafusion both use
profile.releaseflags to optimize artifact size. we can give that a tryhttps://github.com/apache/opendal/blob/e03f40a3f33856506c5f04c149f52bcc48253872/bindings/python/Cargo.toml#L219-L224
https://github.com/apache/datafusion-python/blob/89d8930625c7a903fb0e5f1d4f5310341e0b4fea/Cargo.toml#L89-L91
kevinjqliu commentedon Nov 12, 2025
#1841 dropped the largest artifact to around 70MB (-30%)
70MB is still relatively large, let's see if there are more improvements
pyiceberg-core: create smaller artifacts (apache#1841)
kevinjqliu commentedon Nov 12, 2025
More optimization in #1844
Github action run: https://github.com/apache/iceberg-rust/actions/runs/19285828822
This is on top of #1841 😄
liurenjie1024 commentedon Nov 12, 2025
Awesome!
pyiceberg-core: create even smaller artifacts (#1844)
kevinjqliu commentedon Nov 12, 2025
Ah these are zipped files of the wheels and may contain many wheels inside. The actual wheel size is actually smaller
Latest run with both #1841 and #1841 (https://test.pypi.org/project/pyiceberg-core/0.7.0.dev20251112154529/#files)
Largest wheel size is only 24.8 MB, rest are around 11-15 MB 😄
kevinjqliu commentedon Nov 12, 2025
Calling this done for now.
From my investigation, the biggest contributor to size is the datafusion dependency, around ~95% of the total size.
For further optimization in the future, we could built 2 wheels, one with datafusion and another without.
kevinjqliu commentedon Dec 19, 2025
The file upload limit for
pyiceberg-corehas been bumped to 200 MB on PyPI. The file limit is already set to 200 MB on testpypipypi/support#8198 (comment)