Skip to content

uv cache prune removes binaries that are symlinked to #12003

@eblade

Description

@eblade

Summary

We used uv 0.5 previously and this problem did not occur there, so we had a uv cache prune at the end of the docker script to save some space (but we still wanted a small cache so we could sync the env on run later).

Now we have upgraded to uv 0.6.4 and cache prune is much more aggressive. We run with UV_LINK_MODE=symlink (also to save some space), which might be of interest.

The result is that the imports that point to .so binaries no longer resolve in python.

Anyway, thanks for this great piece of software!

Platform

Linux 5.15.167.4-microsoft-standard-WSL2 x86_64 GNU/Linux

Version

uv 0.6.4

Python version

Python 3.12.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    error messagesMessaging when something goes wrongneeds-mreNeeds more information for reproduction, see #9452

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions