| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| operations | ||
| __init__.py | ||
| base_installer.py | ||
| chef.py | ||
| chooser.py | ||
| executor.py | ||
| installer.py | ||
| noop_installer.py | ||
| pip_installer.py |
If one poetry installation is writing to the cache while a second installer is attempting to read that cache file, the second installation will fail because the in-flight cache file is invalid while it is still being written to by the first process. This PR resolves this issue by having Poetry write to a temporary file in the cache directory first, and then rename the file after it's written, which is ~atomic. Resolves: #5142 I'm not sure how to test this change, as the conditions which cause this bug to appear are a little hard to reproduce.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| operations | Loading commit data... | |
| __init__.py | Loading commit data... | |
| base_installer.py | Loading commit data... | |
| chef.py | Loading commit data... | |
| chooser.py | Loading commit data... | |
| executor.py | Loading commit data... | |
| installer.py | Loading commit data... | |
| noop_installer.py | Loading commit data... | |
| pip_installer.py | Loading commit data... |