Skip to content

Commit 493c802

Browse files
authored
core: remove Python uv cache clean command
Removed the cache clean command for Python uv. UV uses aggresive cache method, so it can be only cleared with --force, thats in my opinion to unsafe: Example: root@paperless-ngx:~# uv cache prune Cache is currently in-use, waiting for other uv processes to finish (use `--force` to override) Example with force: root@paperless-ngx:~# uv cache clean --force Clearing cache at: .cache/uv Removed 118567 files (1.4GiB)
1 parent 4ffa571 commit 493c802

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

misc/core.func

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,6 @@ cleanup_lxc() {
392392

393393
# Python pip
394394
if command -v pip &>/dev/null; then $STD pip cache purge || true; fi
395-
# Python uv
396-
if command -v uv &>/dev/null; then $STD uv cache clean || true; fi
397395
# Node.js npm
398396
if command -v npm &>/dev/null; then $STD npm cache clean --force || true; fi
399397
# Node.js yarn

0 commit comments

Comments
 (0)