Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 2, 2025

Fixes #306

Updates the requirements on pandapower to permit the latest version.

Release notes

Sourced from pandapower's releases.

pandapower 3.1.1

[3.1.1]

  • [HOTFIX] digital attestation url was wrong

[3.1.0] - 2025-05-26

  • [ADDED] pf2pp converter - import of shunt characteristic tables
  • [ADDED] pf2pp conversion by considering tap dependent impedance
  • [FIXED] cim2pp converter - set sgen 'controllable' flag as False when converting energySources to avoid ValueError when executing create_sgen
  • [ADDED] PF2PP conversion by considering tap dependent impedance
  • [ADDED] pf2pp converter - added columns origin_id in multiple equipment (ext_net, coup, load, (s)gen, shunts, zpu, vac, svc)
  • [FIXED] pf2pp converter - trafo characteristic: Fixed tap changer type and included an if-clause that removes the zero sequence components in measurement report (for now)
  • [FIXED] corrected implementation of tap changer at star point with tap changer tables
  • [ADDED] cim2pp converter - extract 'controlenabled' flag from CGMES SSH profile and populate 'controllable' flag for gen and sgen elements
  • [ADDED] add function to determine qmin and qmax based on current active power in build_gen and update the dataframe with the determined values
  • [ADDED] parameter include_type_id to dump_to_geojson, to produce geojson features without the pp_index and pp_type field
  • [FIXED] added a fix which hinders selection of a subsection of busses for plotting
  • [ADDED] cim2pp converter - additional column "EquipmentContainer_id" in line table
  • [ADDED] cim2pp: add tests for buses and switches for node breaker test net, add node breaker test net to CGMES folder
  • [FIXED] DC loadflow after AC loadflow, had ambiguous results still present in net
  • [ADDED] add three columns: id_q_capability_curve_table, reactive_capability_curve, curve_style in gen and sgen
  • [ADDED] create q capability curve characteristics and diagnostics function
  • [ADDED] cim2pp converter - import reactive power capability curve data synchronousMachinesCim16.py
  • [ADDED] cim2pp converter - export parameter "governorSCD" in additional column in gen table
  • [FIXED] a problem with create_nxgraph
  • [ADDED] parameter slack_as_gen for from_ucte() converter (changed the default behavior)
  • [FIXED] cim2pp: the ignore_errors parameter was not respected in the CimParser
  • [FIXED] cim2pp: keep the busbar names and IDs for node breaker and bus branch models
  • [FIXED] cim2pp: extend cim data structure with missing parameters
  • [FIXED] cim2pp: better vector group assignment
  • [FIXED] cim2pp: refactor cim2pp test
  • [FIXED] cim2pp: manage crash when importing not supported dy profile
  • [ADDED] cim2pp: add tests for short circuit parameters
  • [ADDED] ucte2pp: consider G&B values in impedances
  • [ADDED] cim2pp: add normalSections for shunts at CIM100 and removed old schema
  • [ADDED] cim2pp: add DCLine component to cim16 and cim100 datastructures
  • [FIXED] cim2pp: fix deprecation warning in cim_classes.py and fix bug in measurements
Commits
  • 5e2a0aa Merge branch 'hotfix/digital_attestation_url'
  • 5c06f9f bump version
  • e4e9db7 Documentation stated something different, but I had to change the url again b...
  • 8d86913 Merge branch 'release/v3.1.0'
  • a32cea6 bump version
  • f9802d2 Merge pull request #2618 from e2nIEE/feature/automatic_attestation
  • 4290a2d Merge branch 'develop' into feature/automatic_attestation
  • 164e561 updated authors file
  • 96285f2 test file already existed therefore, added a skipping feature for testing.
  • 7e44952 enbling debuggin
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [pandapower](https://github.com/e2nIEE/pandapower) to permit the latest version.
- [Release notes](https://github.com/e2nIEE/pandapower/releases)
- [Changelog](https://github.com/e2nIEE/pandapower/blob/develop/CHANGELOG.rst)
- [Commits](e2nIEE/pandapower@v2.12.0...v3.1.1)

---
updated-dependencies:
- dependency-name: pandapower
  dependency-version: 3.1.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jun 2, 2025
@mgovers
Copy link
Member

mgovers commented Jun 2, 2025

Postponed until PGM-IO v1.3.0 is released in #308 / #309

@mgovers mgovers requested a review from Copilot June 2, 2025 05:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the pandapower dependency bounds to allow newer 3.x releases and adjusts test imports and CI steps accordingly.

  • Removed conditional import skips so tests now assume pandapower is installed via dev extras.
  • Updated pyproject.toml and workflow to simplify pandapower version specifiers.
  • Dropped the # pragma: no cover on PandaPowerConverter to include it in coverage.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/validation/converters/test_pandapower_converter_input.py Removed pytest.importorskip wrapper so tests always import pandapower.
tests/unit/converters/test_pandapower_converter_input.py Added direct import pandapower as pp and removed skip logic.
src/power_grid_model_io/converters/pandapower_converter.py Removed # pragma: no cover annotation on PandaPowerConverter class.
pyproject.toml Changed optional-dev and examples extras to pandapower>2.11.1 (dropped upper bounds).
.github/workflows/build-test-release.yml Simplified wheel installation steps by removing Python-3.13-specific dev-bare logic.

Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 2, 2025

@mgovers mgovers changed the title Update pandapower requirement from <3.1,>2.11.1 to >2.11.1,<3.2 Update pandapower requirement from <3.1,>2.11.1 to >2.11.1 Jun 2, 2025
@mgovers mgovers requested a review from Copilot June 2, 2025 05:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the pandapower requirement to allow the latest 3.x release and simplifies related test skips and CI installation steps.

  • Remove version upper bounds for pandapower in pyproject.toml and examples.
  • Replace pytest.importorskip with direct imports in tests.
  • Simplify wheel installation logic in the GitHub Actions workflow.
  • Remove coverage exclusion on PandaPowerConverter.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/validation/converters/test_pandapower_converter_input.py Removed pytest.importorskip; tests now assume pandapower is installed.
tests/unit/converters/test_pandapower_converter_input.py Dropped importorskip, added import pandapower as pp.
src/power_grid_model_io/converters/pandapower_converter.py Removed # pragma: no cover from the PandaPowerConverter class.
pyproject.toml Updated dev and examples dependencies to pandapower>2.11.1 (no upper bound).
.github/workflows/build-test-release.yml Unified wheel installation step for all Python versions.
Comments suppressed due to low confidence (2)

src/power_grid_model_io/converters/pandapower_converter.py:38

  • The removal of the '# pragma: no cover' annotation means this class is now included in coverage reports; ensure there are corresponding tests covering its functionality or re-add a targeted coverage exclusion.
class PandaPowerConverter(BaseConverter[PandaPowerData]):

pyproject.toml:48

  • [nitpick] Specifying an upper bound for the pandapower dependency can help prevent unintended breakages with future major releases; consider adding '<4.0' (or similar) to the version constraint.
"pandapower>2.11.1",

@mgovers mgovers added this pull request to the merge queue Jun 2, 2025
Merged via the queue into main with commit d03badc Jun 2, 2025
31 checks passed
@mgovers mgovers deleted the dependabot/pip/pandapower-gt-2.11.1-and-lt-3.2 branch June 2, 2025 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Enable pandapower tests for Python 3.13

3 participants