Skip to content

Error in pytwin example when auto upgrade of pyfluent/pyfluent-visualization dependencies version #552

@chrpetre

Description

@chrpetre

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

Dependabot has tried to upgrade pyfluent version (0.30.5 to 0.33.0), used in one of the pytwin example (pytwin/examples/02-tbrom_examples/00-TBROM_images.py at main · ansys/pytwin and 3D field ROM example for images generation — PyTwin), leading to some execution error as reported here (https://github.com/ansys/pytwin/actions/runs/15982439677/job/45079718242)

When trying to upgrade pyfluent-visualization to the latest version as well (ansys/pytwin@5718bb7), it leads to an other error as reported here https://github.com/ansys/pytwin/actions/runs/15995247758/job/45117119307?pr=313

📝 Steps to reproduce

Create a virtual environment as described below
Run the pytwin example located here https://github.com/ansys/pytwin/blob/main/examples/02-tbrom_examples/00-TBROM_images.py

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

Ansys Fluent 2022R2 is used on the doc creation runner, but same issue has been experienced with newer versions as well

🐍 Which Python version are you using?

3.13

📦 Installed packages

accessible-pygments==0.0.5
aiohappyeyeballs==2.6.1
aiohttp==3.11.18
aiosignal==1.3.2
alabaster==1.0.0
annotated-types==0.7.0
ansys-api-edb==1.0.10
ansys-api-fluent==0.3.35
ansys-api-mapdl==0.5.2
ansys-api-platform-instancemanagement==1.1.3
ansys-api-tools-filetransfer==0.1.1
ansys-dpf-core==0.13.8
-e git+https://github.com/ansys/pytwin@296c30a0bf536b6e2715abb413027a20d84600a7#egg=ansys_dpf_server_2024_1_pre0&subdirectory=ansys_dpf_server_win_v2024.1.pre0
ansys-edb-core==0.1.9
ansys-fluent-core==0.33.0
ansys-fluent-visualization==0.20.0
ansys-mapdl-core==0.70.2
ansys-mapdl-reader==0.55.1
ansys-math-core==0.2.0
ansys-platform-instancemanagement==1.1.2
ansys-pythonnet==3.1.0rc6
ansys-sphinx-theme==1.5.2
ansys-tools-filetransfer==0.1.1
ansys-tools-path==0.7.1
ansys-tools-visualization-interface==0.9.1
ansys-units==0.6.0
anyio==4.9.0
appdirs==1.4.4
asttokens==3.0.0
attrs==25.3.0
babel==2.17.0
beautifulsoup4==4.13.4
bleach==6.2.0
build==1.2.2.post1
CacheControl==0.14.3
certifi==2025.4.26
cffi==1.17.1
charset-normalizer==3.4.1
cleo==2.1.0
click==8.1.8
clr_loader==0.2.7.post0
colorama==0.4.6
comm==0.2.2
contourpy==1.3.2
crashtest==0.4.1
cycler==0.12.1
debugpy==1.8.14
decorator==5.2.1
defusedxml==0.7.1
Deprecated==1.2.18
distlib==0.3.9
docker==7.1.0
docutils==0.21.2
dulwich==0.22.8
executing==2.2.0
fastjsonschema==2.21.1
filelock==3.18.0
findpython==0.6.3
fonttools==4.57.0
fpdf2==2.8.3
frozenlist==1.6.0
geomdl==5.3.1
googleapis-common-protos==1.70.0
grpcio==1.70.0
grpcio-health-checking==1.62.3
grpcio-status==1.62.3
h11==0.16.0
httpcore==1.0.9
httpx==0.28.1
idna==3.10
imageio==2.37.0
imagesize==1.4.1
importlib_metadata==8.7.0
installer==0.7.0
ipykernel==6.29.5
ipython==9.2.0
ipython_pygments_lexers==1.1.1
ipywidgets==8.1.6
jaraco.classes==3.4.0
jaraco.context==6.0.1
jaraco.functools==4.2.1
jedi==0.19.2
Jinja2==3.1.6
joblib==1.4.2
jsonschema==4.23.0
jsonschema-specifications==2025.4.1
jupyter-sphinx==0.5.3
jupyter_client==8.6.3
jupyter_core==5.7.2
jupyterlab_pygments==0.3.0
jupyterlab_widgets==3.0.14
keyring==25.6.0
kiwisolver==1.4.8
MarkupSafe==3.0.2
matplotlib==3.10.3
matplotlib-inline==0.1.7
mistune==3.1.3
more-itertools==10.7.0
msgpack==1.1.0
multidict==6.4.3
nbclient==0.10.2
nbconvert==7.16.6
nbformat==5.10.4
nest-asyncio==1.6.0
nltk==3.9.1
numpy==2.2.6
numpydoc==1.9.0
packaging==25.0
pandas==2.2.3
pandocfilters==1.5.1
parso==0.8.4
pbs-installer==2025.6.30
pdf2image==1.17.0
pillow==11.2.1
pkginfo==1.12.1.2
platformdirs==4.3.7
plumbum==1.9.0
poetry==2.1.3
poetry-core==2.1.3
pooch==1.8.2
prompt_toolkit==3.0.51
propcache==0.3.1
protobuf==4.25.7
psutil==7.0.0
pure_eval==0.2.3
pyaedt==0.17.4
pyansys-tools-report==0.8.2
pyansys-tools-versioning==0.6.0
pycparser==2.22
pydantic==2.10.6
pydantic_core==2.27.2
pydata-sphinx-theme==0.16.1
pyedb==0.43.0
Pygments==2.19.1
pyiges==0.3.1
pyparsing==3.2.3
pyproject_hooks==1.2.0
PySide6==6.8.3
PySide6_Addons==6.8.3
PySide6_Essentials==6.8.3
python-dateutil==2.9.0.post0
-e git+https://github.com/ansys/pytwin@296c30a0bf536b6e2715abb413027a20d84600a7#egg=pytwin
pytz==2025.2
pyvista==0.45.2
pyvistaqt==0.11.2
pywin32==310
pywin32-ctypes==0.2.3
PyYAML==6.0.2
pyzmq==26.4.0
QtPy==2.4.3
RapidFuzz==3.13.0
referencing==0.36.2
regex==2024.11.6
requests==2.32.3
requests-toolbelt==1.0.0
roman-numerals-py==3.1.0
rpds-py==0.24.0
rpyc==6.0.2
rtree==1.4.0
scikit-rf==1.6.2
scipy==1.15.2
scooby==0.10.1
setuptools==80.0.0
shapely==2.1.0
shellingham==1.5.4
shiboken6==6.8.3
six==1.17.0
sniffio==1.3.1
snowballstemmer==2.2.0
soupsieve==2.7
Sphinx==8.2.3
sphinx-autodoc-typehints==3.2.0
sphinx-copybutton==0.5.2
sphinx-gallery==0.19.0
sphinx-notfound-page==1.1.0
sphinxcontrib-applehelp==2.0.0
sphinxcontrib-devhelp==2.0.0
sphinxcontrib-htmlhelp==2.1.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==2.0.0
sphinxcontrib-serializinghtml==2.0.0
sphinxemoji==0.3.1
stack-data==0.6.3
tabulate==0.9.0
tinycss2==1.4.0
toml==0.10.2
tomli_w==1.2.0
tomlkit==0.13.3
tornado==6.5.1
tqdm==4.67.1
traitlets==5.14.3
trame==3.9.0
trame-client==3.8.2
trame-common==0.2.0
trame-server==3.4.0
trame-vtk==2.8.15
trame-vuetify==3.0.1
trove-classifiers==2025.5.9.12
typing_extensions==4.13.2
tzdata==2025.2
urllib3==2.4.0
virtualenv==20.31.2
vtk==9.4.2
wcwidth==0.2.13
webencodings==0.5.1
websockets==15.0.1
widgetsnbextension==4.0.14
wrapt==1.17.2
wslink==2.3.3
yarl==1.20.0
zipp==3.21.0
zstandard==0.23.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions