Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Change Log

[upcoming release] - 2026-..-..
-------------------------------
- [FIXED] restored ``OpenDSSDirect.py`` to the ``all``/``dev`` extras so the OpenDSS converter is exercised (and its coverage reported) in CI again; it was dropped in #3062 because installing it alongside ``pytest~=9.1`` crashes the pytest process on Windows (upstream bug, see `dss-extensions/OpenDSSDirect.py#148 <https://github.com/dss-extensions/OpenDSSDirect.py/issues/148>`_). The OpenDSS converter tests now skip on Windows instead of crashing the run; Linux/macOS are unaffected.
- [ADDED] OpenDSS converter: series (bus-to-bus) ``Reactor`` elements are now imported as a fixed-impedance ``line``, the pattern some feeder libraries (e.g. EPRI's Ckt5/Ckt7) use to model the substation's Thevenin-equivalent source impedance instead of a ``Transformer``.

[3.5.4] - 2026-07-08
Expand Down
14 changes: 14 additions & 0 deletions pandapower/test/converter/test_from_opendss.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,25 @@
import promises for symmetric feeders.
"""

import sys

import numpy as np
import pytest

import pandapower as pp

# On Windows, OpenDSSDirect.py's native backend crashes the whole pytest process
# (not a catchable ImportError) when it is loaded through pytest's import machinery,
# even though a plain `python -c "import opendssdirect"` works fine there. Skip
# before even attempting the import on that platform.
# See https://github.com/dss-extensions/OpenDSSDirect.py/issues/148
if sys.platform.startswith("win"):
pytest.skip(
"OpenDSSDirect.py crashes the pytest process on Windows, see "
"https://github.com/dss-extensions/OpenDSSDirect.py/issues/148",
allow_module_level=True,
)

# OpenDSSDirect.py is an optional dependency; skip the whole module without it.
pytest.importorskip("opendssdirect")

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ typing = [
]

#all = ["pandapower[plotting,performance,fileio,converter,pgm,control,helm,opendss]"]
all = ["pandapower[plotting,performance,fileio,converter,pgm,control]"]
all = ["pandapower[plotting,performance,fileio,converter,pgm,control,opendss]"]
dev = ["pandapower[all,docs,test,typing,pandamodels,tutorials]"]
# "shapely", "pyproj", "Pyogrio" are dependencies of geopandas and should be already available ("Fiona" got dropped)
# "hashlib", "zlib", "base64" produce install problems, so they are not included
Expand Down
Loading