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