Skip to content

chore(deps): lift pypowsybl <1.15 upper bound after re-verifying the baseline - #196

Merged
marota merged 1 commit into
ainetus:mainfrom
marota:claude/pypowsybl-decap-leynwq
Jul 22, 2026
Merged

chore(deps): lift pypowsybl <1.15 upper bound after re-verifying the baseline#196
marota merged 1 commit into
ainetus:mainfrom
marota:claude/pypowsybl-decap-leynwq

Conversation

@marota

@marota marota commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

The >=1.13.0,<1.15 cap assumed pypowsybl 1.15 shifted the test_independent_actions_simulation flow deltas beyond the committed baseline's ±1 MW tolerance (PR #99). Re-verified against pypowsybl 1.14 / 1.15 / 1.16 on the small test grid: all three reproduce expert_backend/tests/baseline_scenario.json within tolerance (max abs delta 0.0 MW, no COUCHY632 Q sign-flip), so no baseline regeneration is needed and the constraint becomes pypowsybl>=1.13.0. The floor stays at 1.13.0 because the oldest supported pypowsybl also bounds the IIDM schema the shipped game networks may use.

  • pyproject.toml: drop the upper bound + replace the now-false comment
  • scripts/game_mode/test_rte7000_game_mode.py: the IIDM<=1.14 guard now references the >=1.13 floor rather than the removed <1.15 ceiling
  • CHANGELOG.md: document the dependency change

Claude-Session: https://claude.ai/code/session_01VbVUCLrfvmYLpmLEVZN6i2

…baseline

The `>=1.13.0,<1.15` cap assumed pypowsybl 1.15 shifted the
`test_independent_actions_simulation` flow deltas beyond the committed
baseline's ±1 MW tolerance (PR ainetus#99). Re-verified against pypowsybl
1.14 / 1.15 / 1.16 on the small test grid: all three reproduce
`expert_backend/tests/baseline_scenario.json` within tolerance (max abs
delta 0.0 MW, no COUCHY632 Q sign-flip), so no baseline regeneration is
needed and the constraint becomes `pypowsybl>=1.13.0`. The floor stays
at 1.13.0 because the oldest supported pypowsybl also bounds the IIDM
schema the shipped game networks may use.

- pyproject.toml: drop the upper bound + replace the now-false comment
- scripts/game_mode/test_rte7000_game_mode.py: the IIDM<=1.14 guard now
  references the >=1.13 floor rather than the removed <1.15 ceiling
- CHANGELOG.md: document the dependency change

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VbVUCLrfvmYLpmLEVZN6i2
Signed-off-by: marota <amarot91@gmail.com>
@marota
marota merged commit dfff190 into ainetus:main Jul 22, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant