You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(build): read VERSION dynamically in NewsAlerts.spec and fix macOS DMG packaging #80
NewsAlerts.spec:120-121 hardcodes macOS CFBundleVersion and CFBundleShortVersionString to '2.9.0' instead of reading the root VERSION SSOT (2.12.0+).
scripts/package_macos_dmg.sh:28 copies app web assets requirements.txt run_app.py into Contents/Resources/ but omits VERSION, causing app/version.py:_load_version() to fall back to stale hardcoded '2.4.5' (app/version.py:164).
scripts/package_macos_dmg.sh:63 executes bare python3 "$DIR/run_app.py" without checking for a bundled PyInstaller .app or local .venv.
Inspect NewsAlerts.spec lines 120-121 -> hardcoded '2.9.0' despite VERSION being 2.12.0.
Inspect scripts/package_macos_dmg.sh line 28 -> VERSION is not copied into Contents/Resources/.
Expected Behavior
NewsAlerts.spec should read root VERSION dynamically; scripts/package_macos_dmg.sh should package the PyInstaller dist/NewsAlerts.app bundle when available (and copy VERSION + detect .venv in script fallback mode).
Operating System & Version
OS: Windows 11 x64 / macOS arm64 / Linux x86_64
Version: v2.12.0
Display / Scale: Verified via live Chrome CDP (1600x960) & local unit/backend suite
Summary of Changes: Updated NewsAlerts.spec to read root VERSION dynamically for macOS CFBundleVersion/CFBundleShortVersionString, and updated scripts/package_macos_dmg.sh to package dist/NewsAlerts.app (and include VERSION + .venv detection in fallback mode). Verified via unit tests.
Verification: compileall clean, 84/84 unit tests passing (including tests/test_audit_fixes.py), and live Chrome CDP verification passed.
This issue will automatically close upon PR #82 review and merge into main.
Activity
github-actions commentedon Dec 2, 2026
✅ Issue Validation Passed
fix(build))This issue is well-structured and ready for work according to the Issue-First Protocol.
mlgitdev commentedon Dec 2, 2026
🚀 Resolution In Progress
A fix for this issue has been implemented and submitted in Pull Request #82 (
v2.12.1).fix/audit-remediation-67NewsAlerts.specto read rootVERSIONdynamically for macOSCFBundleVersion/CFBundleShortVersionString, and updatedscripts/package_macos_dmg.shto packagedist/NewsAlerts.app(and includeVERSION+.venvdetection in fallback mode). Verified via unit tests.compileallclean, 84/84 unit tests passing (includingtests/test_audit_fixes.py), and live Chrome CDP verification passed.This issue will automatically close upon PR #82 review and merge into
main.