Generally seems to work:
diff --git a/PKGBUILD b/PKGBUILD
index 01ff33b..4b6a40d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,3 +6,3 @@ pkgname="paperless-ngx-venv"
_pkgname="paperless-ngx"
-pkgver=2.20.15
+pkgver=3.0.3
pkgrel=1
@@ -55,3 +55,3 @@ source=("https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/$_pkg
"paperless-webserver.service")
-b2sums=('37dd1691c21238ffbef7daab07a9a9b260d7fecec88a1b001d9a352cf438867ff7568a8e453c9babe729df1b07d760df3c72ae5cb33c197c8e62c9a6f017b795'
+b2sums=('c172218a69212040213cc91e0ae80c81118fdf232274372462f170c70caf38c7e2ff3eb1ce6c49c3cfbaac6b34a99df27ff5c909391cec84765dfbbf83d73db2'
'a182b37e6d885094e41ff90b82f4685c1a1ae20f0b03cf1478b072e3161875df7a1ea3d2410a0a5791df5fd911430d216bf1be67a996a943e74f7d65df98f76d'
@@ -72,4 +72,4 @@ prepare(){
source "$srcdir/venv/bin/activate"
- uv pip install -r "$srcdir/$_pkgname/requirements.txt"
- uv pip install granian==2.6.1
+ uv pip install --index-strategy unsafe-best-match -r "$srcdir/$_pkgname/requirements.txt"
+ uv pip install granian==2.7.0
deactivate
Adds a GB to the package due to PyTorch, though.
Pinned Comments
shtrophic commented on 2025-04-14 20:22 (UTC) (edited on 2025-04-14 20:32 (UTC) by shtrophic)
For people not using
redis: there is now an "automated patching mechanism" that will instead use the next best fork ofredisthat is available on your system as theRequires=dependency in*.service. This way, anyone can use their favorite fork of it. Keep in mind that upstream does not explicitly say that forks ofrediswork as well, and this further makes the builtpaperless-ngx-venvpackage non-portable. Happy experimenting :)