From dcb6ee0c663ac5933056d3bdcdf3c4355b4ba9ca Mon Sep 17 00:00:00 2001 From: engineer Date: Mon, 1 Jun 2026 14:16:07 -0700 Subject: [PATCH] fix(ci): pin androguard<4.1 for F-Droid publish fdroidserver 2.4.4 + androguard 4.1+ crashes in 'fdroid update' with "'NoOverwriteDict' object has no attribute 'append'" while parsing the APK v2/v3 signature. Pin androguard>=4.0,<4.1 to restore the self-hosted F-Droid repo publish. --- .github/workflows/publish-fdroid.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-fdroid.yml b/.github/workflows/publish-fdroid.yml index e6ea974..ea144b3 100644 --- a/.github/workflows/publish-fdroid.yml +++ b/.github/workflows/publish-fdroid.yml @@ -69,7 +69,10 @@ jobs: run: ./gradlew assembleRelease - name: Install fdroidserver - run: pip install "fdroidserver==2.4.4" + # Pin androguard < 4.1: 4.1+ regressed APK signature parsing + # ('NoOverwriteDict' object has no attribute 'append') and breaks + # `fdroid update` with fdroidserver 2.4.4. + run: pip install "fdroidserver==2.4.4" "androguard>=4.0,<4.1" - name: Setup F-Droid repo id: fdroid-setup