Skip to content
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

Prepare the 2.1.135 release. #2143

Merged
merged 2 commits into from
May 1, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -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 and
if requirements are supplied, the resulting venv can be a subset of
those.
jsirois marked this conversation as resolved.
Show resolved Hide resolved
#. 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 <https://github.com/pantsbuild/pex/pull/2133>`_

* Introduce pex3 venv inspect. (#2135)
`PR #2135 <https://github.com/pantsbuild/pex/pull/2135>`_

* Introduce pex3 venv create. (#2140)
`PR #2140 <https://github.com/pantsbuild/pex/pull/2140>`_

* Add support for Pip 23.1.2. (#2142)
`PR #2142 <https://github.com/pantsbuild/pex/pull/2142>`_

2.1.134
-------

Expand Down
2 changes: 1 addition & 1 deletion pex/version.py
Original file line number Diff line number Diff line change
@@ -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"