Conversation
|
Thanks, that's cool! Quite now, I'm using a service script which downloads the release tarball and "crops" the Pyodide-installation to a micropip-only version. The packages.json is built manually. This is usually not a good way, but a working one with minimal effort to get a Pyodide for our web-app development quickly. |
|
So with this option, the minimal build in CI takes 13min as opposed to 35min for the full pyodide build (assuming emsdk is already built). |
|
Thanks for the review @phorward ! I have addressed you comments. (The chrome CI failure in scipy and mne can be ignored.) |
|
One thing I forgot to mention @phorward is that we should click on "squash and merge" button when merging, to get a single commit on master. |
|
@rth oops okay I'm sorry ;-) next time I will do so! In the repository settings, direct merge can also be prohibited... |
|
No worries. Once you do it that way, I think it should automatically switch to it by default in your Github UI (or we can indeed disable it in setting). |
👍 on disabling merge commits, I'm honestly not sure why that option is still there... |

Following discussion in #553 this adds the support of partial builds. From the added documentation,
Of course one can always build individual packages with
pyodide_build/buildpkg.py, but the goal of this is to get a consistent but smaller pyodide distribution with a validpackages.json.This also adds a minimal build with only
micropipincluded. It should be fairly fast, and not make CI slower too much, since it would run in parallel with the main build job. I find it helpful to add this extra CI job, to see if we can optimize the size of files in this minimal distribution further.cc @phorward