From 67160c6063c167cc8888e532235c5fb88c16bcdc Mon Sep 17 00:00:00 2001 From: Martin Walters <104021577+waltersma@users.noreply.github.com> Date: Thu, 5 Jun 2025 16:19:20 +0100 Subject: [PATCH 01/16] Create README.txt --- examples/beta/README.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 examples/beta/README.txt diff --git a/examples/beta/README.txt b/examples/beta/README.txt new file mode 100644 index 0000000000..98f3b9d9fe --- /dev/null +++ b/examples/beta/README.txt @@ -0,0 +1,3 @@ +Beta examples +============= +These examples use beta APIs and as such their behavior and implementation may change in future. From 607aafd777d2c934d56ec714ca37b63418c5c183 Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Thu, 5 Jun 2025 15:20:39 +0000 Subject: [PATCH 02/16] chore: adding changelog file 1040.documentation.md [dependabot-skip] --- doc/changelog.d/1040.documentation.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/changelog.d/1040.documentation.md diff --git a/doc/changelog.d/1040.documentation.md b/doc/changelog.d/1040.documentation.md new file mode 100644 index 0000000000..5aec2da862 --- /dev/null +++ b/doc/changelog.d/1040.documentation.md @@ -0,0 +1 @@ +Create README.txt \ No newline at end of file From b150727d2418a7809f77c9822b81413c90fc7f9b Mon Sep 17 00:00:00 2001 From: Martin Walters <104021577+waltersma@users.noreply.github.com> Date: Thu, 5 Jun 2025 16:22:19 +0100 Subject: [PATCH 03/16] Move 11_solder_ball.py to beta folder --- examples/{gallery => beta}/11_solder_ball.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename examples/{gallery => beta}/11_solder_ball.py (100%) diff --git a/examples/gallery/11_solder_ball.py b/examples/beta/11_solder_ball.py similarity index 100% rename from examples/gallery/11_solder_ball.py rename to examples/beta/11_solder_ball.py From 9740e2120caee2aa91a5d4b2e2f271ea9a94adbb Mon Sep 17 00:00:00 2001 From: Martin Walters <104021577+waltersma@users.noreply.github.com> Date: Thu, 5 Jun 2025 16:25:39 +0100 Subject: [PATCH 04/16] Update conf.py to reorder example gallery folders --- doc/source/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/source/conf.py b/doc/source/conf.py index ba5436dae6..09532733ab 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -164,6 +164,8 @@ "filename_pattern": r"\.py", # ignore mixing elbow and example template "ignore_pattern": "examples/other_examples", + # reorder example folders + "gallery_order": ["gallery", "beta", "misc"], # Remove the "Download all examples" button from the top level gallery "download_all_examples": False, # Sort gallery example by file name instead of number of lines (default) From b4e74a3f8cf33a6b3154f807bb4de2d31bf4e98e Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Thu, 5 Jun 2025 15:31:11 +0000 Subject: [PATCH 05/16] chore: adding changelog file 1040.documentation.md [dependabot-skip] --- doc/changelog.d/1040.documentation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/changelog.d/1040.documentation.md b/doc/changelog.d/1040.documentation.md index 5aec2da862..0d56ae9ebd 100644 --- a/doc/changelog.d/1040.documentation.md +++ b/doc/changelog.d/1040.documentation.md @@ -1 +1 @@ -Create README.txt \ No newline at end of file +doc: create beta example folder \ No newline at end of file From 81af4505019c453f1f834dca5893e83f6cfed688 Mon Sep 17 00:00:00 2001 From: Martin Walters <104021577+waltersma@users.noreply.github.com> Date: Thu, 5 Jun 2025 16:58:59 +0100 Subject: [PATCH 06/16] Update conf.py --- doc/source/conf.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 09532733ab..8fb313021c 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -157,15 +157,13 @@ # convert rst to md for ipynb # "pypandoc": True, # path to your examples scripts - "examples_dirs": ["../../examples"], + "examples_dirs": ["../../examples/gallery", "../../examples/beta", "../../examples/misc"], # path where to save gallery generated examples "gallery_dirs": ["examples/gallery_examples"], # Pattern to search for example files "filename_pattern": r"\.py", # ignore mixing elbow and example template "ignore_pattern": "examples/other_examples", - # reorder example folders - "gallery_order": ["gallery", "beta", "misc"], # Remove the "Download all examples" button from the top level gallery "download_all_examples": False, # Sort gallery example by file name instead of number of lines (default) From 704244c17fcf665f7e92e4c11dda5009a9e88ced Mon Sep 17 00:00:00 2001 From: Martin Walters <104021577+waltersma@users.noreply.github.com> Date: Thu, 5 Jun 2025 17:13:32 +0100 Subject: [PATCH 07/16] Update conf.py --- doc/source/conf.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 8fb313021c..16ebbee285 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -137,10 +137,6 @@ autosummary_ignore_module_all = False -# exclude_patterns = [ -# "examples/gallery_examples/example_template.rst" "examples/gallery_examples/mixing_elbow.rst" -# ] - # Enable screenshots for gallery for pyvista pyvista.BUILDING_GALLERY = True @@ -159,7 +155,7 @@ # path to your examples scripts "examples_dirs": ["../../examples/gallery", "../../examples/beta", "../../examples/misc"], # path where to save gallery generated examples - "gallery_dirs": ["examples/gallery_examples"], + "gallery_dirs": ["examples/gallery_examples/gallery", "examples/gallery_examples/beta", "examples/gallery_examples/misc"], # Pattern to search for example files "filename_pattern": r"\.py", # ignore mixing elbow and example template From 20aede0681c20ed5aedd320c71feb932fbb68289 Mon Sep 17 00:00:00 2001 From: Martin Walters <104021577+waltersma@users.noreply.github.com> Date: Thu, 5 Jun 2025 17:16:44 +0100 Subject: [PATCH 08/16] Update conf.py --- doc/source/conf.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 16ebbee285..efdbe57347 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -155,7 +155,11 @@ # path to your examples scripts "examples_dirs": ["../../examples/gallery", "../../examples/beta", "../../examples/misc"], # path where to save gallery generated examples - "gallery_dirs": ["examples/gallery_examples/gallery", "examples/gallery_examples/beta", "examples/gallery_examples/misc"], + "gallery_dirs": [ + "examples/gallery_examples/gallery", + "examples/gallery_examples/beta", + "examples/gallery_examples/misc", + ], # Pattern to search for example files "filename_pattern": r"\.py", # ignore mixing elbow and example template From d2c000422ea763025abed1b840be17b7d5b82e88 Mon Sep 17 00:00:00 2001 From: Martin Walters <104021577+waltersma@users.noreply.github.com> Date: Fri, 6 Jun 2025 00:00:56 +0100 Subject: [PATCH 09/16] Update conf.py --- doc/source/conf.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index efdbe57347..b6b94fc3d8 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -155,11 +155,7 @@ # path to your examples scripts "examples_dirs": ["../../examples/gallery", "../../examples/beta", "../../examples/misc"], # path where to save gallery generated examples - "gallery_dirs": [ - "examples/gallery_examples/gallery", - "examples/gallery_examples/beta", - "examples/gallery_examples/misc", - ], + "gallery_dirs": ["examples/gallery_examples"], # Pattern to search for example files "filename_pattern": r"\.py", # ignore mixing elbow and example template From bffbdfd343442d50c79e9868e29abd7e568e86c6 Mon Sep 17 00:00:00 2001 From: Martin Walters <104021577+waltersma@users.noreply.github.com> Date: Fri, 6 Jun 2025 00:50:22 +0100 Subject: [PATCH 10/16] Update conf.py --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index b6b94fc3d8..5c07f19602 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -153,7 +153,7 @@ # convert rst to md for ipynb # "pypandoc": True, # path to your examples scripts - "examples_dirs": ["../../examples/gallery", "../../examples/beta", "../../examples/misc"], + "examples_dirs": ["../../examples"], # path where to save gallery generated examples "gallery_dirs": ["examples/gallery_examples"], # Pattern to search for example files From 3247779f11604f3d8c2caba85f8f0551a61a45d3 Mon Sep 17 00:00:00 2001 From: Martin Walters <104021577+waltersma@users.noreply.github.com> Date: Fri, 6 Jun 2025 09:51:08 +0100 Subject: [PATCH 11/16] Update README.txt --- examples/beta/README.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/beta/README.txt b/examples/beta/README.txt index 98f3b9d9fe..7bcf66a40f 100644 --- a/examples/beta/README.txt +++ b/examples/beta/README.txt @@ -1,3 +1,3 @@ -Beta examples -============= +Examples using beta APIs +======================== These examples use beta APIs and as such their behavior and implementation may change in future. From d737abc668c069fa7372af1d97352497edd23fbb Mon Sep 17 00:00:00 2001 From: Martin Walters <104021577+waltersma@users.noreply.github.com> Date: Fri, 6 Jun 2025 11:57:05 +0100 Subject: [PATCH 12/16] Rename 11_solder_ball.py to 11_solder_ball.py --- examples/{beta => gallery_beta}/11_solder_ball.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename examples/{beta => gallery_beta}/11_solder_ball.py (100%) diff --git a/examples/beta/11_solder_ball.py b/examples/gallery_beta/11_solder_ball.py similarity index 100% rename from examples/beta/11_solder_ball.py rename to examples/gallery_beta/11_solder_ball.py From 18c0da7e1b40deebd7b25f08eff0c65a147f8909 Mon Sep 17 00:00:00 2001 From: Martin Walters <104021577+waltersma@users.noreply.github.com> Date: Fri, 6 Jun 2025 11:57:36 +0100 Subject: [PATCH 13/16] Rename README.txt to README.txt --- examples/{beta => gallery_beta}/README.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename examples/{beta => gallery_beta}/README.txt (100%) diff --git a/examples/beta/README.txt b/examples/gallery_beta/README.txt similarity index 100% rename from examples/beta/README.txt rename to examples/gallery_beta/README.txt From a644f02ed8e8e042dce0e4ea59ab6368f6e97999 Mon Sep 17 00:00:00 2001 From: afernand Date: Mon, 9 Jun 2025 12:55:33 +0200 Subject: [PATCH 14/16] test: Limit numpy version --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 05fc677dcb..2bc3c30164 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,7 @@ tests = [ "pytest-pyvista==0.1.9", "pytest-xvfb==3.1.1", "pyvista[trame]==0.45.2", + "numpy<2.3" ] doc = [ "ansys-sphinx-theme[autoapi]==1.5.2", From 23820e25133c7c5adb5a2caebf8e8792f1792920 Mon Sep 17 00:00:00 2001 From: afernand Date: Mon, 9 Jun 2025 13:13:58 +0200 Subject: [PATCH 15/16] fix: Numpy version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2bc3c30164..3a3f7160b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,7 @@ dependencies = [ "numpy>=1.14.0", "appdirs>=1.4.0", "importlib-metadata>=4.0,<5; python_version<='3.8'", + "numpy<2.3", # temporary fix since breaks visualization ] [project.optional-dependencies] @@ -39,7 +40,6 @@ tests = [ "pytest-pyvista==0.1.9", "pytest-xvfb==3.1.1", "pyvista[trame]==0.45.2", - "numpy<2.3" ] doc = [ "ansys-sphinx-theme[autoapi]==1.5.2", From c5007a51e8e7237e3a0411a72040cdd7f397d19e Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Thu, 3 Jul 2025 15:19:52 +0000 Subject: [PATCH 16/16] chore: adding changelog file 1040.miscellaneous.md [dependabot-skip] --- doc/changelog.d/1040.documentation.md | 1 - doc/changelog.d/1040.miscellaneous.md | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 doc/changelog.d/1040.documentation.md create mode 100644 doc/changelog.d/1040.miscellaneous.md diff --git a/doc/changelog.d/1040.documentation.md b/doc/changelog.d/1040.documentation.md deleted file mode 100644 index 0d56ae9ebd..0000000000 --- a/doc/changelog.d/1040.documentation.md +++ /dev/null @@ -1 +0,0 @@ -doc: create beta example folder \ No newline at end of file diff --git a/doc/changelog.d/1040.miscellaneous.md b/doc/changelog.d/1040.miscellaneous.md new file mode 100644 index 0000000000..26f440cfda --- /dev/null +++ b/doc/changelog.d/1040.miscellaneous.md @@ -0,0 +1 @@ +Doc: create beta example folder \ No newline at end of file