bazel-contrib / bazel-contrib/rules_python

bin/python size exploded 2000 times larger

Offen
#3,534 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Starlark
Sterne
688
Forks
721
Ø Merge
15 Std. 7 Min.
Gemergte PRs (30 T.)
76

Beschreibung

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",
)
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.