2.1.22
This release fixes a deadlock that could be experienced when building
PEX files in highly concurrent environments in addition to fixing
pex --help-variables
output.
A new suite of PEX tools is now available in Pex itself and any PEXes
built with the new --include-tools
option. Use
PEX_TOOLS=1 pex --help
to find out more about the available tools and
their usage.
Finally, the long deprecated exposure of the Pex APIs through _pex
has
been removed. To use the Pex APIs you must include pex as a dependency
in your PEX file.
- Add a dependency graph tool. (#1132)
- Add a venv tool. (#1128)
- Remove long deprecated support for _pex module. (#1135)
- Add an interpreter tool. (#1131)
- Escape venvs unless PEX_INHERIT_PATH is requested. (#1130)
- Improve
PythonInterpreter
venv support. (#1129) - Add support for PEX runtime tools & an info tool. (#1127)
- Exclusive atomic_directory always unlocks. (#1126)
- Fix
PythonInterpreter
binary normalization. (#1125) - Add a
requires_dists
function. (#1122) - Add an
is_exe
helper. (#1123) - Fix req parsing for local archives & projects. (#1121)
- Improve PEXEnvironment constructor ergonomics. (#1120)
- Fix
safe_open
for single element relative paths. (#1118) - Add URLFetcher IT. (#1116)
- Implement full featured requirment parsing. (#1114)
- Fix
--help-variables
docs. (#1113) - Switch from optparse to argparse. (#1083)