-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GraalPy to manylinux images #1509
Conversation
This was requested when adding GraalPy to cibuildwheels: pypa/cibuildwheel#1538 (comment) |
thanks lets wait for knowing the consensus |
This seems like a huge bump in size for a single version (around 200MB compressed so that's roughly between +25% and +50% increase for compressed image size depending on images). This is similar uncompressed (+30% on manylinux2014_aarch64). |
The manylinux build scripts are not left in the image. Are you suggesting I change it so we leave them, and I add a script to run the commands that the image build runs? If we're not using the same build scripts, I'm worried we'll end up diverging with how we set up GraalPy from how we set up CPython. Below are the steps that currently run during the build that are relevant for graalpy. Both the install and finalize scripts source helper scripts that are in
|
Hi @mayeut - I've updated the PR. I tried for a bit to bend the system so that I could create something in the image at runtime that is equivalent to what the build process produces currently, but due to the multi-stage nature of the current process it was a bit messy and fragile. I settled instead for another approach: at the end of the build process in the finalize script, I delete most of the graalpy files except for the site-packages and launchers that were created in the build process (so the installed requirements stay in the image). I leave a script |
Didn't appear again after the rebase. |
Friendly ping :) Anything I can help with or clarify? |
The failure is again unrelated to this PR (it's on s390x, this failed before on this PR and then just passed after rebasing and rerunning) |
superseded by #1520 |
This makes the open source GraalPy implementation available in manylinux images.