Skip to content

pex 2.20.4

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Oct 04:42
· 15 commits to main since this release
v2.20.4
a84476a

2.20.4

This release carries several bug fixes and a performance improvement for
lock deletes.

Although there were no direct reports in the wild, @iritkatriel noticed
by inspection the Pex safe_mkdir utility function would mask any
OSError besides EEXIST. This is now fixed.

It was observed by @b-x that when PEX_ROOT was contained in a
symlinked path, PEXes would fail to execute. The most likely case
leading to this would be a symlinked HOME dir. This is now fixed.

This release also fixes a bug where --pip-log <path>, used multiple
times in a row against the same file could lead to pex3 lock errors.
Now the specified path is always truncated before use and a note has
been added to the option --help that using the same --pip-log path
in concurrent Pex runs is not supported.

In addition, pex3 lock {update,sync} is now optimized for the cases
where all the required updates are deletes. In this case neither Pip nor
the network are consulted leading to speed improvements proportional to
the size of the resolve.

  • Fix safe_mkdir swallowing non-EEXIST errors. (#2575)
  • Fix PEX_ROOT handling for symlinked paths. (#2574)
  • Fix --pip-log re-use. (#2570)
  • Optimize pure delete lock updates. (#2568)

file sha256 size
pex bddbed460d6b504c3ce2fc3cee124a91e0a9ef157d83c074ef9375a530068785 4317976
pex-linux-aarch64 4dfd16cb9d7d830f88d1aeab33881f16a94c3ba83cb2a7528dfff1d171b45608 24063227
pex-linux-x86_64 d10e04d17eae42a66470717abec1c4eb47f0562d5bc3b08425d31e1cc5ebbbe9 27709425
pex-macos-aarch64 eae3e0c8b3f0288e0111cebe8877d06430758595e7f20d6e1ed5b677456eaab4 21570083
pex-macos-x86_64 1285a1bef5cefbfbfb0a8cb038ad1eba3a25b94536530dd5b4d463e2d4e5914b 22081080