Repository navigation
support python 3.11 through 3.14 - #22
Merged
Merged
Conversation
bugs:
- PVEnv.reset() returned None
- to_scaled never warned when x was above high (operator precedence)
- FiveZoneROMEnv.step_reward counted upper violations twice, lower never
- building env assigned self.model instead of self.models
- get_bus_voltage_by_name replaced every occurrence of the phase letter
- energy storage obs label typo (stage_of_charge -> state_of_charge)
- energy storage used Timedelta.seconds instead of total_seconds()
- MultiAgentEnv ended episodes one step early (max_episode_steps=250 ran 249)
- reward_structure={"alpha": ...} was silently swallowed by **kwargs; alpha
is now a real FiveZoneROMThermalEnergyEnv arg (default 0.2, same as before)
and the dead config is removed from the scenario and notebook
cleanup: run_command -> Command (kills ~2.5k deprecation warnings in tests),
print -> logger, drop duplicate/no-op abstractmethods, mutable defaults, and
dead code.
docs: readme install/test steps, examples index, typos, pyproject metadata,
ci comments.
adds tests/test_regressions.py covering each fix.
Co-Authored-By: Claude <noreply@anthropic.com>
3.10 hit end of life in october 2026. tests and example notebooks pass on 3.13 and 3.14 with no dependency changes. - requires-python >=3.11, relock (drops the 3.10-only backport packages) - ci matrix 3.11-3.14, and pass the matrix version to uv sync so uv can't pick a different interpreter than the one under test - readme Co-Authored-By: Claude <noreply@anthropic.com>
macos runners are shared across the whole org with a much lower concurrency cap, so jobs were sitting in the queue. nothing here needs macos. Co-Authored-By: Claude <noreply@anthropic.com>
# Conflicts: # .github/workflows/main.yml
Co-Authored-By: Claude <noreply@anthropic.com>
tests were written from signatures and docstrings only, without reading the implementation. where the code disagrees with its docs the test is kept and marked xfail(strict=True) with the discrepancy in the reason. Co-authored-by: davebiagioni <davebiagioni@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>
# Conflicts: # .github/workflows/main.yml # README.md # uv.lock
the org's runner pool is congested, and with uv.lock pinning deps the extra versions mostly re-test the same thing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
python 3.10 went end of life in october 2026, so this drops it and adds 3.13 and 3.14.
changes
requires-python = ">=3.11", relocked. the lock gets ~550 lines shorter because the 3.10-only backports drop outuv sync, so uv can't quietly pick some other interpreter than the one we think we're testingno dependency changes needed. everything already ships wheels for 3.13 and 3.14.
testing
locally on macOS, tests + example notebooks on each: