pex 2.1.154 #2301
pex 2.1.154
#2301
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
2.1.154
This release brings three new features:
--python-shebang
, an appropriate shebang is chosen correctly inmore cases than previously and a warning is emitted when the shebang
chosen cannot be guaranteed to be correct. The common case this
helps select the appropriate shebang for is PEXes built using
--platform
or--complete-platform
.--no-pre-install-wheels
to cut downPEX build times with a tradeoff of roughly 10% greater boot overhead
upon the 1st execution of the PEX file. For PEXes with very large
dependency sets (machine learning provides common cases), the build
time savings can be dramatic.
execution using parallel processes using
--max-install-jobs
at PEXbuild time or by setting the
PEX_MAX_INSTALL_JOBS
environmentvariable at runtime.
The last two features come with complicated tradeoffs and are turned off
by default as a result. If you think they might help some of your use
cases, there is more detail in the command line help for
--no-pre-install-wheels
and--max-install-jobs
as well as in thepex --help-variables
output forPEX_MAX_INSTALL_JOBS
. You can alsofind a detailed performance analysis in #2292 for the extreme cases of
very small and very large PEXes. In the end though, experimenting is
probably your best bet.
--no-pre-install-wheels
and--max-install-jobs
. #2298)This discussion was created from the release pex 2.1.154.
Beta Was this translation helpful? Give feedback.
All reactions