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
Summary
We used uv 0.5 previously and this problem did not occur there, so we had a
uv cache pruneat 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