paperless-ngx: 2.16.2 -> 2.16.3

Changelog: https://github.com/paperless-ngx/paperless-ngx/releases/tag/v2.16.3

Also reduce max cores to reduce flakiness of tests...
This commit is contained in:
Sandro Jäckel 2025-06-09 01:59:26 +02:00
parent 54bfa64faf
commit 7e86f64dcb
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -26,13 +26,13 @@
xorg,
}:
let
version = "2.16.2";
version = "2.16.3";
src = fetchFromGitHub {
owner = "paperless-ngx";
repo = "paperless-ngx";
tag = "v${version}";
hash = "sha256-w6VS3m661EvLGk1lVbTAYNzwVgXjvegn0KByGDBFjz0=";
hash = "sha256-mtzr/rRzcYcZl9tUkhxEKoFQWm1QTToOYZJXhynwDmk=";
};
python = python3.override {
@ -69,7 +69,7 @@ let
pnpmDeps = pnpm.fetchDeps {
inherit pname version src;
hash = "sha256-tSBpZ+1aPLUI0SKpOyKo+OLsJZiyDCxRb+5hKMPrxL8=";
hash = "sha256-Z7c+AstVnxbPnEhc51qSqOYhRXqNJVwTvgHFcFp+pYg=";
};
nativeBuildInputs =
@ -134,8 +134,8 @@ python.pkgs.buildPythonApplication rec {
postPatch = ''
# pytest-xdist with to many threads makes the tests flaky
if (( $NIX_BUILD_CORES > 4)); then
NIX_BUILD_CORES=4
if (( $NIX_BUILD_CORES > 3)); then
NIX_BUILD_CORES=3
fi
substituteInPlace pyproject.toml \
--replace-fail '"--numprocesses=auto",' "" \