ansys / pyansys-tools-report

Ansys tool for reporting your Python environment's package versions and hardware resources in a standardized way.
https://report.tools.docs.pyansys.com
MIT License
3 stars 0 forks source link

Warning regarding `GPUInfo` import #229

Closed germa89 closed 2 hours ago

germa89 commented 3 hours ago

The following line raises a warning, and soon it will be an exception

https://github.com/ansys/pyansys-tools-report/blob/d25393c54db66d2e0f85088738e4a4d4596f6cd7/src/ansys/tools/report/report.py#L150

germa89 commented 3 hours ago

The warning is:

tests/test_report.py::test_report
  /Users/german.ayuso/pymapdl/.venv/lib/python3.10/site-packages/pyvista/utilities/__init__.py:69: PyVistaDeprecationWarning: The `pyvista.utilities` module has been deprecated. `GPUInfo` is now imported as: `from pyvista.report import GPUInfo`.
    warnings.warn(