Fixes the ModuleNotFoundError: PySide6 crash in the packaged exe. netifaces broke pip install -e . (no wheel, needs MSVC); replaced with socket-based LAN IP detection and made pip failures fatal + added a runtime-import smoke check.
Fixes the ModuleNotFoundError: PySide6 crash in the packaged exe. netifaces broke `pip install -e .` (no wheel, needs MSVC); replaced with socket-based LAN IP detection and made pip failures fatal + added a runtime-import smoke check.
The packaged exe crashed with ModuleNotFoundError: No module named 'PySide6'.
Root cause: `pip install -e .` aborted because netifaces has no wheel for the
build's Python and needs MSVC to compile from source, so NO dependencies were
installed — and the workflow didn't catch it (native-command failures don't
trip $ErrorActionPreference, and the next pip command succeeded).
- Replace netifaces with a dependency-free socket-based LAN IP detection in the
GUI; remove netifaces from pyproject and all PyInstaller specs.
- Make pip failures fatal (check $LASTEXITCODE) and add a "Verify runtime
imports" step that fails the build before bundling if any dep is missing.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
jknapp
merged commit d409b64efa into main2026-07-18 05:40:51 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes the ModuleNotFoundError: PySide6 crash in the packaged exe. netifaces broke
pip install -e .(no wheel, needs MSVC); replaced with socket-based LAN IP detection and made pip failures fatal + added a runtime-import smoke check.