What's Changed
- v0.15.1 - Code Quality and Build Pipeline Improvements by @jasonacox in #275
- Fix: Remove duplicate stub methods
get_grid_charging()andget_grid_export()inpypowerwall_tedapi.pythat were left over from a merge — the real implementations (reading/writing config via v1r transport) were already present and being shadowed - Fix: Update
pwsimulatorstub.pyto usessl.SSLContextAPI replacing the removedssl.wrap_socket()call, which caused the simulator container to silently exit on Python 3.12+ - Fix: Remove
linux/arm/v7platform frompwsimulatorDocker build (upload.sh) — platform is no longer supported - Fix: Correct protobuf runtime dependency —
protobuf>=3.20.0was misleading; pb2 files generated with 4.25.x requireprotobuf>=4.25.1,<5 - Add:
.pylintrcwith[MESSAGES CONTROL]disable list (restored),[SIMILARITIES]config, andignore-pathsto skip auto-generated*_pb2.pyfiles - Add:
tools/gen_proto.sh— script to regenerate all*_pb2.pyfiles from.protosources using pinnedgrpcio-tools - Add:
tools/requirements-tools.txt— pinned dev tools (grpcio-tools<1.64,protobuf<5) to ensure pb2 files are generated consistently with a compatible protobuf version - Add:
.pre-commit-config.yaml— pre-commit hooks for protobuf regeneration andpylint -Echecks onpypowerwall/andproxy/before every commit - Add:
.github/workflows/check-protobuf.yml— CI workflow to verify committed*_pb2.pyfiles are in sync with their.protosources
Full Changelog: v0.15.0...v0.15.1