← Back to issue list

feat: Add `UV_LINK_MODE=copy`

View original Github issue

Metadata

Project
craft-parts
Number
#1452
Type
pull request
State
open
Author
carlcsaposs-canonical
Labels
Created
2026-02-09 11:24:19+00:00
Updated
2026-02-23 08:05:52+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Companion to https://github.com/canonical/craft-providers/pull/900 When the cache dir is mounted from the LXD host, hardlinking from the global cache (uv's default behavior) is not possible e.g. ``` :: warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance. :: If the cache and target directories are on different filesystems, hardlinking may not be supported. :: If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning. ```

Evaluation history

No evaluation history available.