Package Details: paperless-ngx-venv 2.14.7-2

Git Clone URL: https://aur.archlinux.org/paperless-ngx-venv.git (read-only, click to copy)
Package Base: paperless-ngx-venv
Description: A supercharged version of paperless: scan, index and archive all your physical documents (version with bundled dependencies)
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: AlphaJack
Votes: 27
Popularity: 0.87
First Submitted: 2024-11-02 15:19 (UTC)
Last Updated: 2025-03-08 20:39 (UTC)

Required by (0)

Sources (12)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 13 Next › Last »

atomicfs commented on 2024-11-02 15:27 (UTC)

I just pushed 2 fixes

AlphaJack commented on 2024-11-02 15:14 (UTC)

@shtropic I tried your patched version and I can launch paperless, but I get a lot of

usr/lib/paperless/lib/python3.12/site-packages/whoosh/analysis/filters.py:50: SyntaxWarning: invalid escape sequence '\w'
  url_pattern = rcompile("""
/usr/lib/paperless/lib/python3.12/site-packages/whoosh/analysis/filters.py:148: SyntaxWarning: invalid escape sequence '\S'
  """Interleaves the results of two or more filters (or filter chains).
/usr/lib/paperless/lib/python3.12/site-packages/whoosh/analysis/intraword.py:37: SyntaxWarning: invalid escape sequence '\S'
  """Given a set of words (or any object with a ``__contains__`` method),
/usr/lib/paperless/lib/python3.12/site-packages/whoosh/analysis/intraword.py:224: SyntaxWarning: invalid escape sequence '\S'
  """Splits words into subwords and performs optional transformations on
/usr/lib/paperless/lib/python3.12/site-packages/whoosh/analysis/intraword.py:285: SyntaxWarning: invalid escape sequence '\|'
  def __init__(self, delims=u("-_'\"()!@#$%^&*[]{}<>\|;:,./?`~=+"),

before I see paperless output. Do you know why?

atomicfs commented on 2024-11-01 11:29 (UTC)

@shtrophic awesome! Thanks, I will take a look at it.

@AlphaJack I think we could convert this existing package into venv one. But ultimately it is your decision whether to convert or create a new paperless-ngx-venv AUR package.

shtrophic commented on 2024-11-01 10:51 (UTC) (edited on 2024-11-01 10:52 (UTC) by shtrophic)

I came up with a patch (hack) to turn the dependencies into a virtual environment. It is rather large, so I cannot paste it here. I've uploaded it to:

https://liebender.dev/patches/paperless-ngx-venv/

See venv.patch at the bottom. Other files have the patch applied.

I haven't thoroughly tested this; Services start and run fine though. Feel free to give this a try and let me know. Depending on whether or not this works well enough I can create a paperless-ngx-venv AUR package, but feel free to apply this patch to this AUR package instead, if you prefer.

AlD commented on 2024-10-03 17:36 (UTC)

Same for Home Assistant.

StefanT commented on 2024-10-03 17:32 (UTC)

Yes, a paperless-venv would be a solution. We did this with Salt and since then it just works.

atomicfs commented on 2024-10-01 20:48 (UTC)

Sorry, for the long silence, I was very stressed with lack of time lately. And to be honest, dealing with paperless-ngx it is a pain. My own instance is broken now for a while (again) and I just do not want to deal with it.

Given how much problematic paperless is with its dependencies, I think I will look into some alternative way to manage this (other than pacman dependencies). Maybe some python virtual environment or something, because this is unmanageable.

The paperless project is lacking behind with dependency versions, often by a lot. And their solution is to just lock the version in their requirements.txt.

I still want to run bare-metal without the use of docker, but the constant struggle with the required obsolete dependencies is just too much.

shtrophic commented on 2024-08-25 07:30 (UTC)

to be honest this is the first time I heard about valkey

so, what's your assessment?

I think this is more hackish solution than to add uvicorn to a IgnorePkg option in /etc/pacman.conf to prevent pacman from updating it.

0.25 in the mirrors was built against python 3.11, so downgrading it via downgrade doesn't work. I'm considering to create a PKGBUILD for uvicorn-0.25, but ideally without conflicting uvicorn. That would require patching paperless-ngx to include uvicorn-0.25, however.

atomicfs commented on 2024-08-18 13:24 (UTC)

@Sir-Photch to be honest this is the first time I heard about valkey, I was not aware that redis changed license.

As for the uvicorn v0.30, those patches look like dirty workaround to me. I think this is more hackish solution than to add uvicorn to a IgnorePkg option in /etc/pacman.conf to prevent pacman from updating it.

pipep commented on 2024-08-18 04:22 (UTC)

paperless-ngx depends on python-django-soft-delete 1.0.13, 1.0.14 is not yet supported and is causing issues. https://github.com/paperless-ngx/paperless-ngx/issues/7486