pex 2.1.139 #2185
pex 2.1.139
#2185
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
2.1.139
This release brings support for Python 3.12 and Pip 23.2 which is the
minimum required Pip version for Python 3.12. N.B.: Since Pip 23.2
requires Python 3.7 or newer, multiplatform PEX files and locks that
support Python 3.12 will not also be able to support Python 2.7, 3.5
or 3.6 even though Pex continues to support those versions generally.
In addition, two new options for adding local project source files to
a pex are added:
-P/--package
and-M/--module
. Importantly, you canuse the options instead of the existing
-D/--sources-directory
whenyou have a project with code at the top level (i.e.: not in a
src/
subdirectory for example) intermixed with other files you prefer not to
include in the PEX. See
pex --help
for more details on using these newoptions.
Finally, an internal API is fixed that allows for Lambdex files to
include versions of
attrs
incompatible with Pex's own vendored version.pex.pex_bootstrapper.bootstrap_pex_env
leak. (Fixpex.pex_bootstrapper.bootstrap_pex_env
leak. #2184)This discussion was created from the release pex 2.1.139.
Beta Was this translation helpful? Give feedback.
All reactions