Releases: WeRaDev/FilantropiaSolar
Releases Β· WeRaDev/FilantropiaSolar
FilantropiaSolar v.1.2.3
π FilantropiaSolar v1.2.3 β Windows Installer Hardening + Baseline Fixes
This release focuses on stabilizing the Windows desktop build and ensuring the Python package runs cleanly across environments, while preserving all functionality from v1.2.2.
π― Highlights
- β
Tests: 32 passed, 1 skipped (
tests/integration/test_data_processing.py::test_gui_components_integration), no failures. - β
Windows installer (
FilantropiaSolar-setup-1.2.3-x64.exe) successfully built and tested on a fresh Windows machine. - β Python package metadata and UI updated to v1.2.3 across the codebase.
π Fixes & Improvements
1. Windows PyInstaller & SciPy Integration
- Fixed runtime errors like:
ModuleNotFoundError: No module named 'scipy'
- Updated
filantropia_solar.specto:- Explicitly include SciPy as a hidden import:
hidden += ['scipy']
- Remove SciPy from the
excludeslist so scikitβlearn can import it at runtime.
- Explicitly include SciPy as a hidden import:
- Result: Windows EXE now runs without missing SciPy / sklearn dependencies.
2. Baseline Overlay (Lisbon 4-Year Averages)
- Problem: Baseline min/avg/max overlay on the hourly energy chart was missing in the Windows build because
average_values.csvwasnβt bundled. - Fixes:
- Added
average_values.csvto PyInstallerdatas:('average_values.csv', '.')
- Ensures
get_resource_path("average_values.csv")finds the file in frozen builds.
- Added
- Result: Hourly charts now show the Lisbon 4βyear baseline as:
- Black vertical minβmax lines.
- Black
'x'markers at average energy, scaled by installation capacity.
3. NSIS Installer Script Hardening
- Issues addressed:
SetRegViewandLogSetused at global scope, causing errors:command SetRegView not valid outside Section or FunctionLogSet specified, NSIS_CONFIG_LOG not defined
- Fixes in
windows_installer/installer_v2.nsi:- Moved
SetRegView 64into:Function .onInitFunction un.onInit
- Removed
LogSetusage entirely to be compatible with stock NSIS builds without logging support.
- Moved
- Result:
- NSIS installer compiles cleanly on standard NSIS 3.x.
- 64βbit registry view is still enforced for install/uninstall.
4. Main Entry Point Logging Safety
- Issue: If both
filantropia_solar.*andsrc.*imports failed, the exception handler tried to useloggerbefore it was defined, causing:NameError: name 'logger' is not defined
- Fix:
- Create the logger before project imports in
main.py:logger = logging.getLogger(__name__)
_setup_logging()later configures handlers/levels, but the logger object is always available for early import error reporting.
- Create the logger before project imports in
- Result:
- More robust startup logging in both dev and frozen environments.
5. Version Alignment
- Bumped version to 1.2.3 in:
pyproject.tomlsrc/filantropia_solar/__init__.pymain.py(docstring, window titles, loading screen text)- Windows installer:
windows_installer/installer_v2.nsiwindows_installer/installer.nsi(legacy)
- Documentation:
README.mdtitle + version badge.CHANGELOG.mdwith a new[1.2.3]section.- Windows installer docs (
BUILD_INSTRUCTIONS.md,README.md,WINDOWS_INSTALLER_SUMMARY.md).
6. Workflow Deprecation (Manual Release Flow)
- All GitHub Actions workflows have been marked DEPRECATED and converted to manual
workflow_dispatchonly:.github/workflows/build.yml.github/workflows/ci-enhanced.yml.github/workflows/ci-minimal.yml.github/workflows/release.yml.github/workflows/windows-installer.yml
- No CI actions will run automatically on
pushortagevents for v1.2.3+. - Rationale: releases (especially Windows installers) are now built and tested manually on real Windows/macOS environments for predictable behavior.
π¦ Installation (Python Package)
pip install filantropia-solar==1.2.3
**Full Changelog**: https://github.com/WeRaDev/FilantropiaSolar/compare/v1.2.2...v1.2.3FilantropiaSolar v1.0.3
π FilantropiaSolar v1.0.3
π― What's New
π Changes since v1.0.2:
- π FilantropiaSolar v1.0.3 - Smart Caching Editionβ¦
π¦ Installation
pip install filantropia-solar==1.0.3π Links
Full Changelog: v1.0.2...v1.0.3
FilantropiaSolar v1.0.2
π FilantropiaSolar v1.0.2
π― What's New
π Changes since v1.0.0:
- π¨ Release v1.0.2: Enhanced Interactive Charts & UI Improvementsβ¦
- fix: Add load option to Docker build for Trivy security scan
- fix: Make container security scan non-blocking to fix CI workflow
- docs: Add Warp Agent configuration and fix repository URLs
- docs: Add comprehensive release summary for v1.0.0β¦
- fix: Resolve Docker build pip install issuesβ¦
- Security hardening: Update vulnerable dependencies and harden Dockerfile
- Make container security and performance tests non-blocking for v1.0.0 release
- Update package version to v1.0.0 to match release
- Fix Docker build: Add missing LICENSE file and update Dockerfile for main.py
- Final CI fixes: expand ignore list and auto-format remaining files
- Fix CI workflow: Auto-fix linting issues and make checks non-blocking for v1.0.0
- Fix pytest configuration - Remove warnings for custom marks
- Fix CI workflow failures for v1.0.0 structure - Updated GUI module and tests
π¦ Installation
pip install filantropia-solar==1.0.2π Links
Full Changelog: v1.0.0...v1.0.2
FilantropiaSolar v1.0.0
π FilantropiaSolar v1.0.0
π― What's New
- Initial release of FilantropiaSolar
π¦ Installation
pip install filantropia-solar==1.0.0π Links
Full Changelog: https://github.com/WeRaDev/FilantropiaSolar/commits/v1.0.0