Skip to content

v1.2.2 — silence remaining PyInstaller warnings

Choose a tag to compare

@pacnpal pacnpal released this 10 May 20:26
· 34 commits to main since this release

FloppyBootCD v1.2.2 — silence remaining PyInstaller build warnings

A two-line follow-up to v1.2.1. The exclude-module + post-build prune from v1.2.1 silenced most of the PyInstaller noise, but four "Library not found" warnings still leaked through every macOS build:

Library not found: could not resolve '/usr/local/lib/libmimerapi.dylib',
  dependency of '.../sqldrivers/libqsqlmimer.dylib'
Library not found: could not resolve '/opt/homebrew/opt/libiodbc/lib/libiodbc.2.dylib',
  dependency of '.../sqldrivers/libqsqlodbc.dylib'
Library not found: could not resolve '/Applications/Postgres.app/Contents/Versions/14/lib/libpq.5.dylib',
  dependency of '.../sqldrivers/libqsqlpsql.dylib'
Library not found: could not resolve '@rpath/QtQuickShapesDesignHelpers.framework/...',
  dependency of '.../qml/QtQuick/Shapes/DesignHelpers/libqtquickshapesdesignhelpersplugin.dylib'

Why v1.2.1 didn't fix them: --exclude-module only filters Python imports. The native Qt plugin .dylib files are still on disk inside site-packages/PySide6/Qt/plugins/ for PyInstaller to scan, and PyInstaller dutifully reports broken host-path dependencies it finds there before the post-build prune ever runs.

Fix

New "Pre-prune PySide6 install" workflow step that deletes the offending plugin dirs from site-packages before pyinstaller runs:

  • Qt/plugins/sqldrivers, multimedia, mediaservice, position, geoservices, texttospeech, webview, networkinformation, tls, canbus, sensors, sensorgestures, gamepads, designer, renderers, qmltooling, scxmldatamodel, assetimporters
  • Qt/qml (covers the QtQuickShapesDesignHelpers warning)
  • Qt/translations (locale .qm files for 30+ languages)

Mirrors the post-build prune list, so nothing the running app needs is touched. PyInstaller's scan now sees a clean site-packages and prints zero "Library not found" warnings. The post-build prune step stays as a belt-and-suspenders defense.

No app behavior changes. Same 12-artifact lineup as v1.2.1.

See the v1.2.0 release notes for the WinImage .imz support, CD-R capacity meter, Linux packaging, and the GUI crash fix.

Or upgrade in place: uv tool upgrade floppybootcd.

Full Changelog: v1.2.1...v1.2.2