From 2ce43dabc7804f72043db1947f5dc6599a8297cf Mon Sep 17 00:00:00 2001 From: John Sirois Date: Sun, 23 Jul 2023 09:01:33 -0600 Subject: [PATCH] Prepare the 2.1.139 release. (#2182) Closes #2161 --- CHANGES.md | 23 +++++++++++++++++++++++ pex/version.py | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 745320c54..4d30fa4b6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,28 @@ # Release Notes +## 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 can +use the options instead of the existing `-D/--sources-directory` when +you 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 new +options. + +Finally, an internal API is fixed that allows for Lambdex files to +include versions of `attrs` incompatible with Pex's own vendored version. + +* Add official support for Python 3.12 / Pip 23.2. (#2176) +* Add support for selecting packages and modules. (#2181) +* Fix `pex.pex_bootstrapper.bootstrap_pex_env` leak. (#2184) + ## 2.1.138 This release brings fixes for two obscure corner cases. diff --git a/pex/version.py b/pex/version.py index da3feadeb..dff210d04 100644 --- a/pex/version.py +++ b/pex/version.py @@ -1,4 +1,4 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -__version__ = "2.1.138" +__version__ = "2.1.139"