-
Notifications
You must be signed in to change notification settings - Fork 186
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
creating softlink (or provide the option to choose) #336
Comments
Hi, unless I’m misreading the issue the link is created by virtualenv, and as such it is not something we can affect. Please reopen the issue if this is not the case |
Generally it's better to use symlinks and avoid hardlinks as much as possible, as |
Hi @nailor, thank you for the fast answer. Could you please reopen the issue probably I provided a wrong part of source code.
|
Sorry, my bad! Yes this indeed is in the upgrade script designed to catch cases where the Python interpreter updates on system level and to avoid breakage caused by it. It should already have the or clause and fall back to regular copy if hard link fails. Unsure why that does not happen in your case. for context we are defaulting to hard link as that is what virtualenv also sets up |
a) "backup" and "symlink" don't mix |
Hard links are no backup. So for most/all purposes they can be replaced by symlinks, which can cross filesystem boundaries. |
Thanks @jhermann pointing out this is not an error but just the stderr output which is not redirected. I think the error message being visible is fine, so since there isn’t anything really broken, closing the issue |
now:
wouldn't it be better to use softlink:
currently getting the following error (not critical):
The text was updated successfully, but these errors were encountered: