-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
installing git repository ignores UV_LINK_MODE, breaks on some filesystems #11420
Comments
Hmm, we'll need to decide whether we want to support this. This is a link within the cache, which is not what |
I just will point out that this kind of filesystem/restriction is relatively common in academic clusters. I hope you'd consider supporting this in some way, as otherwise we'd be forced to use other tools in academic environments. So please, do support this kind of setups! |
I think it makes sense to re-try the operation with |
Fixes astral-sh#11420 --------- Co-authored-by: Charlie Marsh <[email protected]> Co-authored-by: Filippo Vicentini <[email protected]>
Summary
I am on a cluster with a distributed filesystem (beefgs) which does not support hard links.
I am trying to install a repository directly, but it fails when symlinking the repository between two locations in the uv cache directory.
I would assume that setting
UV_LINK_MODE=symlink
orUV_LINK_MODE=copy
would fix the error, but it seems that the setting is not applied to the git command in this casePlatform
Linux 3.10.0-1062.el7.x86_64 x86_64 GNU/Linux
Version
uv 0.5.30
Python version
Python 3.12.7
The text was updated successfully, but these errors were encountered: