| 2 Jul 2026 |
K900 | Also bisect ran out of disk space | 02:19:41 |
K900 | Also I'm up at 5AM don't ask | 02:19:46 |
K900 | Oh well, freed up some more space, hopefully it's done by normal person hours | 02:24:49 |
K900 | Oh great | 10:11:31 |
K900 | There's multiple issues | 10:11:34 |
K900 | At least one failure is 3.14 specific | 10:11:44 |
K900 | But there are also other failures that are not | 10:11:52 |
K900 | So it bisected to the 3.14 update | 10:13:11 |
K900 | But now I guess I have to pin 3.13 and rerun everything | 10:13:18 |
hexa | 😬 | 10:13:44 |
K900 | I think there are also tests that just hard lock up on 3.14 | 10:15:05 |
K900 | Anyway here we go again I guess | 10:15:59 |
K900 | At least everything should be cached... | 10:16:03 |
K900 | Redacted or Malformed Event | 10:16:05 |
K900 | OK great | 10:27:03 |
K900 | All the google-cloud stuff is broken on 3.13 now | 10:27:09 |
hexa | maybe the one update I merged https://github.com/NixOS/nixpkgs/pull/536864 | 10:31:54 |
hexa | dunno, they generally want to be in sync | 10:32:04 |
K900 | It's broken inside grpc somewhere | 10:32:56 |
K900 | I think I'm just going to stub it out | 10:33:04 |
K900 | It's only pulled in via celery | 10:33:19 |
K900 | OK yes these are different | 10:42:41 |
hexa | looking at the google-cloud-shitfest | 10:47:51 |
hexa | it's probably just that they haven't been bumped in a while | 10:48:07 |
hexa | because guess what… nobody wants to | 10:48:12 |
K900 | OK so on 3.13 nothing locks up and there's two tests that fail and they're both in the same place and something about Django signal handling | 10:49:33 |
K900 | https://github.com/paperless-ngx/paperless-ngx/commit/5e1202a4168fbc8e36f816f36eb16dd7636e9d9c | 10:56:35 |
K900 | OK cool | 10:56:37 |
K900 | diff --git a/pkgs/by-name/pa/paperless-ngx/package.nix b/pkgs/by-name/pa/paperless-ngx/package.nix
index 641da02e2848..8f6a53ea7034 100644
--- a/pkgs/by-name/pa/paperless-ngx/package.nix
+++ b/pkgs/by-name/pa/paperless-ngx/package.nix
@@ -3,10 +3,12 @@
stdenv,
fetchFromGitHub,
fetchPypi,
+ fetchpatch,
callPackage,
nixosTests,
gettext,
- python3,
+ # tests fail and eventually lock up on 3.14
+ python313,
ghostscript_headless,
imagemagickBig,
jbig2enc,
@@ -40,9 +42,21 @@ let
# tesseract5 may be overwritten in the paperless module and we need to propagate that to make the closure reduction effective
ocrmypdf = prev.ocrmypdf_16.override { tesseract = tesseract5; };
+
+ # these are broken on 3.13
+ google-cloud-firestore = null;
+ google-cloud-iam = null;
+ google-cloud-kms = null;
+ google-cloud-monitoring = null;
+ google-cloud-pubsub = null;
+ google-cloud-storage = null;
+
+ # these depend on google-cloud stuff in tests
+ celery = prev.celery.overridePythonAttrs { doCheck = false; };
+ kombu = prev.kombu.overridePythonAttrs { doCheck = false; };
};
- python = python3.override {
+ python = python313.override {
self = python;
packageOverrides = lib.composeManyExtensions [
defaultPythonPackageOverrides
@@ -83,6 +97,15 @@ python.pkgs.buildPythonApplication (finalAttrs: {
hash = "sha256-Czh4Knel0IIHsTc3kEnp1153Kv+3721GRCbTYTkeCDg=";
};
+ patches = [
+ # fix tests with latest filelock
+ (fetchpatch {
+ url = "https://github.com/paperless-ngx/paperless-ngx/commit/5e1202a4168fbc8e36f816f36eb16dd7636e9d9c.diff";
+ includes = [ "src/*" ];
+ hash = "sha256-ZDC+T4DyOBBV8SCw8xyeYGua1XOhiP7eoZthnSE/Fkk=";
+ })
+ ];
+
postPatch = ''
# pytest-xdist with to many threads makes the tests flaky
if (( $NIX_BUILD_CORES > 3)); then
@@ -114,6 +137,7 @@ python.pkgs.buildPythonApplication (finalAttrs: {
# requested by maintainer
"imap-tools"
"ocrmypdf"
+ "filelock"
];
dependencies =
| 11:07:35 |
K900 | Doing one last run of this on current staging-next | 11:08:04 |