2.1.93
This release brings several new features in addition to bug fixes.
When creating a PEX the entry point can now be any local python script
by passing --exe path/to/python-script
.
The pex3 lock update
command now supports a -dry-dun check
mode
that exits non-zero to indicate that a lock needs updating and the
-p / --project
targeted update arguments can now be new projects to
attempt to add to the lock.
On the bug fix front, traditional zipapp mode PEX files now properly
scrub sys.displayhook
and sys.excepthook
and their teardown
sequence has now been simplified fixing logging to stderr late in
teardown.
Finally, pex3 lock create
now logs when requirement resolution is
taking a long time to provide some sense of progress and suggest
generic remedies and pex --lock
now properly handles
authentication.
- Support adding new requirements in a lock update. (#1797)
- Add
pex3 lock update --dry-run check
mode. (#1799) - Universal locks no longer record a
platform_tag
. (#1800) - Support python script file executable. (#1807)
- Fix PEX scrubbing to account for
sys.excepthook
. (#1810) - Simplify
PEX
teardown / leave stderr in tact. (#1813) - Surface pip download logging. (#1808)
- Use pip download instead or URLFetcher. (#1811)