dss-extensions / dss-extensions/OpenDSSDirect.py
pytest 9.1 breaks with OpenDSSDirect.py installed
- Lingua principale
- Python
- Stelle
- 116
- Fork
- 25
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hi,
I am trying to run our test pipeline and OpenDSSDirect.py breaks it.
```
Windows fatal exception: code 0xe0465043
Current thread 0x00008be8 (most recent call first):
File "", line 488 in _call_with_frames_removed
File "", line 1317 in create_module
File "", line 813 in module_from_spec
File "", line 921 in _load_unlocked
File "", line 1331 in _find_and_load_unlocked
File "", line 1360 in _find_and_load
File "\Lib\site-packages\dss_python_backend\__init__.py", line 12 in
File "", line 488 in _call_with_frames_removed
File "", line 1023 in exec_module
File "", line 935 in _load_unlocked
File "", line 1331 in _find_and_load_unlocked
File "", line 1360 in _find_and_load
File "\Lib\site-packages\opendssdirect\utils.py", line 3 in
File "", line 488 in _call_with_frames_removed
File "", line 1023 in exec_module
File "", line 935 in _load_unlocked
File "", line 1331 in _find_and_load_unlocked
File "", line 1360 in _find_and_load
File "", line 488 in _call_with_frames_removed
File "", line 1423 in _handle_fromlist
File "\Lib\site-packages\opendssdirect\__init__.py", line 13 in
File "", line 488 in _call_with_frames_removed
File "", line 1023 in exec_module
File "", line 935 in _load_unlocked
File "", line 1331 in _find_and_load_unlocked
File "", line 1360 in _find_and_load
File "C:\git\pandapower\pandapower\converter\opendss\from_dss.py", line 31 in
File "", line 488 in _call_with_frames_removed
File "", line 1023 in exec_module
File "", line 935 in _load_unlocked
File "", line 1331 in _find_and_load_unlocked
File "", line 1360 in _find_and_load
File "C:\git\pandapower\pandapower\converter\opendss\__init__.py", line 8 in
File "", line 488 in _call_with_frames_removed
File "", line 1023 in exec_module
File "", line 935 in _load_unlocked
File "", line 1331 in _find_and_load_unlocked
File "", line 1360 in _find_and_load
File "C:\git\pandapower\pandapower\test\converter\test_from_opendss.py", line 23 in
File "\Lib\site-packages\_pytest\assertion\rewrite.py", line 188 in exec_module
File "", line 935 in _load_unlocked
File "", line 1331 in _find_and_load_unlocked
File "", line 1360 in _find_and_load
File "", line 1395 in _gcd_import
File "\Lib\importlib\__init__.py", line 88 in import_module
File "\Lib\site-packages\_pytest\pathlib.py", line 596 in import_path
File "\Lib\site-packages\_pytest\python.py", line 508 in importtestmodule
File "\Lib\site-packages\_pytest\python.py", line 561 in _getobj
File "\Lib\site-packages\_pytest\python.py", line 290 in obj
File "\Lib\site-packages\_pytest\python.py", line 577 in _register_setup_module_fixture
File "\Lib\site-packages\_pytest\python.py", line 564 in collect
File "\Lib\site-packages\_pytest\runner.py", line 406 in collect
File "\Lib\site-packages\_pytest\runner.py", line 361 in from_call
File "\Lib\site-packages\_pytest\runner.py", line 408 in pytest_make_collect_report
File "\Lib\site-packages\pluggy\_callers.py", line 121 in _multicall
File "\Lib\site-packages\pluggy\_manager.py", line 120 in _hookexec
File "\Lib\site-packages\pluggy\_hooks.py", line 512 in __call__
File "\Lib\site-packages\_pytest\runner.py", line 589 in collect_one_node
File "\Lib\site-packages\_pytest\main.py", line 895 in _collect_one_node
File "\Lib\site-packages\_pytest\main.py", line 1032 in genitems
File "\Lib\site-packages\_pytest\main.py", line 869 in perform_collect
File "\Lib\site-packages\_pytest\main.py", line 394 in pytest_collection
File "\Lib\site-packages\pluggy\_callers.py", line 121 in _multicall
File "\Lib\site-packages\pluggy\_manager.py", line 120 in _hookexec
File "\Lib\site-packages\pluggy\_hooks.py", line 512 in __call__
File "\Lib\site-packages\_pytest\main.py", line 383 in _main
File "\Lib\site-packages\_pytest\main.py", line 330 in wrap_session
File "\Lib\site-packages\_pytest\main.py", line 377 in pytest_cmdline_main
File "\Lib\site-packages\pluggy\_callers.py", line 121 in _multicall
File "\Lib\site-packages\pluggy\_manager.py", line 120 in _hookexec
File "\Lib\site-packages\pluggy\_hooks.py", line 512 in __call__
File "\Lib\site-packages\_pytest\config\__init__.py", line 229 in _main
File "\Lib\site-packages\_pytest\config\__init__.py", line 201 in main
File "C:\Program Files (x86)\JetBrains\PyCharm 2024.1.4\plugins\python-ce\helpers\pycharm\_jb_pytest_runner.py", line 84 in
```
I am running windows 11, pip list:
```
Package Version Editable project location
----------------------------- --------------- -------------------------
absl-py 2.5.0
alabaster 1.0.0
annotated-types 0.7.0
anyio 4.14.1
argon2-cffi 25.1.0
argon2-cffi-bindings 25.1.0
arrow 1.4.0
ast_serialize 0.6.0
asttokens 3.0.1
async-lru 2.3.0
attrs 26.1.0
babel 2.18.0
beautifulsoup4 4.15.0
bleach 6.4.0
cachebox 5.2.3
certifi 2026.6.17
cffi 2.1.0
charset-normalizer 3.4.8
colorama 0.4.6
comm 0.2.3
contourpy 1.3.3
cryptography 49.0.0
cycler 0.12.1
debugpy 1.8.21
decorator 5.3.1
deepdiff 9.1.0
defusedxml 0.7.1
docutils 0.22.4
dom-toml 2.3.0
domdf_python_tools 3.10.0
dss-python 0.15.7
dss-python-backend 0.14.5
et_xmlfile 2.0.0
execnet 2.1.2
executing 2.2.1
fastjsonschema 2.21.2
filelock 3.29.6
fonttools 4.63.0
fqdn 1.5.1
geojson 3.3.0
geopandas 1.1.4
h11 0.16.0
httpcore 1.0.9
httpx 0.28.1
idna 3.18
igraph 1.0.0
imagesize 2.0.0
immutabledict 4.3.1
iniconfig 2.3.0
ipykernel 7.3.0
ipython 9.15.0
ipython_pygments_lexers 1.1.1
ipywidgets 8.1.8
isoduration 20.11.0
jedi 0.20.0
Jinja2 3.1.6
json5 0.15.0
jsonpointer 3.1.1
jsonschema 4.26.0
jsonschema-specifications 2025.9.1
julia 0.6.2
juliacall 0.9.32
juliapkg 0.1.24
jupyter 1.1.1
jupyter_builder 1.0.2
jupyter_client 8.9.1
jupyter-console 6.6.3
jupyter_core 5.9.1
jupyter-events 0.12.1
jupyter-lsp 2.3.1
jupyter_server 2.20.0
jupyter_server_terminals 0.5.4
jupyterlab 4.6.1
jupyterlab_pygments 0.3.0
jupyterlab_server 2.28.0
jupyterlab_widgets 3.0.16
kiwisolver 1.5.0
lark 1.3.1
librt 0.12.0
lightsim2grid 0.13.1
llvmlite 0.48.0
lxml 6.1.1
MarkupSafe 3.0.3
matplotlib 3.11.0
matplotlib-inline 0.2.2
matpowercaseframes 2.1.1
mistune 3.3.2
mypy 2.1.0
mypy_extensions 1.1.0
narwhals 2.23.0
natsort 8.4.0
nbclient 0.11.0
nbconvert 7.17.1
nbformat 5.10.4
nbmake 1.5.5
nest-asyncio2 1.7.2
networkx 3.6.1
notebook 7.6.0
notebook_shim 0.2.4
numba 0.66.0
numpy 2.4.6
numpy-typing-compat 20260602.2.4
numpydoc 1.10.0
opendssdirect.py 0.9.4
openpyxl 3.1.5
optype 0.18.0
orderly-set 5.5.0
ortools 9.15.6755
packaging 26.2
pandapower 3.5.3 C:\git\pandapower
pandas 2.3.3
pandas-stubs 3.0.3.260530
pandera 0.32.1
pandocfilters 1.5.1
parso 0.8.7
pathspec 1.1.1
pillow 12.3.0
pip 26.1.2
platformdirs 4.10.0
plotly 6.8.0
pluggy 1.6.0
power-grid-model 1.13.108
power-grid-model-io 1.3.100
prometheus_client 0.25.0
prompt_toolkit 3.0.52
protobuf 6.33.6
psutil 7.2.2
psycopg 3.3.4
pure_eval 0.2.3
pycparser 3.0
pydantic 2.13.4
pydantic_core 2.46.4
Pygments 2.20.0
pyogrio 0.13.0
pyparsing 3.3.2
pyproj 3.7.2
pytest 9.1.1
pytest-split 0.11.0
pytest-timeout 2.4.0
pytest-xdist 3.8.0
python-dateutil 2.9.0.post0
python-json-logger 4.1.0
pytz 2026.2
pywinpty 3.0.5
PyYAML 6.0.3
pyzmq 27.1.0
referencing 0.37.0
requests 2.34.2
rfc3339-validator 0.1.4
rfc3986-validator 0.1.1
rfc3987-syntax 1.1.0
roman-numerals 4.1.0
rpds-py 2026.6.3
scipy 1.18.0
scipy-stubs 1.18.0.0
seaborn 0.13.2
semver 3.0.4
Send2Trash 2.1.0
setuptools 83.0.0
shapely 2.1.2
six 1.17.0
snowballstemmer 3.1.1
soupsieve 2.8.4
Sphinx 9.1.0
sphinx-pyproject 0.3.0
sphinx_rtd_theme 3.1.0
sphinxcontrib-applehelp 2.0.0
sphinxcontrib-devhelp 2.0.0
sphinxcontrib-htmlhelp 2.1.0
sphinxcontrib-imagesvg 0.1
sphinxcontrib-jquery 4.1
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 2.0.0
sphinxcontrib-serializinghtml 2.0.0
stack-data 0.6.3
structlog 26.1.0
terminado 0.18.1
texttable 1.7.0
tinycss2 1.5.1
tomli 2.4.1
tomlkit 0.15.0
tornado 6.5.7
tqdm 4.68.4
traitlets 5.15.1
typeguard 4.5.2
types-networkx 3.6.1.20260624
types-openpyxl 3.1.5.20260518
types-requests 2.33.0.20260518
types-shapely 2.1.0.20260630
types-tqdm 4.68.0.20260608
typing_extensions 4.16.0
typing-inspect 0.9.0
typing-inspection 0.4.2
tzdata 2026.2
uri-template 1.3.0
urllib3 2.7.0
wcwidth 0.8.2
webcolors 25.10.0
webencodings 0.5.1
websocket-client 1.9.0
widgetsnbextension 4.0.15
xlsxwriter 3.2.9
```
Funny thing on a python repl console it does work and import. But running it in a test pipeline crashes the runner quite hard.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.