-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Before submitting the issue
- I have checked for Compatibility issues
- I have searched among the existing issues
- I am using a Python virtual environment
Description of the bug
In the documentation pipeline, using Python 3.11, installed numpy is 2.3.0 which was just released.
The geometry example fails with:
WARNING:
....\examples\06-plotting\07-plot_on_geometries.py unexpectedly failed to execute correctly:
Traceback (most recent call last):
File "D:\a\pydpf-core\pydpf-core\examples\06-plotting\07-plot_on_geometries.py", line 88, in <module>
line = Line([[0.03, 0.03, 0.05], [0.0, 0.06, 0.0]], n_points=50)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a\pydpf-core\pydpf-core\.tox\doc-html\Lib\site-packages\ansys\dpf\core\geometry.py", line 157, in __init__
coordinates = np.asarray(coordinates, dtype=np.number)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Converting `np.inexact` or `np.floating` to a dtype not allowed
Steps To Reproduce
Which Operating System causes the issue?
Windows
Which DPF/Ansys version are you using?
Ansys 2026 R1
Which Python version causes the issue?
3.11
Installed packages
accessible-pygments==0.0.5,alabaster==1.0.0,ansys-dpf-core @ file:///D:/a/pydpf-core/pydpf-core/dist/ansys_dpf_core-0.13.9.dev0-py3-none-win_amd64.whl,ansys-sphinx-theme==1.4.4,apeye==1.4.1,apeye-core==1.1.5,astroid==3.3.10,autodocsumm==0.2.14,babel==2.17.0,beautifulsoup4==4.13.4,cachecontrol==0.14.3,certifi==2025.4.26,charset-normalizer==3.4.2,colorama==0.4.6,contourpy==1.3.2,cssutils==2.11.1,cycler==0.12.1,dict2css==0.3.0.post1,docutils==0.21.2,domdf-python-tools==3.10.0,enum-tools==0.13.0,filelock==3.18.0,fonttools==4.58.2,graphviz==0.20.1,grpcio==1.73.0,html5lib==1.1,idna==3.10,imageio==2.37.0,imageio-ffmpeg==0.6.0,imagesize==1.4.1,importlib-metadata==8.7.0,iniconfig==2.1.0,jinja2==3.1.6,kiwisolver==1.4.8,markupsafe==3.0.2,matplotlib==3.10.3,more-itertools==10.7.0,msgpack==1.1.0,natsort==8.4.0,numpy==2.3.0,packaging==25.0,pdf2image==1.17.0,pillow==11.2.1,pip==25.1.1,platformdirs==4.3.8,pluggy==1.6.0,pockets==0.9.1,pooch==1.8.2,protobuf==6.31.1,psutil==7.0.0,pydata-sphinx-theme==0.16.1,pygments==2.19.1,pypandoc==1.15,pyparsing==3.2.3,pytest==8.4.0,pytest-sphinx==0.6.3,python-dateutil==2.9.0.post0,pyvista==0.45.2,pyyaml==6.0.2,requests==2.32.4,roman-numerals-py==3.1.0,ruamel-yaml==0.18.14,ruamel-yaml-clib==0.2.12,scooby==0.10.1,setuptools==80.9.0,six==1.17.0,snowballstemmer==2.2.0,soupsieve==2.7,sphinx==8.2.3,sphinx-autoapi==3.6.0,sphinx-autodoc-typehints==3.2.0,sphinx-copybutton==0.5.2,sphinx-design==0.6.1,sphinx-gallery==0.19.0,sphinx-jinja==2.0.2,sphinx-jinja2-compat==0.3.0,sphinx-notfound-page==1.1.0,sphinx-prompt==1.9.0,sphinx-reredirects==0.1.6,sphinx-tabs==3.4.5,sphinx-toolbox==4.0.0,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-napoleon==0.7,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-serializinghtml==2.0.0,tabulate==0.9.0,tqdm==4.67.1,typing-extensions==4.14.0,urllib3==2.4.0,vtk==9.4.2,webencodings==0.5.1,wheel==0.45.1,zipp==3.23.0