Skip to content

Commit

Permalink
Prepare the 2.20.4 release. (#2571)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois authored Oct 25, 2024
1 parent 943c3a7 commit a84476a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Release Notes

## 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 netiher Pip nor
the network are consulted leading to speed improvements porportional 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)

## 2.20.3

This release fixes both PEX building and lock creation via
Expand Down
2 changes: 1 addition & 1 deletion pex/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2015 Pex project contributors.
# Licensed under the Apache License, Version 2.0 (see LICENSE).

__version__ = "2.20.3"
__version__ = "2.20.4"

0 comments on commit a84476a

Please sign in to comment.