Uh oh!
There was an error while loading. Please reload this page.
gh-143768: Replace a dangling interpreter symlink when creating a venv - #150985
gh-143768: Replace a dangling interpreter symlink when creating a venv#150985claydugo wants to merge 3 commits into
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Brett Cannon <brett@python.org>
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
A dangling interpreter symlink in the target directory caused
venvto crash with--copiesand to silently leave the broken link in place with symlinks.symlink_or_copynow unlinks a dangling destination symlink first, matching how a stale regular file is already replaced on re-run.Supersedes #143770, which got stuck in a wedged change-detection state after a bad merge via the GitHub UI.