-
-
Notifications
You must be signed in to change notification settings - Fork 259
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 --scie
option to produce native PEX exes.
#2466
Merged
Merged
Commits on Jul 15, 2024
-
Add
--scie
option to produce native PEX exes.You can now specify `--scie {eager,lazy}` when building a PEX file and one or more additional native executable PEX scies will be produced along side the PEX file. These PEX scies will contain a portable CPython interpreter from [Python Standalone Builds][PBS] in the `--scie eager` case and will instead fetch a portable CPython interpreter just in time on first boot on a given machine if needed in the `--scie lazy` case. Although Pex will pick the target platforms and target portable CPython interpreter version automatically, if more control is desired over which platforms are targeted and which Python version is used, then `--scie-platform`, `--scie-pbs-release`, and `--scie-python-version` can be specified. Closes pex-tool#636 Closes pex-tool#1007 Closes pex-tool#2096 [PBS]: https://github.com/indygreg/python-build-standalone
Configuration menu - View commit details
-
Copy full SHA for 96cf9a2 - Browse repository at this point
Copy the full SHA 96cf9a2View commit details
Commits on Jul 16, 2024
-
Add integration tests for basic
--scie
support.This stresses the full matrix of basic cases (no `--scie-*` options).
Configuration menu - View commit details
-
Copy full SHA for fa18f60 - Browse repository at this point
Copy the full SHA fa18f60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66aeb9f - Browse repository at this point
Copy the full SHA 66aeb9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82c629d - Browse repository at this point
Copy the full SHA 82c629dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbb96fd - Browse repository at this point
Copy the full SHA cbb96fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 701001c - Browse repository at this point
Copy the full SHA 701001cView commit details -
Add a test for multiple platforms.
Exercise platform / interpreter auto detection as well as explicit restriction via `--scie-platform`. Also open up control via `PEX_*` env vars: there was no need to mask thse for proper scie operation and the end result is a scie that works exactly like the PEX it was built from.
Configuration menu - View commit details
-
Copy full SHA for 61f55a4 - Browse repository at this point
Copy the full SHA 61f55a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cdd1b2 - Browse repository at this point
Copy the full SHA 0cdd1b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for df15201 - Browse repository at this point
Copy the full SHA df15201View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f3eba1 - Browse repository at this point
Copy the full SHA 0f3eba1View commit details
Commits on Jul 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d751576 - Browse repository at this point
Copy the full SHA d751576View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a8f197 - Browse repository at this point
Copy the full SHA 7a8f197View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.