From 404beb16e4e470ae604b2e2aff8c3694596f886a Mon Sep 17 00:00:00 2001 From: Boris Pozdena Date: Sun, 18 Oct 2026 18:42:24 +0200 Subject: [PATCH] Clean stale packaging output before building the AppImage wheel The wheel-install step installs every *.whl in dist/. A wheel left over from a previous build (with an older version baked into options.py) was installed on top of the freshly built one, so the AppImage could carry a mix of the new version in its filename and old code inside. --- AppImageBuilder.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AppImageBuilder.yml b/AppImageBuilder.yml index 9ea58ed..e12317e 100644 --- a/AppImageBuilder.yml +++ b/AppImageBuilder.yml @@ -13,6 +13,10 @@ script: - rm -f AppDir/usr/local/lib/python3.10/dist-packages/PySide6/{Qt3D*,QtBluetooth*,QtCharts*,QtConcurrent*,QtDataVisualization*,QtDBus*,QtDesigner*,QtHelp*,QtMultimedia*,QtNetwork*,QtOpenGL*,QtPositioning*,QtPrintSupport*,QtQml*,QtQuick*,QtRemoteObjects*,QtScxml*,QtSensors*,QtSerialPort*,QtSql*,QtStateMachine*,QtSvg*,QtTest*,QtWeb*,QtXml*} - shopt -s extglob - rm -rf AppDir/usr/local/lib/python3.10/dist-packages/PySide6/Qt/lib/!(libQt6OpenGL*|libQt6XcbQpa*|libQt6Wayland*|libQt6Egl*|libicudata*|libicuuc*|libicui18n*|libQt6DBus*|libQt6Network*|libQt6Qml*|libQt6Core*|libQt6Gui*|libQt6Widgets*|libQt6Svg*|libQt6UiTools*) + # Remove packaging output from previous builds: the wheel install below picks + # up every *.whl in dist/, so a stale older wheel would overwrite the freshly + # built package in the AppDir (e.g. an old version number in options.py). + - rm -rf build dist src/onedrive_gui.egg-info - python3 -m build # --no-deps: dependencies were installed from requirements.txt above and pruned # since; pip resolves them against the build container, not the AppDir, so