Paperless-ngx can't be upgraded

I have searched the forum for similar issues

on

This category is for issues regarding specific apps, NOT general issues with YunoHost.

on

This form is written in English but feel free to write in French if you’re more comfortable!

on

What app is this about, and its version

paperless-ngx, 3.1.3~ynh1

What YunoHost version are you running

12.1.41.2

What type of hardware are you using

Old laptop or computer

Describe your issue

Tried to upgrade paperless-ngx. Fails. Something to do with python?

WARNING Here's an extract of the logs before the crash. It might help debugging the error:
INFO DEBUG -   Downloading psycopg-3.3.4-py3-none-any.whl (213 kB)
INFO DEBUG - Collecting psycopg-c==3.3.4 (from -r /var/www/paperless-ngx/requirements.txt (line 1801))
INFO DEBUG -   Downloading psycopg_c-3.3.4.tar.gz (647 kB)
INFO DEBUG -      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 647.1/647.1 kB 7.3 MB/s  0:00:00
INFO DEBUG -   Installing build dependencies: started
INFO DEBUG -   Installing build dependencies: finished with status 'done'
INFO DEBUG -   Getting requirements to build wheel: started
INFO DEBUG -   Getting requirements to build wheel: finished with status 'done'
INFO DEBUG -   Preparing metadata (pyproject.toml): started
INFO DEBUG -   Preparing metadata (pyproject.toml): finished with status 'done'
INFO DEBUG - Collecting psycopg-pool==3.3.1 (from -r /var/www/paperless-ngx/requirements.txt (line 1826))
INFO DEBUG -   Downloading psycopg_pool-3.3.1-py3-none-any.whl (40 kB)
INFO DEBUG - Collecting pycparser==3.0 (from -r /var/www/paperless-ngx/requirements.txt (line 1832))
INFO DEBUG -   Downloading pycparser-3.0-py3-none-any.whl (48 kB)
INFO DEBUG - Collecting pydantic==2.12.5 (from -r /var/www/paperless-ngx/requirements.txt (line 1836))
INFO DEBUG -   Downloading pydantic-2.12.5-py3-none-any.whl (463 kB)
INFO DEBUG - ERROR: Ignored the following versions that require a different python version: 1.19.4 Requires-Python >=3.5,<3.9; 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 2.5.0 Requires-Python >=3.12; 2.5.0rc1 Requires-Python >=3.12; 2.5.1 Requires-Python >=3.12; 2.5.2 Requires-Python >=3.12; 2.5.3 Requires-Python >=3.12; 3.7 Requires-Python >=3.12,!=3.14.1; 3.7rc0 Requires-Python >=3.12,!=3.14.1; 6.0 Requires-Python >=3.12; 6.0.1 Requires-Python >=3.12; 6.0.2 Requires-Python >=3.12; 6.0.3 Requires-Python >=3.12; 6.0.4 Requires-Python >=3.12; 6.0.5 Requires-Python >=3.12; 6.0.6 Requires-Python >=3.12; 6.0.7 Requires-Python >=3.12; 6.0.8 Requires-Python >=3.12; 6.0a1 Requires-Python >=3.12; 6.0b1 Requires-Python >=3.12; 6.0rc1 Requires-Python >=3.12; 6.1 Requires-Python >=3.12; 6.1.1 Requires-Python >=3.12; 6.1a1 Requires-Python >=3.12; 6.1b1 Requires-Python >=3.12; 6.1rc1 Requires-Python >=3.12
INFO DEBUG - ERROR: Could not find a version that satisfies the requirement pydantic-core==2.41.5 (from versions: none)
INFO DEBUG - ERROR: No matching distribution found for pydantic-core==2.41.5
INFO DEBUG - + ynh_exit_properly
WARNING Upgrade failed ... attempting to restore the safety backup (Yunohost first need to remove the app for this) ...

Share relevant logs or error messages

https://paste.yunohost.org/raw/ahaholawav

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.