From a243da55d7dfc15fc01895d4c79876008abee27b Mon Sep 17 00:00:00 2001 From: John Sirois Date: Mon, 1 May 2023 13:03:23 -0700 Subject: [PATCH] Prepare the 2.1.135 release. (#2143) Closes #2126 --- CHANGES.rst | 36 ++++++++++++++++++++++++++++++++++++ pex/version.py | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 46b9ed061..5730d24ef 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,42 @@ Release Notes ============= +2.1.135 +------- + +This release brings support for ``pex3 venv {inspect,create}`` for +working with venvs directly using Pex. Previously, a PEX built with +``--include-tools`` (or ``--venv``) had the capability of turning itself +into a venv but the new ``pex3 venv create`` command can do this for any +PEX file with the addition of a few new features: + +#. The venv can now be created directly from requirements producing no + intermediate PEX file. +#. The venv can be created either from a PEX file or a lock file. A + subset of either of those can be chosen by also supplying + requirements. +#. Instead of creating a full-fledged venv, just the site-packages can + be exported (without creating an intermediate venv). This "flat" + layout is used by several prominent runtimes - notably AWS Lambda - + and emulates ``pip install --target``. This style layout can also be + zipped and prefixed. Additionally it supports ``--platform`` and + ``--complete-platform`` allowing creation of, for example, an AWS + Lambda (or Lambda Layer) deployment zip on a non-Linux host. + +Additionally this release adds support for Pip 23.1.1 and 23.1.2. + +* Add Support for Pip 23.1.1. (#2133) + `PR #2133 `_ + +* Introduce pex3 venv inspect. (#2135) + `PR #2135 `_ + +* Introduce pex3 venv create. (#2140) + `PR #2140 `_ + +* Add support for Pip 23.1.2. (#2142) + `PR #2142 `_ + 2.1.134 ------- diff --git a/pex/version.py b/pex/version.py index bfbeb741e..7e49b0302 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.134" +__version__ = "2.1.135"