| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| __init__.py | ||
| _compat.py | ||
| authenticator.py | ||
| constants.py | ||
| dependency_specification.py | ||
| env.py | ||
| extras.py | ||
| helpers.py | ||
| password_manager.py | ||
| patterns.py | ||
| pip.py | ||
| setup_reader.py | ||
| shell.py | ||
| source.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 |
|---|---|---|
| .. | ||
| __init__.py | Loading commit data... | |
| _compat.py | Loading commit data... | |
| authenticator.py | Loading commit data... | |
| constants.py | Loading commit data... | |
| dependency_specification.py | Loading commit data... | |
| env.py | Loading commit data... | |
| extras.py | Loading commit data... | |
| helpers.py | Loading commit data... | |
| password_manager.py | Loading commit data... | |
| patterns.py | Loading commit data... | |
| pip.py | Loading commit data... | |
| setup_reader.py | Loading commit data... | |
| shell.py | Loading commit data... | |
| source.py | Loading commit data... |