bytecodealliance / bytecodealliance/componentize-py

Publish pre-built CPython tarball for WASI

Offen
#227 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Beansprucht von @dicej Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
277
Forks
51
Ø Merge
12 Std. 10 Min.
Gemergte PRs (30 T.)
10

Beschreibung

Currently, building `componentize-py` requires building CPython from source for WASI (and for the native platform as well, due to the bootstrapping requirement). This is annoying because we rarely change CPython and eventually want to use official upstream builds anyway.

Once there are compatible upstream builds (i.e. `libpython3.14.so` for WASI), we can switch to them, but in the meantime we should consider publishing our own builds and using them instead by default of building CPython from source as part of the `componentize-py` build.

Note that we should still support building CPython by default as a build-time option (e.g. via an environment variable) for debugging purposes.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, den verknüpften offenen Pull Request #242 und den in diesem Issue beschriebenen componentize-py-Build-Ablauf zu prüfen. Bestätige, wie ein veröffentlichtes CPython-WASI-Tarball standardmäßig Source-Builds ersetzen würde, während eine Option über eine Umgebungsvariable zum Bauen von CPython aus dem Quellcode erhalten bleibt; als abgeschlossen gilt die Aufgabe, wenn beide Anwendungsfälle unterstützt werden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python, wasm
Bereich
build-system, release
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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