diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 3924468dac..0152acf053 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -106,6 +106,7 @@ jobs: with: check-links: false needs-quarto: true + sphinxopts: "-j auto --keep-going" env: PYPRIMEMESH_LAUNCH_CONTAINER: 1 PYPRIMEMESH_SPHINX_BUILD: 1 diff --git a/README.md b/README.md index 21c119ae05..072228e9dc 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ To reach the project support team, email [pyansys.core@ansys.com](mailtto:pyansy ## Installation -The `ansys-meshing-prime` package supports Python 3.8 to Python 3.11 on the Windows and Linux +The `ansys-meshing-prime` package supports Python 3.10 to Python 3.12 on the Windows and Linux operating systems. diff --git a/doc/changelog.d/889.documentation.md b/doc/changelog.d/889.documentation.md new file mode 100644 index 0000000000..c6b5735f2c --- /dev/null +++ b/doc/changelog.d/889.documentation.md @@ -0,0 +1 @@ +Bump the doc-dependencies group across 1 directory with 7 updates \ No newline at end of file diff --git a/doc/changelog.d/899.fixed.md b/doc/changelog.d/899.fixed.md new file mode 100644 index 0000000000..7cd14af24c --- /dev/null +++ b/doc/changelog.d/899.fixed.md @@ -0,0 +1 @@ +fix: PyVista deprecation \ No newline at end of file diff --git a/doc/changelog.d/900.documentation.md b/doc/changelog.d/900.documentation.md new file mode 100644 index 0000000000..bf1b6a6a8c --- /dev/null +++ b/doc/changelog.d/900.documentation.md @@ -0,0 +1 @@ +Update python version \ No newline at end of file diff --git a/doc/changelog.d/902.documentation.md b/doc/changelog.d/902.documentation.md new file mode 100644 index 0000000000..637dce6677 --- /dev/null +++ b/doc/changelog.d/902.documentation.md @@ -0,0 +1 @@ +Update README.md \ No newline at end of file diff --git a/doc/source/conf.py b/doc/source/conf.py index bb17d6eaa9..c0f876e9c9 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -110,7 +110,7 @@ "GL09", # Deprecation warning should precede extended summary "GL10", # reST directives {directives} must be followed by two colons "SS01", # No summary found - "SS02", # Summary does not start with a capital letter + # "SS02", # Summary does not start with a capital letter # "SS03", # Summary does not end with a period "SS04", # Summary contains heading whitespaces # "SS05", # Summary must start with infinitive verb, not third person @@ -175,3 +175,5 @@ "ignore_pattern": "flycheck*", "thumbnail_size": (350, 350), } + +supress_warnings = ["docutils"] diff --git a/doc/source/getting_started/index.rst b/doc/source/getting_started/index.rst index 3bc93c7133..fe9fca8a61 100644 --- a/doc/source/getting_started/index.rst +++ b/doc/source/getting_started/index.rst @@ -18,22 +18,27 @@ For more information on getting a licensed copy of Ansys, visit the `Ansys websi This table provides compatibility information: -=========================== =========================== -PyPrimeMesh client release Ansys Prime Server release -=========================== =========================== -0.2.x 23.1.0 (2023 R1) -0.3.x 23.1.1 (2023 R1 SP1) -0.4.x 23.2.0 (2023 R2) -0.5.x 24.1.0 (2024 R1) -0.6.x 24.2.0 (2024 R2) -0.7.x 25.1.0 (2025 R1) -=========================== =========================== ++----------------------------+----------------------------+--------------------------+ +| PyPrimeMesh client release | Ansys Prime Server release |Supported python versions | ++============================+============================+==========================+ +| 0.2.x | 23.1.0 (2023 R1) | 3.7 to 3.11 | +| | | | +| 0.3.x | 23.1.1 (2023 R1 SP1) | 3.7 to 3.11 | +| | | | +| 0.4.x | 23.2.0 (2023 R2) | 3.8 to 3.11 | +| | | | +| 0.5.x | 24.1.0 (2024 R1) | 3.8 to 3.11 | +| | | | +| 0.6.x | 24.2.0 (2024 R2) | 3.8 to 3.11 | +| | | | +| 0.7.x | 25.1.0 (2025 R1) | 3.10 to 3.12 | ++----------------------------+----------------------------+--------------------------+ Installation ------------ -The ``ansys-meshing-prime`` package currently supports Python 3.8 -to Python 3.11 on the Windows and Linux operating systems. +The ``ansys-meshing-prime`` package currently supports Python 3.10 +to Python 3.12 on the Windows and Linux operating systems. You can install PyPrimeMesh with all dependencies directly from `PyPI `_ with this command: diff --git a/pyproject.toml b/pyproject.toml index b9d2a267da..be7afdbe00 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,14 +43,14 @@ doc = [ "ansys-sphinx-theme[autoapi]==1.1.2", "ansys-tools-visualization-interface==0.4.4", "jupyter-sphinx==0.5.3", - "numpydoc==1.7.0", - "sphinx==7.2.6", + "numpydoc==1.8.0", + "sphinx==8.0.2", "sphinx_design==0.6.1", "pyvista==0.44.1", - "sphinx-autodoc-typehints==2.0.1", + "sphinx-autodoc-typehints==2.4.4", "sphinx-copybutton==0.5.2", - "sphinx-gallery==0.15.0", - "sphinx-notfound-page==1.0.0", + "sphinx-gallery==0.17.1", + "sphinx-notfound-page==1.0.4", "sphinxemoji==0.3.1", ] all = [ diff --git a/src/ansys/meshing/prime/core/mesh.py b/src/ansys/meshing/prime/core/mesh.py index 78231f04cc..beedb5007e 100644 --- a/src/ansys/meshing/prime/core/mesh.py +++ b/src/ansys/meshing/prime/core/mesh.py @@ -325,7 +325,7 @@ def get_face_polydata( vertices, faces = self._get_vertices_and_surf_faces(face_facet_res, index) surf = pv.PolyData(vertices, faces) fcolor = np.array(self.get_face_color(part, ColorByType.ZONE)) - colors = np.tile(fcolor, (surf.n_faces, 1)) + colors = np.tile(fcolor, (surf.n_faces_strict, 1)) surf["colors"] = colors surf.disp_mesh = self has_mesh = True @@ -415,7 +415,7 @@ def get_spline_cp_polydata(self, part_id: int, spline_id: int) -> MeshObjectPlot faces = self.compute_face_list_from_structured_nodes(dim) surf = pv.PolyData(vertices, faces) fcolor = np.array([0, 0, 255]) - colors = np.tile(fcolor, (surf.n_faces, 1)) + colors = np.tile(fcolor, (surf.n_faces_strict, 1)) surf["colors"] = colors surf.disp_mesh = self if surf.n_points > 0: @@ -443,7 +443,7 @@ def get_spline_surface_polydata(self, part_id: int, spline_id: int) -> MeshObjec faces = self.compute_face_list_from_structured_nodes(dim) surf = pv.PolyData(vertices, faces) fcolor = np.array(color_matrix[1]) - colors = np.tile(fcolor, (surf.n_faces, 1)) + colors = np.tile(fcolor, (surf.n_faces_strict, 1)) surf["colors"] = colors surf.disp_mesh = self if surf.n_points > 0: