Pex

Latest version: v2.33.7

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 30 of 57

2.1.62

This release exposes three Pip options as Pex options to allow building
PEXes for more of the Python distribution ecosystem:

1. `--prefer-binary`: To prefer older wheels to newer sdists in a
resolve which can help avoid problematic builds.
2. `--[no]-use-pep517`: To control how sdists are built: always using
PEP-517, always using setup.py or the default, always using
whichever is appropriate.
3. `--no-build-isolation`: To allow distributions installed in the
environment to be seen during builds of sdists. This allows working
around distributions with undeclared build dependencies by
pre-installing them in the environment before running Pex.

* Expose more Pip options. (1561)

2.1.61

This release fixes a regression in Pex `--venv` mode compatibility with
distributions that are members of a namespace package that was
introduced by 1532 in the 2.1.57 release.

* Merge packages for `--venv-site-packages-copies`. (1557)

2.1.60

This release fixes a bug that prevented creating PEXes when duplicate
compatible requirements were specified using the pip-2020-resolver.

* Fix Pex to be duplicate requirement agnostic. (1551)

2.1.59

This release adds the boolean option `--venv-site-packages-copies` to
control whether `--venv` execution mode PEXes create their venv with
copies (hardlinks when possible) or symlinks. It also fixes a bug that
prevented Python 3.10 interpreters from being discovered when
`--interpreter-constraint` was used.

* Add knob for `--venv` site-packages symlinking. (1543)
* Fix Pex to identify Python 3.10 interpreters. (1545)

2.1.58

This release fixes a bug handling relative `--cert` paths.

* Always pass absolute cert path to Pip. (1538)

2.1.57

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)

Page 30 of 57

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.