PokeAPI / PokeAPI/pokeapi

UV hardlink files

Open
#1,622 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5.4k
Forks
1.2k
Avg merge
2d 5h
Merged PRs (30d)
21

Description

Hi @FallenDeity @phalt

on my machine when installing the dependencies with make install-base I got a warning:

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.
Installed 22 packages in 6.27s

Is it something ok? It happens on your systems as well? Should we add the --link-mode=copy as a default?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the make install-base entry point and reproduce the UV hardlink warning. Check whether the cache and target directories use different filesystems, then review the effects of UV_LINK_MODE=copy and --link-mode=copy. Done means establishing whether the warning is expected and recording or implementing a clear default decision.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.