astral-sh / astral-sh/python-build-standalone
The size of Python executable files has significantly increased starting from the 20250517 build
Open
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 314
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 27
Description
I've noticed that, starting with the 20250517 build, the file size of the python executable file is significantly larger than in builds from 20250409 and earlier.
For example:
- The `python3.9` file from `cpython-3.9.22+20250409-x86_64-unknown-linux-gnu-install_only.tar.gz` is only 21KB
- The `python3.9` file from `cpython-3.9.22+20250517-x86_64-unknown-linux-gnu-install_only.tar.gz` is about 47MB
I'm wondering why the size has changed so much. Can we reduce the file size as before, because it affects the size of our Docker images?
Contributor guide
Assessment
This issue has not been assessed yet.