This release brings a few performance improvements and a new `venv` pex-tools `--remove` feature that is useful for creating optimized container images from PEX files.
* Do not re-hash installed wheels. (1534) * Improve space efficiency of `--venv` mode. (1532) * Add venv `--remove {pex,all}` option. (1525)
2.1.56
* Fix wheel install hermeticity. (1521)
2.1.55
This release brings official support for Python 3.10 as well as fixing <https://docs.pex-tool.org> doc generation and fixing help for `pex-tools` / `PEX_TOOLS=1 ./my.pex` pex tools invocations that have too few arguments.
* Add official support for Python 3.10 (1512) * Always register global options. (1511) * Fix RTD generation by pinning docutils low. (1509)
2.1.54
This release fixes a bug in `--venv` creation that could mask deeper errors populating PEX venvs.
* Fix `--venv` mode short link creation. (1505)
2.1.53
This release fixes a bug identifying certain interpreters on macOS Monterey.
Additionally, Pex has two new features:
1. It now exposes the `PEX` environment variable inside running PEXes to allow application code to both detect it's running from a PEX and determine where that PEX is located. 2. It now supports a `--prompt` option in the `venv` tool to allow for customization of the venv activation prompt.
* Guard against fake interpreters. (1500) * Add support for setting custom venv prompts. (1499) * Introduce the `PEX` env var. (1495)
2.1.52
This release makes a wider array of distributions resolvable for `--platform` resolves by inferring the `platform_machine` environment marker corresponding to the requested `--platform`.
* Populate `platform_machine` in `--platform` resolve. (1489)