Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use shutil.move instead of os.rename #2749

Merged
merged 1 commit into from
May 4, 2015
Merged

Conversation

dstufft
Copy link
Member

@dstufft dstufft commented May 4, 2015

os.rename causes errors to happen whenever the temporary location is on a different device than the wheel cache directory. Using shutil.move instead will cause it to use os.rename when it can and fallback to copying otherwise.

os.rename causes errors to happen whenever the temporary location
is on a different device than the wheel cache directory. Using
shutil.move instead will cause it to use os.rename when it can and
fallback to copying otherwise.
dstufft added a commit that referenced this pull request May 4, 2015
Use shutil.move instead of os.rename
@dstufft dstufft merged commit 0f0a4f0 into pypa:develop May 4, 2015
@dstufft dstufft deleted the move-not-rename branch May 4, 2015 12:55
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant