bazel-contrib / bazel-contrib/rules_python

bin/python size exploded 2000 times larger

Open
#3,534 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
688
Forks
721
Avg merge
15h 7m
Merged PRs (30d)
76

Description

Is there a reason why the binary bin/python3.10 in latest python 3.10.19 has size 43963640 which is more than 2000 times larger than bin/python3.10 in python 3.10.15 (size 20944)?

```
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
is_default = True,
python_version = "3.10.15",
)
```

Contributor guide

Open the contributing guide

Research direction

Start by comparing the bin/python3.10 artifacts produced for Python 3.10.15 and 3.10.19, using the versions and sizes reported in the issue. Read the shown python.toolchain configuration and inspect how the selected toolchain packages the binary. Done means identifying the source of the size increase and recording a confirmed cause or required follow-up.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.