Thanks @shtrophic that's interesting to know. That's not uncommon sadly for packages with deep dependency wells. Can I ask how often it would tend to blow up? Was it my chance a former iteration of paperless or paperless-ng? Is the current paperless-ngx project perhaps doing better about dependency management?
Search Criteria
Package Details: paperless-ngx-venv 2.20.14-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/paperless-ngx-venv.git (read-only, click to copy) |
|---|---|
| Package Base: | paperless-ngx-venv |
| Description: | paperless-ngx: scan, index and archive all your physical documents |
| Upstream URL: | https://docs.paperless-ngx.com/ |
| Keywords: | documents paperless |
| Licenses: | GPL-3.0-or-later |
| Conflicts: | paperless, paperless-ng, paperless-ngx |
| Provides: | paperless, paperless-ngx-venv |
| Replaces: | paperless-ngx |
| Submitter: | AlphaJack |
| Maintainer: | AlphaJack (atomicfs, shtrophic) |
| Last Packager: | shtrophic |
| Votes: | 29 |
| Popularity: | 0.58 |
| First Submitted: | 2024-11-02 15:19 (UTC) |
| Last Updated: | 2026-04-16 19:02 (UTC) |
Dependencies (24)
- file (file-gitAUR)
- ghostscript (ghostscript-gitAUR)
- gnupg (gnupg-gitAUR, gnupg-largekeysAUR)
- imagemagick (imagemagick-full-gitAUR, imagemagick-gitAUR, imagemagick-essentials-gitAUR, imagemagick-fullAUR)
- nltk-data
- optipng
- poppler (poppler-gitAUR)
- python
- redisAUR (redis-testingAUR, redis-gitAUR, keydbAUR, redis-binAUR, redictAUR, valkey)
- sqlite (sqlite-fossilAUR)
- tesseract-data-eng (tesseract-data-eng-gitAUR, tesseract-data-best-engAUR)
- ttf-liberation
- unpaper (unpaper-gitAUR)
- findutils (findutils-gitAUR, findutils-selinuxAUR) (make)
- mariadb (mysql81AUR, mysql80AUR, mysqlAUR, mysql84AUR, mariadb-lts, percona-server) (make)
- postgresql (postgresql-12AUR, postgresql13AUR, postgresql17-docsAUR, postgresql17AUR, postgresql15-docsAUR, postgresql15AUR, postgresql-gitAUR, postgresql16-docsAUR, postgresql16AUR, postgresql18-docsAUR, postgresql18AUR) (make)
- postgresql-libs (postgresql-libs-12AUR, postgresql13-libsAUR, postgresql-libs-gitAUR) (make)
- python-virtualenv-tools3AUR (python-virtualenv-tools3-gitAUR) (make)
- uv (make)
- gotenbergAUR (optional) – convert files to pdf
- Show 4 more dependencies...
Required by (0)
Sources (10)
- https://github.com/paperless-ngx/paperless-ngx/releases/download/v2.20.14/paperless-ngx-v2.20.14.tar.xz
- paperless-consumer.service
- paperless-scheduler.service
- paperless-task-queue.service
- paperless-webserver.service
- paperless.conf
- paperless.hook
- paperless.sysusers
- paperless.target
- paperless.tmpfiles
alerque commented on 2026-02-13 09:12 (UTC)
shtrophic commented on 2026-02-12 16:03 (UTC)
Well previously there was a non-venv variant, which was a total dependency shitshow because upstream seldomly updates their dependencies...
alerque commented on 2026-02-12 15:59 (UTC)
Has anybody tried getting this spun up as a bare metal package (not a venv)? I'd be interested in getting this into official repos if we can develop sane packaging for it.
dp20eic commented on 2026-01-29 10:37 (UTC)
@ einsiedlerkrebs
This is not a significant issue. You have a package called virtualenv_tools that was built for python3.13, which is not currently in the python3.14 environment.
You simply need to reinstall this package, and then the installation of paperless-ngx-env should run again.
With kind regards Bernd
einsiedlerkrebs commented on 2026-01-28 15:24 (UTC)
With python3.14 I am getting the following error.
==> Starting package()...
Traceback (most recent call last):
File "/usr/lib/python3.14/importlib/metadata/__init__.py", line 407, in from_name
return next(iter(cls.discover(name=name)))
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/virtualenv-tools", line 33, in <module>
sys.exit(load_entry_point('virtualenv_tools3==3.1.1', 'console_scripts', 'virtualenv-tools')())
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/virtualenv-tools", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/lib/python3.14/importlib/metadata/__init__.py", line 960, in distribution
return Distribution.from_name(distribution_name)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/importlib/metadata/__init__.py", line 409, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for virtualenv_tools3
==> ERROR: A failure occurred in package().
Aborting...
-> error making: paperless-ngx-venv-exit status 4
-> Failed to install the following packages. Manual intervention is required:
paperless-ngx-venv - exit status 4
CountMurphy commented on 2026-01-21 16:01 (UTC)
I'm getting checksum mismatches for 2.20.5
CountMurphy commented on 2026-01-16 22:01 (UTC)
Confirmed on needing granian updated. Thanks @mroethke!
mroethke commented on 2026-01-11 17:32 (UTC)
I had to update granian for paperless-webserver to work with python 3.14
diff --git a/PKGBUILD b/PKGBUILD
index c2db5c8..3fb0477 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -71,6 +71,7 @@ prepare(){
uv venv --clear --no-managed-python -q "$srcdir/venv"
source "$srcdir/venv/bin/activate"
uv pip install -r "$srcdir/$_pkgname/requirements.txt"
+ uv pip install granian==2.6.1
deactivate
# roughly sorted by assumed compatibility
cotsuka commented on 2026-01-10 17:25 (UTC) (edited on 2026-01-10 17:54 (UTC) by cotsuka)
Getting an import error when attempting to rebuild for the latest version of Python:
Traceback (most recent call last):
File "/usr/lib/python3.14/importlib/metadata/__init__.py", line 407, in from_name
return next(iter(cls.discover(name=name)))
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/virtualenv-tools", line 33, in <module>
sys.exit(load_entry_point('virtualenv_tools3==3.1.1', 'console_scripts', 'virtualenv-tools')())
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/virtualenv-tools", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/lib/python3.14/importlib/metadata/__init__.py", line 960, in distribution
return Distribution.from_name(distribution_name)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/importlib/metadata/__init__.py", line 409, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for virtualenv_tools3
EDIT: I needed to rebuild more of the underlying dependencies. Disregard!
Yamakaky commented on 2025-12-23 14:02 (UTC)
sudo -u paperless paperless-manage migrate fails with a Permission denied: '../paperless.conf' because I was in my home directory. Running cd / before fixes it. Maybe add it to the /usr/bin/paperless-manage wrapper?
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 :)