forked from pex-tool/pex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I've not had a report in the wild, but CI intermittently fails in PEP-517 tests, not finding the json communication file on the read end. This exposes a race where the PEP-517 process completes before the temporary file context manager is exited and the communication file, with the results therein, is deleted before it can be read. Switch from a temporary file that deletes on context exit (it's amazing this worked as reliably as it did - it was a bug from day 1!) to one that deletes only upon the Pex process exit.
- Loading branch information
Showing
2 changed files
with
43 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters