Skip to content

Commit 4ea9051

Browse files
germa89clatapiepyansys-ci-bot
authored
ci: using python3.12 as main testing python version (#3767)
* chore: active support for Python 3.13 * chore: adding changelog file 3605.added.md [dependabot-skip] * fix: version in ``pyproject.toml`` * review: applying @RobPasMue's suggestions * fix: vtk version to 9.4.0 * maint: update ``"ansys-tools-visualization-interface`` * ci: using python3.12 for docs building * chore: adding changelog file 3767.maintenance.md [dependabot-skip] * chore: adding changelog file 3767.maintenance.md [dependabot-skip] * chore: adding changelog file 3767.documentation.md [dependabot-skip] * build: update vtk in other requirements * build: update ansys-tools-visualization-interface * fix: not getting dataset * build: downgrading vtk * build: downgrade vtk to 9.3.1 * revert: py313 changes * revert: not updating an example requirements * revert: not updating example * chore: adding changelog file 3767.dependencies.md [dependabot-skip] --------- Co-authored-by: Camille <[email protected]> Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent dd2c3c2 commit 4ea9051

File tree

7 files changed

+8
-9
lines changed

7 files changed

+8
-9
lines changed

.devcontainer/codespaces-dev/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ansys-dpf-core==0.10.1
2-
ansys-tools-visualization-interface==0.5.0
2+
ansys-tools-visualization-interface==0.8.3
33
autopep8==2.3.1
44
matplotlib==3.9.2
55
pandas==2.2.3

.devcontainer/codespaces-docs/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ansys-dpf-core==0.10.1
22
ansys-mapdl-reader==0.54.2
33
ansys-sphinx-theme==0.16.6
4-
ansys-tools-visualization-interface==0.5.0
4+
ansys-tools-visualization-interface==0.8.3
55
grpcio==1.68.0
66
imageio-ffmpeg==0.5.1
77
imageio==2.36.0

.devcontainer/devcontainer-local/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ansys-dpf-core==0.10.1
22
ansys-mapdl-reader==0.54.2
33
ansys-sphinx-theme==1.2.2
4-
ansys-tools-visualization-interface==0.5.0
4+
ansys-tools-visualization-interface==0.8.3
55
autopep8==2.3.1
66
grpcio==1.68.0
77
imageio-ffmpeg==0.5.1

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020

2121
env:
2222
PROJECT_NAME: 'PyMAPDL'
23-
MAIN_PYTHON_VERSION: '3.11'
23+
MAIN_PYTHON_VERSION: '3.12'
2424
PACKAGE_NAME: 'ansys-mapdl-core'
2525
PACKAGE_NAMESPACE: 'ansys.mapdl.core'
2626
DOCUMENTATION_CNAME: 'mapdl.docs.pyansys.com'

doc/changelog.d/3767.dependencies.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ci: using python3.12 as main testing python version

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ tests = [
7373
"scipy==1.15.2",
7474
"vtk==9.3.1",
7575
]
76+
7677
doc = [
7778
"ansys-dpf-core==0.10.1",
7879
"ansys-mapdl-reader==0.54.2",

src/ansys/mapdl/core/plotting/visualizer.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,12 @@ def get_meshes_from_plotter(self):
225225
list[pv.PolyData]
226226
Plotted meshes.
227227
"""
228-
datasets = []
229-
for actor in self.scene.actors.values():
230-
if hasattr(actor, "mapper"):
231-
datasets.append(actor.mapper.dataset)
232-
233228
return [
234229
actor.mapper.dataset
235230
for actor in self.scene.actors.values()
236231
if hasattr(actor, "mapper")
232+
and hasattr(actor.mapper, "dataset")
233+
and actor.mapper.dataset
237234
]
238235

239236
def add_labels(

0 commit comments

Comments
 (0)