Skip to content
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

fix(binaries): Bring PyPi package size under the limit #192

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

joeyparrish
Copy link
Member

According to https://pypi.org/help/#file-size-limit, there is a limit of 100MB for any given wheel. Our Linux x64 wheel is 101MB, and so the 1.0.0 release failed to upload.

This reduces the binary size by avoiding distro-specific versions of ffprobe. The only thing we get from distro-specific versions of ffmpeg is hardware-encoding support, but that doesn't apply to ffprobe. So it was wasteful to include distro-specific ffprobe builds.

This reduces the Linux x64 wheel size from 101MB to 69MB.

According to https://pypi.org/help/#file-size-limit, there is a limit of 100MB for any given wheel.  Our Linux x64 wheel is 101MB, and so the 1.0.0 release failed to upload.

This reduces the binary size by avoiding distro-specific versions of ffprobe.  The only thing we get from distro-specific versions of ffmpeg is hardware-encoding support, but that doesn't apply to ffprobe.  So it was wasteful to include distro-specific ffprobe builds.

This reduces the Linux x64 wheel size from 101MB to 69MB.
@joeyparrish joeyparrish merged commit 3de6706 into shaka-project:main Nov 6, 2024
15 checks passed
@joeyparrish joeyparrish deleted the fix-binary-size branch November 6, 2024 17:11
joeyparrish pushed a commit that referenced this pull request Nov 6, 2024
🤖 I have created a release *beep* *boop*
---


## [1.0.1](v1.0.0...v1.0.1) (2024-11-06)


### Bug Fixes

* **binaries:** Bring PyPi package size under the limit ([#192](#192)) ([3de6706](3de6706))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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.

2 participants