From d506984e269aecf575df1403866722eb36a568ce Mon Sep 17 00:00:00 2001 From: Mohamed Koubaa Date: Fri, 9 May 2025 08:23:10 -0500 Subject: [PATCH 1/4] Fix mapdl inprocess backend `mapdl_inprocess` should use `None`for graphics backend. This will have to be revisited with some automated tests when 2025R2 is released. --- src/ansys/mapdl/core/mapdl_inprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/mapdl/core/mapdl_inprocess.py b/src/ansys/mapdl/core/mapdl_inprocess.py index d7b9e95d6c8..b4493dcdae5 100644 --- a/src/ansys/mapdl/core/mapdl_inprocess.py +++ b/src/ansys/mapdl/core/mapdl_inprocess.py @@ -46,7 +46,7 @@ class MapdlInProcess(MapdlBase): def __init__(self, in_process_backend: _Backend): super().__init__( loglevel="WARNING", - graphics_backend=GraphicsBackend.MAPDL, + graphics_backend=None, log_apdl=None, print_com=False, ) From fe71726acc20dd030dae2b84267f8b9efb86d671 Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Fri, 9 May 2025 16:27:40 +0000 Subject: [PATCH 2/4] chore: adding changelog file 3915.fixed.md [dependabot-skip] --- doc/changelog.d/3915.fixed.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/changelog.d/3915.fixed.md diff --git a/doc/changelog.d/3915.fixed.md b/doc/changelog.d/3915.fixed.md new file mode 100644 index 00000000000..b2630c8b677 --- /dev/null +++ b/doc/changelog.d/3915.fixed.md @@ -0,0 +1 @@ +fix: Do not throw when using the in-process backend \ No newline at end of file From a1ebfab2d2694d4204c0ef220cfec66b758f015b Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Fri, 9 May 2025 16:30:24 +0000 Subject: [PATCH 3/4] chore: adding changelog file 3915.fixed.md [dependabot-skip] --- doc/changelog.d/3915.fixed.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/changelog.d/3915.fixed.md b/doc/changelog.d/3915.fixed.md index b2630c8b677..fc54adebe5a 100644 --- a/doc/changelog.d/3915.fixed.md +++ b/doc/changelog.d/3915.fixed.md @@ -1 +1 @@ -fix: Do not throw when using the in-process backend \ No newline at end of file +fix: Change the mapdl_inprocess graphics backend \ No newline at end of file From 30a7f6c8ada7bb0b507e9edff8bb704e3abb2ad3 Mon Sep 17 00:00:00 2001 From: Mohamed Koubaa Date: Fri, 9 May 2025 13:26:21 -0500 Subject: [PATCH 4/4] remove unused import --- src/ansys/mapdl/core/mapdl_inprocess.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ansys/mapdl/core/mapdl_inprocess.py b/src/ansys/mapdl/core/mapdl_inprocess.py index b4493dcdae5..633473dd536 100644 --- a/src/ansys/mapdl/core/mapdl_inprocess.py +++ b/src/ansys/mapdl/core/mapdl_inprocess.py @@ -23,7 +23,6 @@ from typing import Protocol from ansys.mapdl.core.mapdl import MapdlBase -from ansys.mapdl.core.plotting import GraphicsBackend class _Backend(Protocol):