From ce34c76de5b73f213b01e1c25b7252d803dda114 Mon Sep 17 00:00:00 2001 From: Muhammed Adedigba <68085496+moe-ad@users.noreply.github.com> Date: Wed, 8 Jan 2025 12:40:48 +0100 Subject: [PATCH 1/3] feat: node/element selection commands returning selected ids (#3636) * feat: changes to source code * chore: adding changelog file 3636.miscellaneous.md [dependabot-skip] * ci: auto fixes from pre-commit.com hooks. for more information, see https://pre-commit.ci * chore: adding changelog file 3636.documentation.md [dependabot-skip] * ci: auto fixes from pre-commit.com hooks. for more information, see https://pre-commit.ci * chore: adding changelog file 3636.miscellaneous.md [dependabot-skip] * feat: added unit tests --------- Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: German <28149841+germa89@users.noreply.github.com> --- doc/changelog.d/3636.miscellaneous.md | 1 + src/ansys/mapdl/core/commands.py | 2 ++ src/ansys/mapdl/core/mapdl_core.py | 4 +++ tests/conftest.py | 18 +++++++++++++ tests/test_mesh_grpc.py | 39 +++++++++++++++++++++++++++ 5 files changed, 64 insertions(+) create mode 100644 doc/changelog.d/3636.miscellaneous.md diff --git a/doc/changelog.d/3636.miscellaneous.md b/doc/changelog.d/3636.miscellaneous.md new file mode 100644 index 0000000000..5d0e245a47 --- /dev/null +++ b/doc/changelog.d/3636.miscellaneous.md @@ -0,0 +1 @@ +feat: node/element selection commands returning selected ids \ No newline at end of file diff --git a/src/ansys/mapdl/core/commands.py b/src/ansys/mapdl/core/commands.py index c6c7c489cf..935284e19d 100644 --- a/src/ansys/mapdl/core/commands.py +++ b/src/ansys/mapdl/core/commands.py @@ -193,6 +193,8 @@ "LSEL", "ASEL", "VSEL", + "ESLN", + "NSLE", ] diff --git a/src/ansys/mapdl/core/mapdl_core.py b/src/ansys/mapdl/core/mapdl_core.py index 4201a0fc3d..ff50e89414 100644 --- a/src/ansys/mapdl/core/mapdl_core.py +++ b/src/ansys/mapdl/core/mapdl_core.py @@ -1321,6 +1321,10 @@ def wrap_xsel_function_output(method): return self.geometry.anum elif name == "VSEL": return self.geometry.vnum + elif name == "ESLN": + return self.mesh.enum + elif name == "NSLE": + return self.mesh.nnum else: return None diff --git a/tests/conftest.py b/tests/conftest.py index deebfcaa27..3f87e5fedd 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1157,6 +1157,24 @@ def create_geometry(mapdl): return areas, keypoints +@pytest.fixture(scope="function") +def two_dimensional_mesh(mapdl, cleared): + length = 4 + height = 1 + thickness = 0.2 + mesh_size = 0.1 + + mapdl.prep7() + + mapdl.r(r1=thickness) + mapdl.et(1, "PLANE182", kop3=3, kop6=0) + mapdl.rectng(0, length, 0, height) + mapdl.mshkey(1) + mapdl.mshape(0, "2D") + mapdl.esize(mesh_size) + mapdl.amesh("ALL") + + @pytest.fixture def query(mapdl, cleared): return mapdl.queries diff --git a/tests/test_mesh_grpc.py b/tests/test_mesh_grpc.py index a0aaf421f7..e914974b22 100644 --- a/tests/test_mesh_grpc.py +++ b/tests/test_mesh_grpc.py @@ -317,3 +317,42 @@ def test_nodal_rotation(mapdl, cleared): ] ) assert np.allclose(nrotation_ref, nrotations[:7, :]) + + +def test_esln(mapdl, two_dimensional_mesh): + mapdl.nsel("S", "LOC", "X", 0) + selected_ids = mapdl.esln("S", 0) + expected_selected_ids = np.array([1, 41, 81, 121, 161, 201, 241, 281, 321, 361]) + assert all(selected_ids == expected_selected_ids) + + +def test_nsle(mapdl, two_dimensional_mesh): + mapdl.esel("S", "CENT", "X", 0, 0.1) + selected_ids = mapdl.nsle("S") + expected_selected_ids = np.array( + [ + 1, + 3, + 52, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + ] + ) + assert all(selected_ids == expected_selected_ids) From a4354c79cc30868809e179ff21988683ea04c7e9 Mon Sep 17 00:00:00 2001 From: PyAnsys CI Bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Wed, 8 Jan 2025 12:49:35 +0100 Subject: [PATCH 2/3] chore: update CHANGELOG for v0.69.0 (#3641) * chore: updating CHANGELOG for v0.69.0 * chore: adding changelog file 3641.added.md [dependabot-skip] --- doc/changelog.d/3183.changed.md | 1 - doc/changelog.d/3186.changed.md | 1 - doc/changelog.d/3188.fixed.md | 1 - doc/changelog.d/3191.changed.md | 1 - doc/changelog.d/3194.dependencies.md | 1 - doc/changelog.d/3197.dependencies.md | 1 - doc/changelog.d/3201.changed.md | 1 - doc/changelog.d/3204.fixed.md | 1 - doc/changelog.d/3206.miscellaneous.md | 1 - doc/changelog.d/3210.miscellaneous.md | 1 - doc/changelog.d/3211.changed.md | 1 - doc/changelog.d/3212.dependencies.md | 1 - doc/changelog.d/3213.dependencies.md | 1 - doc/changelog.d/3214.dependencies.md | 1 - doc/changelog.d/3215.dependencies.md | 1 - doc/changelog.d/3217.dependencies.md | 1 - doc/changelog.d/3223.changed.md | 1 - doc/changelog.d/3224.dependencies.md | 1 - doc/changelog.d/3225.fixed.md | 1 - doc/changelog.d/3227.fixed.md | 1 - doc/changelog.d/3228.changed.md | 1 - doc/changelog.d/3229.dependencies.md | 1 - doc/changelog.d/3232.changed.md | 1 - doc/changelog.d/3237.changed.md | 1 - doc/changelog.d/3238.miscellaneous.md | 1 - doc/changelog.d/3239.miscellaneous.md | 1 - doc/changelog.d/3241.dependencies.md | 1 - doc/changelog.d/3242.changed.md | 1 - doc/changelog.d/3247.fixed.md | 1 - doc/changelog.d/3249.miscellaneous.md | 1 - doc/changelog.d/3251.fixed.md | 1 - doc/changelog.d/3252.fixed.md | 1 - doc/changelog.d/3253.miscellaneous.md | 1 - doc/changelog.d/3255.dependencies.md | 1 - doc/changelog.d/3259.added.md | 1 - doc/changelog.d/3466.documentation.md | 1 - doc/changelog.d/3474.added.md | 1 - doc/changelog.d/3475.added.md | 1 - doc/changelog.d/3479.added.md | 1 - doc/changelog.d/3481.maintenance.md | 1 - doc/changelog.d/3482.maintenance.md | 1 - doc/changelog.d/3484.maintenance.md | 1 - doc/changelog.d/3487.miscellaneous.md | 1 - doc/changelog.d/3488.documentation.md | 1 - doc/changelog.d/3490.added.md | 1 - doc/changelog.d/3491.added.md | 1 - doc/changelog.d/3492.maintenance.md | 1 - doc/changelog.d/3493.dependencies.md | 1 - doc/changelog.d/3494.dependencies.md | 1 - doc/changelog.d/3495.dependencies.md | 1 - doc/changelog.d/3496.dependencies.md | 1 - doc/changelog.d/3497.documentation.md | 1 - doc/changelog.d/3500.documentation.md | 1 - doc/changelog.d/3501.added.md | 1 - doc/changelog.d/3505.maintenance.md | 1 - doc/changelog.d/3506.documentation.md | 1 - doc/changelog.d/3507.fixed.md | 1 - doc/changelog.d/3509.added.md | 1 - doc/changelog.d/3511.added.md | 1 - doc/changelog.d/3513.documentation.md | 1 - doc/changelog.d/3515.dependencies.md | 1 - doc/changelog.d/3516.dependencies.md | 1 - doc/changelog.d/3517.added.md | 1 - doc/changelog.d/3519.added.md | 1 - doc/changelog.d/3521.maintenance.md | 1 - doc/changelog.d/3522.maintenance.md | 1 - doc/changelog.d/3523.added.md | 1 - doc/changelog.d/3524.added.md | 1 - doc/changelog.d/3525.fixed.md | 1 - doc/changelog.d/3526.documentation.md | 1 - doc/changelog.d/3527.documentation.md | 1 - doc/changelog.d/3528.miscellaneous.md | 1 - doc/changelog.d/3533.dependencies.md | 1 - doc/changelog.d/3534.dependencies.md | 1 - doc/changelog.d/3535.dependencies.md | 1 - doc/changelog.d/3540.fixed.md | 1 - doc/changelog.d/3541.maintenance.md | 1 - doc/changelog.d/3542.added.md | 1 - doc/changelog.d/3545.maintenance.md | 1 - doc/changelog.d/3546.documentation.md | 1 - doc/changelog.d/3547.dependencies.md | 1 - doc/changelog.d/3549.documentation.md | 1 - doc/changelog.d/3550.added.md | 1 - doc/changelog.d/3551.added.md | 1 - doc/changelog.d/3552.fixed.md | 1 - doc/changelog.d/3553.added.md | 1 - doc/changelog.d/3554.added.md | 1 - doc/changelog.d/3555.fixed.md | 1 - doc/changelog.d/3556.added.md | 1 - doc/changelog.d/3557.maintenance.md | 1 - doc/changelog.d/3559.miscellaneous.md | 1 - doc/changelog.d/3560.added.md | 1 - doc/changelog.d/3564.maintenance.md | 1 - doc/changelog.d/3565.dependencies.md | 1 - doc/changelog.d/3566.dependencies.md | 1 - doc/changelog.d/3567.dependencies.md | 1 - doc/changelog.d/3569.added.md | 1 - doc/changelog.d/3570.fixed.md | 1 - doc/changelog.d/3571.miscellaneous.md | 1 - doc/changelog.d/3572.documentation.md | 1 - doc/changelog.d/3573.added.md | 1 - doc/changelog.d/3574.miscellaneous.md | 1 - doc/changelog.d/3575.miscellaneous.md | 1 - doc/changelog.d/3576.miscellaneous.md | 1 - doc/changelog.d/3577.added.md | 1 - doc/changelog.d/3580.documentation.md | 1 - doc/changelog.d/3582.fixed.md | 1 - doc/changelog.d/3583.fixed.md | 1 - doc/changelog.d/3584.documentation.md | 1 - doc/changelog.d/3585.maintenance.md | 1 - doc/changelog.d/3586.fixed.md | 1 - doc/changelog.d/3589.fixed.md | 1 - doc/changelog.d/3590.miscellaneous.md | 1 - doc/changelog.d/3593.dependencies.md | 1 - doc/changelog.d/3594.maintenance.md | 1 - doc/changelog.d/3596.miscellaneous.md | 1 - doc/changelog.d/3599.maintenance.md | 1 - doc/changelog.d/3601.dependencies.md | 1 - doc/changelog.d/3603.dependencies.md | 1 - doc/changelog.d/3604.dependencies.md | 1 - doc/changelog.d/3606.miscellaneous.md | 1 - doc/changelog.d/3608.fixed.md | 1 - doc/changelog.d/3612.dependencies.md | 1 - doc/changelog.d/3617.fixed.md | 1 - doc/changelog.d/3619.maintenance.md | 1 - doc/changelog.d/3621.added.md | 1 - doc/changelog.d/3623.maintenance.md | 1 - doc/changelog.d/3624.maintenance.md | 1 - doc/changelog.d/3626.dependencies.md | 1 - doc/changelog.d/3630.dependencies.md | 1 - doc/changelog.d/3631.added.md | 1 - doc/changelog.d/3632.maintenance.md | 1 - doc/changelog.d/3633.dependencies.md | 1 - doc/changelog.d/3637.documentation.md | 1 - doc/changelog.d/3638.maintenance.md | 1 - doc/changelog.d/3640.fixed.md | 1 - doc/changelog.d/3641.added.md | 1 + doc/source/changelog.rst | 164 ++++++++++++++++++++++++++ 138 files changed, 165 insertions(+), 136 deletions(-) delete mode 100644 doc/changelog.d/3183.changed.md delete mode 100644 doc/changelog.d/3186.changed.md delete mode 100644 doc/changelog.d/3188.fixed.md delete mode 100644 doc/changelog.d/3191.changed.md delete mode 100644 doc/changelog.d/3194.dependencies.md delete mode 100644 doc/changelog.d/3197.dependencies.md delete mode 100644 doc/changelog.d/3201.changed.md delete mode 100644 doc/changelog.d/3204.fixed.md delete mode 100644 doc/changelog.d/3206.miscellaneous.md delete mode 100644 doc/changelog.d/3210.miscellaneous.md delete mode 100644 doc/changelog.d/3211.changed.md delete mode 100644 doc/changelog.d/3212.dependencies.md delete mode 100644 doc/changelog.d/3213.dependencies.md delete mode 100644 doc/changelog.d/3214.dependencies.md delete mode 100644 doc/changelog.d/3215.dependencies.md delete mode 100644 doc/changelog.d/3217.dependencies.md delete mode 100644 doc/changelog.d/3223.changed.md delete mode 100644 doc/changelog.d/3224.dependencies.md delete mode 100644 doc/changelog.d/3225.fixed.md delete mode 100644 doc/changelog.d/3227.fixed.md delete mode 100644 doc/changelog.d/3228.changed.md delete mode 100644 doc/changelog.d/3229.dependencies.md delete mode 100644 doc/changelog.d/3232.changed.md delete mode 100644 doc/changelog.d/3237.changed.md delete mode 100644 doc/changelog.d/3238.miscellaneous.md delete mode 100644 doc/changelog.d/3239.miscellaneous.md delete mode 100644 doc/changelog.d/3241.dependencies.md delete mode 100644 doc/changelog.d/3242.changed.md delete mode 100644 doc/changelog.d/3247.fixed.md delete mode 100644 doc/changelog.d/3249.miscellaneous.md delete mode 100644 doc/changelog.d/3251.fixed.md delete mode 100644 doc/changelog.d/3252.fixed.md delete mode 100644 doc/changelog.d/3253.miscellaneous.md delete mode 100644 doc/changelog.d/3255.dependencies.md delete mode 100644 doc/changelog.d/3259.added.md delete mode 100644 doc/changelog.d/3466.documentation.md delete mode 100644 doc/changelog.d/3474.added.md delete mode 100644 doc/changelog.d/3475.added.md delete mode 100644 doc/changelog.d/3479.added.md delete mode 100644 doc/changelog.d/3481.maintenance.md delete mode 100644 doc/changelog.d/3482.maintenance.md delete mode 100644 doc/changelog.d/3484.maintenance.md delete mode 100644 doc/changelog.d/3487.miscellaneous.md delete mode 100644 doc/changelog.d/3488.documentation.md delete mode 100644 doc/changelog.d/3490.added.md delete mode 100644 doc/changelog.d/3491.added.md delete mode 100644 doc/changelog.d/3492.maintenance.md delete mode 100644 doc/changelog.d/3493.dependencies.md delete mode 100644 doc/changelog.d/3494.dependencies.md delete mode 100644 doc/changelog.d/3495.dependencies.md delete mode 100644 doc/changelog.d/3496.dependencies.md delete mode 100644 doc/changelog.d/3497.documentation.md delete mode 100644 doc/changelog.d/3500.documentation.md delete mode 100644 doc/changelog.d/3501.added.md delete mode 100644 doc/changelog.d/3505.maintenance.md delete mode 100644 doc/changelog.d/3506.documentation.md delete mode 100644 doc/changelog.d/3507.fixed.md delete mode 100644 doc/changelog.d/3509.added.md delete mode 100644 doc/changelog.d/3511.added.md delete mode 100644 doc/changelog.d/3513.documentation.md delete mode 100644 doc/changelog.d/3515.dependencies.md delete mode 100644 doc/changelog.d/3516.dependencies.md delete mode 100644 doc/changelog.d/3517.added.md delete mode 100644 doc/changelog.d/3519.added.md delete mode 100644 doc/changelog.d/3521.maintenance.md delete mode 100644 doc/changelog.d/3522.maintenance.md delete mode 100644 doc/changelog.d/3523.added.md delete mode 100644 doc/changelog.d/3524.added.md delete mode 100644 doc/changelog.d/3525.fixed.md delete mode 100644 doc/changelog.d/3526.documentation.md delete mode 100644 doc/changelog.d/3527.documentation.md delete mode 100644 doc/changelog.d/3528.miscellaneous.md delete mode 100644 doc/changelog.d/3533.dependencies.md delete mode 100644 doc/changelog.d/3534.dependencies.md delete mode 100644 doc/changelog.d/3535.dependencies.md delete mode 100644 doc/changelog.d/3540.fixed.md delete mode 100644 doc/changelog.d/3541.maintenance.md delete mode 100644 doc/changelog.d/3542.added.md delete mode 100644 doc/changelog.d/3545.maintenance.md delete mode 100644 doc/changelog.d/3546.documentation.md delete mode 100644 doc/changelog.d/3547.dependencies.md delete mode 100644 doc/changelog.d/3549.documentation.md delete mode 100644 doc/changelog.d/3550.added.md delete mode 100644 doc/changelog.d/3551.added.md delete mode 100644 doc/changelog.d/3552.fixed.md delete mode 100644 doc/changelog.d/3553.added.md delete mode 100644 doc/changelog.d/3554.added.md delete mode 100644 doc/changelog.d/3555.fixed.md delete mode 100644 doc/changelog.d/3556.added.md delete mode 100644 doc/changelog.d/3557.maintenance.md delete mode 100644 doc/changelog.d/3559.miscellaneous.md delete mode 100644 doc/changelog.d/3560.added.md delete mode 100644 doc/changelog.d/3564.maintenance.md delete mode 100644 doc/changelog.d/3565.dependencies.md delete mode 100644 doc/changelog.d/3566.dependencies.md delete mode 100644 doc/changelog.d/3567.dependencies.md delete mode 100644 doc/changelog.d/3569.added.md delete mode 100644 doc/changelog.d/3570.fixed.md delete mode 100644 doc/changelog.d/3571.miscellaneous.md delete mode 100644 doc/changelog.d/3572.documentation.md delete mode 100644 doc/changelog.d/3573.added.md delete mode 100644 doc/changelog.d/3574.miscellaneous.md delete mode 100644 doc/changelog.d/3575.miscellaneous.md delete mode 100644 doc/changelog.d/3576.miscellaneous.md delete mode 100644 doc/changelog.d/3577.added.md delete mode 100644 doc/changelog.d/3580.documentation.md delete mode 100644 doc/changelog.d/3582.fixed.md delete mode 100644 doc/changelog.d/3583.fixed.md delete mode 100644 doc/changelog.d/3584.documentation.md delete mode 100644 doc/changelog.d/3585.maintenance.md delete mode 100644 doc/changelog.d/3586.fixed.md delete mode 100644 doc/changelog.d/3589.fixed.md delete mode 100644 doc/changelog.d/3590.miscellaneous.md delete mode 100644 doc/changelog.d/3593.dependencies.md delete mode 100644 doc/changelog.d/3594.maintenance.md delete mode 100644 doc/changelog.d/3596.miscellaneous.md delete mode 100644 doc/changelog.d/3599.maintenance.md delete mode 100644 doc/changelog.d/3601.dependencies.md delete mode 100644 doc/changelog.d/3603.dependencies.md delete mode 100644 doc/changelog.d/3604.dependencies.md delete mode 100644 doc/changelog.d/3606.miscellaneous.md delete mode 100644 doc/changelog.d/3608.fixed.md delete mode 100644 doc/changelog.d/3612.dependencies.md delete mode 100644 doc/changelog.d/3617.fixed.md delete mode 100644 doc/changelog.d/3619.maintenance.md delete mode 100644 doc/changelog.d/3621.added.md delete mode 100644 doc/changelog.d/3623.maintenance.md delete mode 100644 doc/changelog.d/3624.maintenance.md delete mode 100644 doc/changelog.d/3626.dependencies.md delete mode 100644 doc/changelog.d/3630.dependencies.md delete mode 100644 doc/changelog.d/3631.added.md delete mode 100644 doc/changelog.d/3632.maintenance.md delete mode 100644 doc/changelog.d/3633.dependencies.md delete mode 100644 doc/changelog.d/3637.documentation.md delete mode 100644 doc/changelog.d/3638.maintenance.md delete mode 100644 doc/changelog.d/3640.fixed.md create mode 100644 doc/changelog.d/3641.added.md diff --git a/doc/changelog.d/3183.changed.md b/doc/changelog.d/3183.changed.md deleted file mode 100644 index 2e273fafd9..0000000000 --- a/doc/changelog.d/3183.changed.md +++ /dev/null @@ -1 +0,0 @@ -chore: update CHANGELOG for v0.68.2 \ No newline at end of file diff --git a/doc/changelog.d/3186.changed.md b/doc/changelog.d/3186.changed.md deleted file mode 100644 index 1049d536cf..0000000000 --- a/doc/changelog.d/3186.changed.md +++ /dev/null @@ -1 +0,0 @@ -ci: Use CICD only on ``v*`` tags. \ No newline at end of file diff --git a/doc/changelog.d/3188.fixed.md b/doc/changelog.d/3188.fixed.md deleted file mode 100644 index eb1e02a823..0000000000 --- a/doc/changelog.d/3188.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: using same labels everywhere \ No newline at end of file diff --git a/doc/changelog.d/3191.changed.md b/doc/changelog.d/3191.changed.md deleted file mode 100644 index 29ddbbb29d..0000000000 --- a/doc/changelog.d/3191.changed.md +++ /dev/null @@ -1 +0,0 @@ -ci: checking documentation style in ``Examples`` directory too \ No newline at end of file diff --git a/doc/changelog.d/3194.dependencies.md b/doc/changelog.d/3194.dependencies.md deleted file mode 100644 index 37b1cea7aa..0000000000 --- a/doc/changelog.d/3194.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump pyvista[trame] from 0.43.9 to 0.43.10 \ No newline at end of file diff --git a/doc/changelog.d/3197.dependencies.md b/doc/changelog.d/3197.dependencies.md deleted file mode 100644 index 41dcf4e505..0000000000 --- a/doc/changelog.d/3197.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump the minimal group across 1 directory with 2 updates \ No newline at end of file diff --git a/doc/changelog.d/3201.changed.md b/doc/changelog.d/3201.changed.md deleted file mode 100644 index 70afe387e5..0000000000 --- a/doc/changelog.d/3201.changed.md +++ /dev/null @@ -1 +0,0 @@ -chore: update CHANGELOG for v0.68.3 \ No newline at end of file diff --git a/doc/changelog.d/3204.fixed.md b/doc/changelog.d/3204.fixed.md deleted file mode 100644 index 6409eb5f2c..0000000000 --- a/doc/changelog.d/3204.fixed.md +++ /dev/null @@ -1 +0,0 @@ -ci: Fix missing labels format in dependabot file \ No newline at end of file diff --git a/doc/changelog.d/3206.miscellaneous.md b/doc/changelog.d/3206.miscellaneous.md deleted file mode 100644 index 511e2fa4d8..0000000000 --- a/doc/changelog.d/3206.miscellaneous.md +++ /dev/null @@ -1 +0,0 @@ -ci: [pre-commit.ci] pre-commit autoupdate \ No newline at end of file diff --git a/doc/changelog.d/3210.miscellaneous.md b/doc/changelog.d/3210.miscellaneous.md deleted file mode 100644 index 91affe0358..0000000000 --- a/doc/changelog.d/3210.miscellaneous.md +++ /dev/null @@ -1 +0,0 @@ -ci: Adding v251 CentOS based image to testing \ No newline at end of file diff --git a/doc/changelog.d/3211.changed.md b/doc/changelog.d/3211.changed.md deleted file mode 100644 index 04c58e9b24..0000000000 --- a/doc/changelog.d/3211.changed.md +++ /dev/null @@ -1 +0,0 @@ -ci: Update julia testing \ No newline at end of file diff --git a/doc/changelog.d/3212.dependencies.md b/doc/changelog.d/3212.dependencies.md deleted file mode 100644 index 13d8816d90..0000000000 --- a/doc/changelog.d/3212.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump importlib-metadata from 7.2.0 to 7.2.1 in the minimal group \ No newline at end of file diff --git a/doc/changelog.d/3213.dependencies.md b/doc/changelog.d/3213.dependencies.md deleted file mode 100644 index 7dc726a750..0000000000 --- a/doc/changelog.d/3213.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump scipy from 1.13.1 to 1.14.0 in the core group \ No newline at end of file diff --git a/doc/changelog.d/3214.dependencies.md b/doc/changelog.d/3214.dependencies.md deleted file mode 100644 index ed1f41ce94..0000000000 --- a/doc/changelog.d/3214.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump the documentation group with 2 updates \ No newline at end of file diff --git a/doc/changelog.d/3215.dependencies.md b/doc/changelog.d/3215.dependencies.md deleted file mode 100644 index ee0f4f3cf0..0000000000 --- a/doc/changelog.d/3215.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump autopep8 from 2.3.0 to 2.3.1 in the testing group \ No newline at end of file diff --git a/doc/changelog.d/3217.dependencies.md b/doc/changelog.d/3217.dependencies.md deleted file mode 100644 index 48cd409222..0000000000 --- a/doc/changelog.d/3217.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: update requirements in devcontainer directory \ No newline at end of file diff --git a/doc/changelog.d/3223.changed.md b/doc/changelog.d/3223.changed.md deleted file mode 100644 index 41de6421d3..0000000000 --- a/doc/changelog.d/3223.changed.md +++ /dev/null @@ -1 +0,0 @@ -ci: improving if to match also schedule and workflow_dispatch \ No newline at end of file diff --git a/doc/changelog.d/3224.dependencies.md b/doc/changelog.d/3224.dependencies.md deleted file mode 100644 index 058ea3d92a..0000000000 --- a/doc/changelog.d/3224.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: removing reredirect sphinx extension \ No newline at end of file diff --git a/doc/changelog.d/3225.fixed.md b/doc/changelog.d/3225.fixed.md deleted file mode 100644 index 8184740967..0000000000 --- a/doc/changelog.d/3225.fixed.md +++ /dev/null @@ -1 +0,0 @@ -ci: wrong tagging on the coverage artifacts \ No newline at end of file diff --git a/doc/changelog.d/3227.fixed.md b/doc/changelog.d/3227.fixed.md deleted file mode 100644 index c288ac1e7b..0000000000 --- a/doc/changelog.d/3227.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: avoid inspecting suspended processes \ No newline at end of file diff --git a/doc/changelog.d/3228.changed.md b/doc/changelog.d/3228.changed.md deleted file mode 100644 index 66edcb71d3..0000000000 --- a/doc/changelog.d/3228.changed.md +++ /dev/null @@ -1 +0,0 @@ -docs: documenting new naming conventions for commits, branches and PRs. \ No newline at end of file diff --git a/doc/changelog.d/3229.dependencies.md b/doc/changelog.d/3229.dependencies.md deleted file mode 100644 index a84499e3a4..0000000000 --- a/doc/changelog.d/3229.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump importlib-metadata from 7.2.1 to 8.0.0 in the minimal group \ No newline at end of file diff --git a/doc/changelog.d/3232.changed.md b/doc/changelog.d/3232.changed.md deleted file mode 100644 index 54d1f17327..0000000000 --- a/doc/changelog.d/3232.changed.md +++ /dev/null @@ -1 +0,0 @@ -ci: Using a dynamically generated matrix for testing job setup \ No newline at end of file diff --git a/doc/changelog.d/3237.changed.md b/doc/changelog.d/3237.changed.md deleted file mode 100644 index 98ce0e6c45..0000000000 --- a/doc/changelog.d/3237.changed.md +++ /dev/null @@ -1 +0,0 @@ -ci: increase the files checked for changes before load docs cache \ No newline at end of file diff --git a/doc/changelog.d/3238.miscellaneous.md b/doc/changelog.d/3238.miscellaneous.md deleted file mode 100644 index b42b241032..0000000000 --- a/doc/changelog.d/3238.miscellaneous.md +++ /dev/null @@ -1 +0,0 @@ -[pre-commit.ci] pre-commit autoupdate \ No newline at end of file diff --git a/doc/changelog.d/3239.miscellaneous.md b/doc/changelog.d/3239.miscellaneous.md deleted file mode 100644 index 69a82cd64a..0000000000 --- a/doc/changelog.d/3239.miscellaneous.md +++ /dev/null @@ -1 +0,0 @@ -feat: refactoring `create_temp_dir` \ No newline at end of file diff --git a/doc/changelog.d/3241.dependencies.md b/doc/changelog.d/3241.dependencies.md deleted file mode 100644 index 7c5203d58d..0000000000 --- a/doc/changelog.d/3241.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump the core group with 2 updates \ No newline at end of file diff --git a/doc/changelog.d/3242.changed.md b/doc/changelog.d/3242.changed.md deleted file mode 100644 index f51c97d2bc..0000000000 --- a/doc/changelog.d/3242.changed.md +++ /dev/null @@ -1 +0,0 @@ -build: bump certifi from 2024.2.2 to 2024.7.4 in /doc/source/examples/extended_examples/hpc \ No newline at end of file diff --git a/doc/changelog.d/3247.fixed.md b/doc/changelog.d/3247.fixed.md deleted file mode 100644 index f2775eac84..0000000000 --- a/doc/changelog.d/3247.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: not deleting temporary file when ``remove_temp_dir_on_exit`` =True \ No newline at end of file diff --git a/doc/changelog.d/3249.miscellaneous.md b/doc/changelog.d/3249.miscellaneous.md deleted file mode 100644 index e09f220aed..0000000000 --- a/doc/changelog.d/3249.miscellaneous.md +++ /dev/null @@ -1 +0,0 @@ -docs: adapt static images to dark/light themes \ No newline at end of file diff --git a/doc/changelog.d/3251.fixed.md b/doc/changelog.d/3251.fixed.md deleted file mode 100644 index 609a22f090..0000000000 --- a/doc/changelog.d/3251.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: local tests always running as student \ No newline at end of file diff --git a/doc/changelog.d/3252.fixed.md b/doc/changelog.d/3252.fixed.md deleted file mode 100644 index a429719def..0000000000 --- a/doc/changelog.d/3252.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: incorrect env vars section \ No newline at end of file diff --git a/doc/changelog.d/3253.miscellaneous.md b/doc/changelog.d/3253.miscellaneous.md deleted file mode 100644 index b42b241032..0000000000 --- a/doc/changelog.d/3253.miscellaneous.md +++ /dev/null @@ -1 +0,0 @@ -[pre-commit.ci] pre-commit autoupdate \ No newline at end of file diff --git a/doc/changelog.d/3255.dependencies.md b/doc/changelog.d/3255.dependencies.md deleted file mode 100644 index 42e7031e52..0000000000 --- a/doc/changelog.d/3255.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: update ansys-api-mapdl to 0.5.2 \ No newline at end of file diff --git a/doc/changelog.d/3259.added.md b/doc/changelog.d/3259.added.md deleted file mode 100644 index f8047af254..0000000000 --- a/doc/changelog.d/3259.added.md +++ /dev/null @@ -1 +0,0 @@ -test: skip test \ No newline at end of file diff --git a/doc/changelog.d/3466.documentation.md b/doc/changelog.d/3466.documentation.md deleted file mode 100644 index bd1c0ca801..0000000000 --- a/doc/changelog.d/3466.documentation.md +++ /dev/null @@ -1 +0,0 @@ -docs: documenting using pymapdl on clusters diff --git a/doc/changelog.d/3474.added.md b/doc/changelog.d/3474.added.md deleted file mode 100644 index ea01459e8f..0000000000 --- a/doc/changelog.d/3474.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: modifying ``subprocess`` calls and removing ``try except continue`` statements \ No newline at end of file diff --git a/doc/changelog.d/3475.added.md b/doc/changelog.d/3475.added.md deleted file mode 100644 index 3750f99954..0000000000 --- a/doc/changelog.d/3475.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: launch_mapdl \ No newline at end of file diff --git a/doc/changelog.d/3479.added.md b/doc/changelog.d/3479.added.md deleted file mode 100644 index 1f7da7eaf7..0000000000 --- a/doc/changelog.d/3479.added.md +++ /dev/null @@ -1 +0,0 @@ -chore: update CHANGELOG for v0.68.6 \ No newline at end of file diff --git a/doc/changelog.d/3481.maintenance.md b/doc/changelog.d/3481.maintenance.md deleted file mode 100644 index 3f73b232e1..0000000000 --- a/doc/changelog.d/3481.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -ci: bump thollander/actions-comment-pull-request from 2 to 3 in the actions group \ No newline at end of file diff --git a/doc/changelog.d/3482.maintenance.md b/doc/changelog.d/3482.maintenance.md deleted file mode 100644 index 23264207b9..0000000000 --- a/doc/changelog.d/3482.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -ci: pre-commit autoupdate \ No newline at end of file diff --git a/doc/changelog.d/3484.maintenance.md b/doc/changelog.d/3484.maintenance.md deleted file mode 100644 index 1caacc979a..0000000000 --- a/doc/changelog.d/3484.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -ci: force coloring in pytest \ No newline at end of file diff --git a/doc/changelog.d/3487.miscellaneous.md b/doc/changelog.d/3487.miscellaneous.md deleted file mode 100644 index e9b60408a8..0000000000 --- a/doc/changelog.d/3487.miscellaneous.md +++ /dev/null @@ -1 +0,0 @@ -feat: adding 'pymapdl_nproc' to non-slurm runs \ No newline at end of file diff --git a/doc/changelog.d/3488.documentation.md b/doc/changelog.d/3488.documentation.md deleted file mode 100644 index ed1b85597f..0000000000 --- a/doc/changelog.d/3488.documentation.md +++ /dev/null @@ -1 +0,0 @@ -ci: avoiding linkcheck on changelog page \ No newline at end of file diff --git a/doc/changelog.d/3490.added.md b/doc/changelog.d/3490.added.md deleted file mode 100644 index 93351e68ee..0000000000 --- a/doc/changelog.d/3490.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: `__init__` file \ No newline at end of file diff --git a/doc/changelog.d/3491.added.md b/doc/changelog.d/3491.added.md deleted file mode 100644 index 9a165ce053..0000000000 --- a/doc/changelog.d/3491.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: moving information class to another module \ No newline at end of file diff --git a/doc/changelog.d/3492.maintenance.md b/doc/changelog.d/3492.maintenance.md deleted file mode 100644 index 31c89238ae..0000000000 --- a/doc/changelog.d/3492.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -build: bump psutil from 6.0.0 to 6.1.0 in the minimal group \ No newline at end of file diff --git a/doc/changelog.d/3493.dependencies.md b/doc/changelog.d/3493.dependencies.md deleted file mode 100644 index d1f604e862..0000000000 --- a/doc/changelog.d/3493.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump grpcio from 1.66.2 to 1.67.0 in the grpc-deps group \ No newline at end of file diff --git a/doc/changelog.d/3494.dependencies.md b/doc/changelog.d/3494.dependencies.md deleted file mode 100644 index 9d45698ce3..0000000000 --- a/doc/changelog.d/3494.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump ansys-sphinx-theme from 1.1.2 to 1.1.5 in the core group \ No newline at end of file diff --git a/doc/changelog.d/3495.dependencies.md b/doc/changelog.d/3495.dependencies.md deleted file mode 100644 index ed1f41ce94..0000000000 --- a/doc/changelog.d/3495.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump the documentation group with 2 updates \ No newline at end of file diff --git a/doc/changelog.d/3496.dependencies.md b/doc/changelog.d/3496.dependencies.md deleted file mode 100644 index f7c6c74b3d..0000000000 --- a/doc/changelog.d/3496.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump ansys-sphinx-theme from 1.1.2 to 1.1.6 in the core group across 1 directory \ No newline at end of file diff --git a/doc/changelog.d/3497.documentation.md b/doc/changelog.d/3497.documentation.md deleted file mode 100644 index 9034ad6606..0000000000 --- a/doc/changelog.d/3497.documentation.md +++ /dev/null @@ -1 +0,0 @@ -feat: support for launching an MAPDL instance in an SLURM HPC cluster \ No newline at end of file diff --git a/doc/changelog.d/3500.documentation.md b/doc/changelog.d/3500.documentation.md deleted file mode 100644 index 902767602d..0000000000 --- a/doc/changelog.d/3500.documentation.md +++ /dev/null @@ -1 +0,0 @@ -feat: passing tight integration env vars to mapdl \ No newline at end of file diff --git a/doc/changelog.d/3501.added.md b/doc/changelog.d/3501.added.md deleted file mode 100644 index 31292e041b..0000000000 --- a/doc/changelog.d/3501.added.md +++ /dev/null @@ -1 +0,0 @@ -test: check all commands are submitted \ No newline at end of file diff --git a/doc/changelog.d/3505.maintenance.md b/doc/changelog.d/3505.maintenance.md deleted file mode 100644 index b995717304..0000000000 --- a/doc/changelog.d/3505.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -ci: ``ansys/actions/check-vulnerabilities`` to CI-CD \ No newline at end of file diff --git a/doc/changelog.d/3506.documentation.md b/doc/changelog.d/3506.documentation.md deleted file mode 100644 index 1977af6976..0000000000 --- a/doc/changelog.d/3506.documentation.md +++ /dev/null @@ -1 +0,0 @@ -docs: review of documenting using pymapdl on clusters (#3466) \ No newline at end of file diff --git a/doc/changelog.d/3507.fixed.md b/doc/changelog.d/3507.fixed.md deleted file mode 100644 index 1f4db19a11..0000000000 --- a/doc/changelog.d/3507.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: raising port busy when connecting \ No newline at end of file diff --git a/doc/changelog.d/3509.added.md b/doc/changelog.d/3509.added.md deleted file mode 100644 index cf9b46ca69..0000000000 --- a/doc/changelog.d/3509.added.md +++ /dev/null @@ -1 +0,0 @@ -test: faking-v150 \ No newline at end of file diff --git a/doc/changelog.d/3511.added.md b/doc/changelog.d/3511.added.md deleted file mode 100644 index 49f004477a..0000000000 --- a/doc/changelog.d/3511.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: externalise the 'report' features to another file \ No newline at end of file diff --git a/doc/changelog.d/3513.documentation.md b/doc/changelog.d/3513.documentation.md deleted file mode 100644 index b2f60a9a07..0000000000 --- a/doc/changelog.d/3513.documentation.md +++ /dev/null @@ -1 +0,0 @@ -docs: adding-sbatch-support \ No newline at end of file diff --git a/doc/changelog.d/3515.dependencies.md b/doc/changelog.d/3515.dependencies.md deleted file mode 100644 index 7c5203d58d..0000000000 --- a/doc/changelog.d/3515.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump the core group with 2 updates \ No newline at end of file diff --git a/doc/changelog.d/3516.dependencies.md b/doc/changelog.d/3516.dependencies.md deleted file mode 100644 index 147281e6e6..0000000000 --- a/doc/changelog.d/3516.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump pyansys-tools-report from 0.8.0 to 0.8.1 in the testing group \ No newline at end of file diff --git a/doc/changelog.d/3517.added.md b/doc/changelog.d/3517.added.md deleted file mode 100644 index d245230f94..0000000000 --- a/doc/changelog.d/3517.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: simplifying directory setter property \ No newline at end of file diff --git a/doc/changelog.d/3519.added.md b/doc/changelog.d/3519.added.md deleted file mode 100644 index 4e26bc7b6d..0000000000 --- a/doc/changelog.d/3519.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: testing suite (random order) \ No newline at end of file diff --git a/doc/changelog.d/3521.maintenance.md b/doc/changelog.d/3521.maintenance.md deleted file mode 100644 index 0537b3a289..0000000000 --- a/doc/changelog.d/3521.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -ci: bump actions/checkout from 4.2.1 to 4.2.2 in the actions group \ No newline at end of file diff --git a/doc/changelog.d/3522.maintenance.md b/doc/changelog.d/3522.maintenance.md deleted file mode 100644 index 23264207b9..0000000000 --- a/doc/changelog.d/3522.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -ci: pre-commit autoupdate \ No newline at end of file diff --git a/doc/changelog.d/3523.added.md b/doc/changelog.d/3523.added.md deleted file mode 100644 index 848608127d..0000000000 --- a/doc/changelog.d/3523.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: moving tests to classes to avoid repeated fixtures execution \ No newline at end of file diff --git a/doc/changelog.d/3524.added.md b/doc/changelog.d/3524.added.md deleted file mode 100644 index f25a84e3c7..0000000000 --- a/doc/changelog.d/3524.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: using test classes in test_inline tests \ No newline at end of file diff --git a/doc/changelog.d/3525.fixed.md b/doc/changelog.d/3525.fixed.md deleted file mode 100644 index a550b94b1f..0000000000 --- a/doc/changelog.d/3525.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: logo link \ No newline at end of file diff --git a/doc/changelog.d/3526.documentation.md b/doc/changelog.d/3526.documentation.md deleted file mode 100644 index 6eb67479e7..0000000000 --- a/doc/changelog.d/3526.documentation.md +++ /dev/null @@ -1 +0,0 @@ -docs: removing extra links from landing page. \ No newline at end of file diff --git a/doc/changelog.d/3527.documentation.md b/doc/changelog.d/3527.documentation.md deleted file mode 100644 index f8883cc2ba..0000000000 --- a/doc/changelog.d/3527.documentation.md +++ /dev/null @@ -1 +0,0 @@ -DOC: Update pymapdl.rst \ No newline at end of file diff --git a/doc/changelog.d/3528.miscellaneous.md b/doc/changelog.d/3528.miscellaneous.md deleted file mode 100644 index 12e026ea29..0000000000 --- a/doc/changelog.d/3528.miscellaneous.md +++ /dev/null @@ -1 +0,0 @@ -feat: using version instead of exec_path for the MPI checks \ No newline at end of file diff --git a/doc/changelog.d/3533.dependencies.md b/doc/changelog.d/3533.dependencies.md deleted file mode 100644 index e25f8a7db5..0000000000 --- a/doc/changelog.d/3533.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump grpcio from 1.67.0 to 1.67.1 in the grpc-deps group \ No newline at end of file diff --git a/doc/changelog.d/3534.dependencies.md b/doc/changelog.d/3534.dependencies.md deleted file mode 100644 index 7c5203d58d..0000000000 --- a/doc/changelog.d/3534.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump the core group with 2 updates \ No newline at end of file diff --git a/doc/changelog.d/3535.dependencies.md b/doc/changelog.d/3535.dependencies.md deleted file mode 100644 index 369dd67ace..0000000000 --- a/doc/changelog.d/3535.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump pytest-cov from 5.0.0 to 6.0.0 in the testing group \ No newline at end of file diff --git a/doc/changelog.d/3540.fixed.md b/doc/changelog.d/3540.fixed.md deleted file mode 100644 index b524a5f16d..0000000000 --- a/doc/changelog.d/3540.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: checking port on non-grpc mapdl instances \ No newline at end of file diff --git a/doc/changelog.d/3541.maintenance.md b/doc/changelog.d/3541.maintenance.md deleted file mode 100644 index f9f0f0bfa6..0000000000 --- a/doc/changelog.d/3541.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -build: bump numpy from 2.1.2 to 2.1.3 in the minimal group \ No newline at end of file diff --git a/doc/changelog.d/3542.added.md b/doc/changelog.d/3542.added.md deleted file mode 100644 index 1d40d19bf0..0000000000 --- a/doc/changelog.d/3542.added.md +++ /dev/null @@ -1 +0,0 @@ -chore: fix codecov.yml content \ No newline at end of file diff --git a/doc/changelog.d/3545.maintenance.md b/doc/changelog.d/3545.maintenance.md deleted file mode 100644 index 23264207b9..0000000000 --- a/doc/changelog.d/3545.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -ci: pre-commit autoupdate \ No newline at end of file diff --git a/doc/changelog.d/3546.documentation.md b/doc/changelog.d/3546.documentation.md deleted file mode 100644 index f6c4f3bef2..0000000000 --- a/doc/changelog.d/3546.documentation.md +++ /dev/null @@ -1 +0,0 @@ -[maint] remove importlib-metadata requirement \ No newline at end of file diff --git a/doc/changelog.d/3547.dependencies.md b/doc/changelog.d/3547.dependencies.md deleted file mode 100644 index 13e587a7a5..0000000000 --- a/doc/changelog.d/3547.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump ansys-sphinx-theme from 1.2.0 to 1.2.1 in the core group \ No newline at end of file diff --git a/doc/changelog.d/3549.documentation.md b/doc/changelog.d/3549.documentation.md deleted file mode 100644 index a119c57cd2..0000000000 --- a/doc/changelog.d/3549.documentation.md +++ /dev/null @@ -1 +0,0 @@ -docs: extracting information to another rst file \ No newline at end of file diff --git a/doc/changelog.d/3550.added.md b/doc/changelog.d/3550.added.md deleted file mode 100644 index 9354879ed5..0000000000 --- a/doc/changelog.d/3550.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: adding logging calls to misc.py \ No newline at end of file diff --git a/doc/changelog.d/3551.added.md b/doc/changelog.d/3551.added.md deleted file mode 100644 index 987638c792..0000000000 --- a/doc/changelog.d/3551.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: removing-`run_as_prep7`-in-favour-of-`run_as` \ No newline at end of file diff --git a/doc/changelog.d/3552.fixed.md b/doc/changelog.d/3552.fixed.md deleted file mode 100644 index 382312cd67..0000000000 --- a/doc/changelog.d/3552.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: warning and add an exception if using class alone \ No newline at end of file diff --git a/doc/changelog.d/3553.added.md b/doc/changelog.d/3553.added.md deleted file mode 100644 index 252e997f3f..0000000000 --- a/doc/changelog.d/3553.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: adding-type-ints-to-misc \ No newline at end of file diff --git a/doc/changelog.d/3554.added.md b/doc/changelog.d/3554.added.md deleted file mode 100644 index 41caad6cb3..0000000000 --- a/doc/changelog.d/3554.added.md +++ /dev/null @@ -1 +0,0 @@ -test: adding test for start_timeout arg \ No newline at end of file diff --git a/doc/changelog.d/3555.fixed.md b/doc/changelog.d/3555.fixed.md deleted file mode 100644 index d76253d6b6..0000000000 --- a/doc/changelog.d/3555.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: gui-extended-example \ No newline at end of file diff --git a/doc/changelog.d/3556.added.md b/doc/changelog.d/3556.added.md deleted file mode 100644 index 64f1caa881..0000000000 --- a/doc/changelog.d/3556.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: increase post module coverage \ No newline at end of file diff --git a/doc/changelog.d/3557.maintenance.md b/doc/changelog.d/3557.maintenance.md deleted file mode 100644 index 0cc444e06d..0000000000 --- a/doc/changelog.d/3557.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -ci: bump codecov/codecov-action from 4 to 5 in the actions group \ No newline at end of file diff --git a/doc/changelog.d/3559.miscellaneous.md b/doc/changelog.d/3559.miscellaneous.md deleted file mode 100644 index e2048aae00..0000000000 --- a/doc/changelog.d/3559.miscellaneous.md +++ /dev/null @@ -1 +0,0 @@ -feat: raising error if plot image cannot be obtained \ No newline at end of file diff --git a/doc/changelog.d/3560.added.md b/doc/changelog.d/3560.added.md deleted file mode 100644 index a6b1dd48f1..0000000000 --- a/doc/changelog.d/3560.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: using find_mapdl instead of find_ansys \ No newline at end of file diff --git a/doc/changelog.d/3564.maintenance.md b/doc/changelog.d/3564.maintenance.md deleted file mode 100644 index 84a3b529b3..0000000000 --- a/doc/changelog.d/3564.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -ci: skipping student versions when user is authenticated \ No newline at end of file diff --git a/doc/changelog.d/3565.dependencies.md b/doc/changelog.d/3565.dependencies.md deleted file mode 100644 index 2d3173248c..0000000000 --- a/doc/changelog.d/3565.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump grpcio from 1.67.1 to 1.68.0 in the grpc-deps group \ No newline at end of file diff --git a/doc/changelog.d/3566.dependencies.md b/doc/changelog.d/3566.dependencies.md deleted file mode 100644 index 7c5203d58d..0000000000 --- a/doc/changelog.d/3566.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump the core group with 2 updates \ No newline at end of file diff --git a/doc/changelog.d/3567.dependencies.md b/doc/changelog.d/3567.dependencies.md deleted file mode 100644 index bdb63a5cb5..0000000000 --- a/doc/changelog.d/3567.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump pytest-rerunfailures from 14.0 to 15.0 in the testing group \ No newline at end of file diff --git a/doc/changelog.d/3569.added.md b/doc/changelog.d/3569.added.md deleted file mode 100644 index b4f202ad3f..0000000000 --- a/doc/changelog.d/3569.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: annotate pymapdl part 1 \ No newline at end of file diff --git a/doc/changelog.d/3570.fixed.md b/doc/changelog.d/3570.fixed.md deleted file mode 100644 index eb89327d90..0000000000 --- a/doc/changelog.d/3570.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: python version warning \ No newline at end of file diff --git a/doc/changelog.d/3571.miscellaneous.md b/doc/changelog.d/3571.miscellaneous.md deleted file mode 100644 index 86d34b845d..0000000000 --- a/doc/changelog.d/3571.miscellaneous.md +++ /dev/null @@ -1 +0,0 @@ -feat: supporting v25.1 and v25.2 \ No newline at end of file diff --git a/doc/changelog.d/3572.documentation.md b/doc/changelog.d/3572.documentation.md deleted file mode 100644 index d2d23f08ae..0000000000 --- a/doc/changelog.d/3572.documentation.md +++ /dev/null @@ -1 +0,0 @@ -docs: updating compatible Python versions \ No newline at end of file diff --git a/doc/changelog.d/3573.added.md b/doc/changelog.d/3573.added.md deleted file mode 100644 index 95bbfdd6b4..0000000000 --- a/doc/changelog.d/3573.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: replace `get_ansys_path` with `get_mapdl_path` \ No newline at end of file diff --git a/doc/changelog.d/3574.miscellaneous.md b/doc/changelog.d/3574.miscellaneous.md deleted file mode 100644 index 6f733033c0..0000000000 --- a/doc/changelog.d/3574.miscellaneous.md +++ /dev/null @@ -1 +0,0 @@ -feat: adding-mode-warning \ No newline at end of file diff --git a/doc/changelog.d/3575.miscellaneous.md b/doc/changelog.d/3575.miscellaneous.md deleted file mode 100644 index 085b441ea2..0000000000 --- a/doc/changelog.d/3575.miscellaneous.md +++ /dev/null @@ -1 +0,0 @@ -feat: running MPI fix only if on windows \ No newline at end of file diff --git a/doc/changelog.d/3576.miscellaneous.md b/doc/changelog.d/3576.miscellaneous.md deleted file mode 100644 index baf1ad34eb..0000000000 --- a/doc/changelog.d/3576.miscellaneous.md +++ /dev/null @@ -1 +0,0 @@ -feat: adding ``check_has_mapdl`` \ No newline at end of file diff --git a/doc/changelog.d/3577.added.md b/doc/changelog.d/3577.added.md deleted file mode 100644 index 5299553dfa..0000000000 --- a/doc/changelog.d/3577.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: small improvements to test settings \ No newline at end of file diff --git a/doc/changelog.d/3580.documentation.md b/doc/changelog.d/3580.documentation.md deleted file mode 100644 index 50f8ff2ab4..0000000000 --- a/doc/changelog.d/3580.documentation.md +++ /dev/null @@ -1 +0,0 @@ -docs: update docker instructions \ No newline at end of file diff --git a/doc/changelog.d/3582.fixed.md b/doc/changelog.d/3582.fixed.md deleted file mode 100644 index d6c82a7222..0000000000 --- a/doc/changelog.d/3582.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: components typo \ No newline at end of file diff --git a/doc/changelog.d/3583.fixed.md b/doc/changelog.d/3583.fixed.md deleted file mode 100644 index d1045f4138..0000000000 --- a/doc/changelog.d/3583.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: avoiding long names in test arguments \ No newline at end of file diff --git a/doc/changelog.d/3584.documentation.md b/doc/changelog.d/3584.documentation.md deleted file mode 100644 index 0a948cb5e2..0000000000 --- a/doc/changelog.d/3584.documentation.md +++ /dev/null @@ -1 +0,0 @@ -docs: adding some info for getting multiple compose running \ No newline at end of file diff --git a/doc/changelog.d/3585.maintenance.md b/doc/changelog.d/3585.maintenance.md deleted file mode 100644 index d1dc9b079a..0000000000 --- a/doc/changelog.d/3585.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -ci: adding codeql.yml \ No newline at end of file diff --git a/doc/changelog.d/3586.fixed.md b/doc/changelog.d/3586.fixed.md deleted file mode 100644 index 5f65a76fb7..0000000000 --- a/doc/changelog.d/3586.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: console launching \ No newline at end of file diff --git a/doc/changelog.d/3589.fixed.md b/doc/changelog.d/3589.fixed.md deleted file mode 100644 index bc7f39a54b..0000000000 --- a/doc/changelog.d/3589.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: linkchecker and cheatsheet links \ No newline at end of file diff --git a/doc/changelog.d/3590.miscellaneous.md b/doc/changelog.d/3590.miscellaneous.md deleted file mode 100644 index 913c469727..0000000000 --- a/doc/changelog.d/3590.miscellaneous.md +++ /dev/null @@ -1 +0,0 @@ -feat: improving load_array to reduce format line length \ No newline at end of file diff --git a/doc/changelog.d/3593.dependencies.md b/doc/changelog.d/3593.dependencies.md deleted file mode 100644 index 89ae38f55a..0000000000 --- a/doc/changelog.d/3593.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump imageio from 2.36.0 to 2.36.1 in the documentation group \ No newline at end of file diff --git a/doc/changelog.d/3594.maintenance.md b/doc/changelog.d/3594.maintenance.md deleted file mode 100644 index 3784e19adf..0000000000 --- a/doc/changelog.d/3594.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -feat: activate debug mode on testing using `PYMAPDL_DEBUG_TESTING` envvar \ No newline at end of file diff --git a/doc/changelog.d/3596.miscellaneous.md b/doc/changelog.d/3596.miscellaneous.md deleted file mode 100644 index c39f8cea4f..0000000000 --- a/doc/changelog.d/3596.miscellaneous.md +++ /dev/null @@ -1 +0,0 @@ -feat: redirect MAPDL console output to a file \ No newline at end of file diff --git a/doc/changelog.d/3599.maintenance.md b/doc/changelog.d/3599.maintenance.md deleted file mode 100644 index 23264207b9..0000000000 --- a/doc/changelog.d/3599.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -ci: pre-commit autoupdate \ No newline at end of file diff --git a/doc/changelog.d/3601.dependencies.md b/doc/changelog.d/3601.dependencies.md deleted file mode 100644 index 805682d25f..0000000000 --- a/doc/changelog.d/3601.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump grpcio from 1.68.0 to 1.68.1 in the grpc-deps group \ No newline at end of file diff --git a/doc/changelog.d/3603.dependencies.md b/doc/changelog.d/3603.dependencies.md deleted file mode 100644 index 0bd643879e..0000000000 --- a/doc/changelog.d/3603.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump pytest from 8.3.3 to 8.3.4 in the testing group \ No newline at end of file diff --git a/doc/changelog.d/3604.dependencies.md b/doc/changelog.d/3604.dependencies.md deleted file mode 100644 index 9eccbc1776..0000000000 --- a/doc/changelog.d/3604.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump pyfakefs from 5.7.1 to 5.7.2 \ No newline at end of file diff --git a/doc/changelog.d/3606.miscellaneous.md b/doc/changelog.d/3606.miscellaneous.md deleted file mode 100644 index 0828ccb275..0000000000 --- a/doc/changelog.d/3606.miscellaneous.md +++ /dev/null @@ -1 +0,0 @@ -feat: avoid errors when retrieving invalid routine \ No newline at end of file diff --git a/doc/changelog.d/3608.fixed.md b/doc/changelog.d/3608.fixed.md deleted file mode 100644 index 46f20d76a2..0000000000 --- a/doc/changelog.d/3608.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: avoid verbose grpc interface when solving \ No newline at end of file diff --git a/doc/changelog.d/3612.dependencies.md b/doc/changelog.d/3612.dependencies.md deleted file mode 100644 index edc45240df..0000000000 --- a/doc/changelog.d/3612.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump the core group across 1 directory with 3 updates \ No newline at end of file diff --git a/doc/changelog.d/3617.fixed.md b/doc/changelog.d/3617.fixed.md deleted file mode 100644 index 5b665a9eb3..0000000000 --- a/doc/changelog.d/3617.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: exit getting frozen if routine is not finished \ No newline at end of file diff --git a/doc/changelog.d/3619.maintenance.md b/doc/changelog.d/3619.maintenance.md deleted file mode 100644 index a899238b0a..0000000000 --- a/doc/changelog.d/3619.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -build: bump numpy from 2.1.3 to 2.2.0 in the minimal group \ No newline at end of file diff --git a/doc/changelog.d/3621.added.md b/doc/changelog.d/3621.added.md deleted file mode 100644 index b730a79cb4..0000000000 --- a/doc/changelog.d/3621.added.md +++ /dev/null @@ -1 +0,0 @@ -tests: adding timeout to each test \ No newline at end of file diff --git a/doc/changelog.d/3623.maintenance.md b/doc/changelog.d/3623.maintenance.md deleted file mode 100644 index f7b1bf3cdf..0000000000 --- a/doc/changelog.d/3623.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -ci: adding student back \ No newline at end of file diff --git a/doc/changelog.d/3624.maintenance.md b/doc/changelog.d/3624.maintenance.md deleted file mode 100644 index ab1824ea28..0000000000 --- a/doc/changelog.d/3624.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -ci: temporary skipping attrs license check \ No newline at end of file diff --git a/doc/changelog.d/3626.dependencies.md b/doc/changelog.d/3626.dependencies.md deleted file mode 100644 index 4461dd967c..0000000000 --- a/doc/changelog.d/3626.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -ci: adding ubuntu 251 and 252 \ No newline at end of file diff --git a/doc/changelog.d/3630.dependencies.md b/doc/changelog.d/3630.dependencies.md deleted file mode 100644 index c5144c76c7..0000000000 --- a/doc/changelog.d/3630.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump pyfakefs from 5.7.2 to 5.7.3 \ No newline at end of file diff --git a/doc/changelog.d/3631.added.md b/doc/changelog.d/3631.added.md deleted file mode 100644 index 58c163cb3c..0000000000 --- a/doc/changelog.d/3631.added.md +++ /dev/null @@ -1 +0,0 @@ -refactor: Iterate over the dictionary directly instead of using .keys(). \ No newline at end of file diff --git a/doc/changelog.d/3632.maintenance.md b/doc/changelog.d/3632.maintenance.md deleted file mode 100644 index 41dcf4e505..0000000000 --- a/doc/changelog.d/3632.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -build: bump the minimal group across 1 directory with 2 updates \ No newline at end of file diff --git a/doc/changelog.d/3633.dependencies.md b/doc/changelog.d/3633.dependencies.md deleted file mode 100644 index edc45240df..0000000000 --- a/doc/changelog.d/3633.dependencies.md +++ /dev/null @@ -1 +0,0 @@ -build: bump the core group across 1 directory with 3 updates \ No newline at end of file diff --git a/doc/changelog.d/3637.documentation.md b/doc/changelog.d/3637.documentation.md deleted file mode 100644 index b29848ccb0..0000000000 --- a/doc/changelog.d/3637.documentation.md +++ /dev/null @@ -1 +0,0 @@ -feat: update copyright year \ No newline at end of file diff --git a/doc/changelog.d/3638.maintenance.md b/doc/changelog.d/3638.maintenance.md deleted file mode 100644 index c8234bd4d6..0000000000 --- a/doc/changelog.d/3638.maintenance.md +++ /dev/null @@ -1 +0,0 @@ -ci: fix safety issue \ No newline at end of file diff --git a/doc/changelog.d/3640.fixed.md b/doc/changelog.d/3640.fixed.md deleted file mode 100644 index 675de3185e..0000000000 --- a/doc/changelog.d/3640.fixed.md +++ /dev/null @@ -1 +0,0 @@ -fix: changelog \ No newline at end of file diff --git a/doc/changelog.d/3641.added.md b/doc/changelog.d/3641.added.md new file mode 100644 index 0000000000..401ec81a64 --- /dev/null +++ b/doc/changelog.d/3641.added.md @@ -0,0 +1 @@ +chore: update CHANGELOG for v0.69.0 \ No newline at end of file diff --git a/doc/source/changelog.rst b/doc/source/changelog.rst index c814e6df83..fe56e77b5d 100644 --- a/doc/source/changelog.rst +++ b/doc/source/changelog.rst @@ -9,6 +9,170 @@ This document contains the release notes for the project. .. towncrier release notes start +`0.69.0 `_ - 2025-01-08 +============================================================================== + +Added +^^^^^ + +- test: skip test `#3259 `_ +- refactor: modifying ``subprocess`` calls and removing ``try except continue`` statements `#3474 `_ +- refactor: launch_mapdl `#3475 `_ +- chore: update CHANGELOG for v0.68.6 `#3479 `_ +- refactor: `__init__` file `#3490 `_ +- refactor: moving information class to another module `#3491 `_ +- test: check all commands are submitted `#3501 `_ +- test: faking-v150 `#3509 `_ +- refactor: externalise the 'report' features to another file `#3511 `_ +- refactor: simplifying directory setter property `#3517 `_ +- refactor: testing suite (random order) `#3519 `_ +- refactor: moving tests to classes to avoid repeated fixtures execution `#3523 `_ +- refactor: using test classes in test_inline tests `#3524 `_ +- chore: fix codecov.yml content `#3542 `_ +- refactor: adding logging calls to misc.py `#3550 `_ +- refactor: removing-`run_as_prep7`-in-favour-of-`run_as` `#3551 `_ +- refactor: adding-type-ints-to-misc `#3553 `_ +- test: adding test for start_timeout arg `#3554 `_ +- refactor: increase post module coverage `#3556 `_ +- refactor: using find_mapdl instead of find_ansys `#3560 `_ +- refactor: annotate pymapdl part 1 `#3569 `_ +- refactor: replace `get_ansys_path` with `get_mapdl_path` `#3573 `_ +- refactor: small improvements to test settings `#3577 `_ +- tests: adding timeout to each test `#3621 `_ +- refactor: Iterate over the dictionary directly instead of using .keys(). `#3631 `_ + + +Changed +^^^^^^^ + +- chore: update CHANGELOG for v0.68.2 `#3183 `_ +- ci: Use CICD only on ``v*`` tags. `#3186 `_ +- ci: checking documentation style in ``Examples`` directory too `#3191 `_ +- chore: update CHANGELOG for v0.68.3 `#3201 `_ +- ci: Update julia testing `#3211 `_ +- ci: improving if to match also schedule and workflow_dispatch `#3223 `_ +- docs: documenting new naming conventions for commits, branches and PRs. `#3228 `_ +- ci: Using a dynamically generated matrix for testing job setup `#3232 `_ +- ci: increase the files checked for changes before load docs cache `#3237 `_ +- build: bump certifi from 2024.2.2 to 2024.7.4 in /doc/source/examples/extended_examples/hpc `#3242 `_ + + +Fixed +^^^^^ + +- fix: using same labels everywhere `#3188 `_ +- ci: Fix missing labels format in dependabot file `#3204 `_ +- ci: wrong tagging on the coverage artifacts `#3225 `_ +- fix: avoid inspecting suspended processes `#3227 `_ +- fix: not deleting temporary file when ``remove_temp_dir_on_exit`` =True `#3247 `_ +- fix: local tests always running as student `#3251 `_ +- fix: incorrect env vars section `#3252 `_ +- fix: raising port busy when connecting `#3507 `_ +- fix: logo link `#3525 `_ +- fix: checking port on non-grpc mapdl instances `#3540 `_ +- fix: warning and add an exception if using class alone `#3552 `_ +- fix: gui-extended-example `#3555 `_ +- fix: python version warning `#3570 `_ +- fix: components typo `#3582 `_ +- fix: avoiding long names in test arguments `#3583 `_ +- fix: console launching `#3586 `_ +- fix: linkchecker and cheatsheet links `#3589 `_ +- fix: avoid verbose grpc interface when solving `#3608 `_ +- fix: exit getting frozen if routine is not finished `#3617 `_ +- fix: changelog `#3640 `_ + + +Dependencies +^^^^^^^^^^^^ + +- build: bump pyvista[trame] from 0.43.9 to 0.43.10 `#3194 `_ +- build: bump the minimal group across 1 directory with 2 updates `#3197 `_ +- build: bump importlib-metadata from 7.2.0 to 7.2.1 in the minimal group `#3212 `_ +- build: bump scipy from 1.13.1 to 1.14.0 in the core group `#3213 `_ +- build: bump the documentation group with 2 updates `#3214 `_, `#3495 `_ +- build: bump autopep8 from 2.3.0 to 2.3.1 in the testing group `#3215 `_ +- build: update requirements in devcontainer directory `#3217 `_ +- build: removing reredirect sphinx extension `#3224 `_ +- build: bump importlib-metadata from 7.2.1 to 8.0.0 in the minimal group `#3229 `_ +- build: bump the core group with 2 updates `#3241 `_, `#3515 `_, `#3534 `_, `#3566 `_ +- build: update ansys-api-mapdl to 0.5.2 `#3255 `_ +- build: bump grpcio from 1.66.2 to 1.67.0 in the grpc-deps group `#3493 `_ +- build: bump ansys-sphinx-theme from 1.1.2 to 1.1.5 in the core group `#3494 `_ +- build: bump ansys-sphinx-theme from 1.1.2 to 1.1.6 in the core group across 1 directory `#3496 `_ +- build: bump pyansys-tools-report from 0.8.0 to 0.8.1 in the testing group `#3516 `_ +- build: bump grpcio from 1.67.0 to 1.67.1 in the grpc-deps group `#3533 `_ +- build: bump pytest-cov from 5.0.0 to 6.0.0 in the testing group `#3535 `_ +- build: bump ansys-sphinx-theme from 1.2.0 to 1.2.1 in the core group `#3547 `_ +- build: bump grpcio from 1.67.1 to 1.68.0 in the grpc-deps group `#3565 `_ +- build: bump pytest-rerunfailures from 14.0 to 15.0 in the testing group `#3567 `_ +- build: bump imageio from 2.36.0 to 2.36.1 in the documentation group `#3593 `_ +- build: bump grpcio from 1.68.0 to 1.68.1 in the grpc-deps group `#3601 `_ +- build: bump pytest from 8.3.3 to 8.3.4 in the testing group `#3603 `_ +- build: bump pyfakefs from 5.7.1 to 5.7.2 `#3604 `_ +- build: bump the core group across 1 directory with 3 updates `#3612 `_, `#3633 `_ +- ci: adding ubuntu 251 and 252 `#3626 `_ +- build: bump pyfakefs from 5.7.2 to 5.7.3 `#3630 `_ + + +Miscellaneous +^^^^^^^^^^^^^ + +- ci: [pre-commit.ci] pre-commit autoupdate `#3206 `_ +- ci: Adding v251 CentOS based image to testing `#3210 `_ +- [pre-commit.ci] pre-commit autoupdate `#3238 `_, `#3253 `_ +- feat: refactoring `create_temp_dir` `#3239 `_ +- docs: adapt static images to dark/light themes `#3249 `_ +- feat: adding 'pymapdl_nproc' to non-slurm runs `#3487 `_ +- feat: using version instead of exec_path for the MPI checks `#3528 `_ +- feat: raising error if plot image cannot be obtained `#3559 `_ +- feat: supporting v25.1 and v25.2 `#3571 `_ +- feat: adding-mode-warning `#3574 `_ +- feat: running MPI fix only if on windows `#3575 `_ +- feat: adding ``check_has_mapdl`` `#3576 `_ +- feat: improving load_array to reduce format line length `#3590 `_ +- feat: redirect MAPDL console output to a file `#3596 `_ +- feat: avoid errors when retrieving invalid routine `#3606 `_ + + +Documentation +^^^^^^^^^^^^^ + +- docs: documenting using pymapdl on clusters `#3466 `_ +- ci: avoiding linkcheck on changelog page `#3488 `_ +- feat: support for launching an MAPDL instance in an SLURM HPC cluster `#3497 `_ +- feat: passing tight integration env vars to mapdl `#3500 `_ +- docs: review of documenting using pymapdl on clusters (#3466) `#3506 `_ +- docs: adding-sbatch-support `#3513 `_ +- docs: removing extra links from landing page. `#3526 `_ +- DOC: Update pymapdl.rst `#3527 `_ +- [maint] remove importlib-metadata requirement `#3546 `_ +- docs: extracting information to another rst file `#3549 `_ +- docs: updating compatible Python versions `#3572 `_ +- docs: update docker instructions `#3580 `_ +- docs: adding some info for getting multiple compose running `#3584 `_ +- feat: update copyright year `#3637 `_ + + +Maintenance +^^^^^^^^^^^ + +- ci: bump thollander/actions-comment-pull-request from 2 to 3 in the actions group `#3481 `_ +- ci: pre-commit autoupdate `#3482 `_, `#3522 `_, `#3545 `_, `#3599 `_ +- ci: force coloring in pytest `#3484 `_ +- build: bump psutil from 6.0.0 to 6.1.0 in the minimal group `#3492 `_ +- ci: ``ansys/actions/check-vulnerabilities`` to CI-CD `#3505 `_ +- ci: bump actions/checkout from 4.2.1 to 4.2.2 in the actions group `#3521 `_ +- build: bump numpy from 2.1.2 to 2.1.3 in the minimal group `#3541 `_ +- ci: bump codecov/codecov-action from 4 to 5 in the actions group `#3557 `_ +- ci: skipping student versions when user is authenticated `#3564 `_ +- ci: adding codeql.yml `#3585 `_ +- feat: activate debug mode on testing using `PYMAPDL_DEBUG_TESTING` envvar `#3594 `_ +- build: bump numpy from 2.1.3 to 2.2.0 in the minimal group `#3619 `_ +- ci: adding student back `#3623 `_ +- ci: temporary skipping attrs license check `#3624 `_ +- build: bump the minimal group across 1 directory with 2 updates `#3632 `_ +- ci: fix safety issue `#3638 `_ + `0.68.6 `_ - 2024-10-11 ============================================================================== From a7d4359441ddb9189558480d995e05948fb4dff1 Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Wed, 8 Jan 2025 15:27:10 +0100 Subject: [PATCH 3/3] fix: timeout for file checking (#3642) * fix: increase timeout for checking output file * feat: implement global defaults OS dependent. * feat: adding logging * fix: increase timeout for checking output file * feat: implement global defaults OS dependent. * feat: adding logging * chore: adding changelog file 3642.fixed.md [dependabot-skip] * fix: wrong variable * tests: adding tests * ci: not hiding log --------- Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> --- .github/workflows/ci.yml | 2 + doc/changelog.d/3642.fixed.md | 1 + src/ansys/mapdl/core/mapdl_core.py | 1 + src/ansys/mapdl/core/mapdl_grpc.py | 71 +++++++++++++++++++++--------- tests/test_grpc.py | 30 +++++++++++++ 5 files changed, 83 insertions(+), 22 deletions(-) create mode 100644 doc/changelog.d/3642.fixed.md diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90ecdf738f..9f5c9b0d5f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -151,6 +151,8 @@ jobs: python-package-name: ${{ env.PACKAGE_NAME }} dev-mode: ${{ github.ref != 'refs/heads/main' }} upload-reports: True + hide-log: false + docs-build: name: "Build documentation" diff --git a/doc/changelog.d/3642.fixed.md b/doc/changelog.d/3642.fixed.md new file mode 100644 index 0000000000..526ce0df6e --- /dev/null +++ b/doc/changelog.d/3642.fixed.md @@ -0,0 +1 @@ +fix: timeout for file checking \ No newline at end of file diff --git a/src/ansys/mapdl/core/mapdl_core.py b/src/ansys/mapdl/core/mapdl_core.py index ff50e89414..94626cf9c3 100644 --- a/src/ansys/mapdl/core/mapdl_core.py +++ b/src/ansys/mapdl/core/mapdl_core.py @@ -2919,6 +2919,7 @@ def _check_mapdl_os(self): self._platform = "windows" else: # pragma: no cover raise MapdlRuntimeError("Unknown platform: {}".format(platform)) + self.logger.debug(f"MAPDL is running on {self._platform} OS.") def _check_on_docker(self): """Check if MAPDL is running on docker.""" diff --git a/src/ansys/mapdl/core/mapdl_grpc.py b/src/ansys/mapdl/core/mapdl_grpc.py index c8682296b4..8f44fe4a66 100644 --- a/src/ansys/mapdl/core/mapdl_grpc.py +++ b/src/ansys/mapdl/core/mapdl_grpc.py @@ -119,6 +119,10 @@ SESSION_ID_NAME = "__PYMAPDL_SESSION_ID__" +DEFAULT_TIME_STEP_STREAM = None +DEFAULT_TIME_STEP_STREAM_NT = 500 +DEFAULT_TIME_STEP_STREAM_POSIX = 100 + # Retry policy for gRPC calls. SERVICE_DEFAULT_CONFIG = { # see https://github.com/grpc/proposal/blob/master/A6-client-retries.md#retry-policy-capabilities @@ -1069,7 +1073,8 @@ def _send_command(self, cmd: str, mute: bool = False) -> Optional[str]: def _send_command_stream(self, cmd, verbose=False) -> str: """Send a command and expect a streaming response""" request = pb_types.CmdRequest(command=cmd) - metadata = [("time_step_stream", "100")] + time_step = self._get_time_step_stream() + metadata = [("time_step_stream", str(time_step))] stream = self._stub.SendCommandS(request, metadata=metadata) response = [] for item in stream: @@ -1775,13 +1780,14 @@ def input( execution time. Due to stability issues, the default time_step_stream is - dependent on verbosity. The defaults are: + dependent on the OS MAPDL is running on. The defaults are: - - ``verbose=True``: ``time_step_stream=500`` - - ``verbose=False``: ``time_step_stream=50`` + - Windows: ``time_step_stream=500`` + - Linux: ``time_step_stream=100`` These defaults will be ignored if ``time_step_stream`` is - manually set. + manually set. See the *Examples* section to learn how to change + the default value globally. orig_cmd : str, optional Original command. There are some cases, were input is @@ -1831,6 +1837,11 @@ def input( >>> with mapdl.non_interactive: mapdl.run("/input,inputtrigger,inp") # This inputs 'myinput.inp' + You can also change them globably using: + + >>> from ansys.mapdl.core import mapdl_grpc + >>> mapdl_grpc.DEFAULT_TIME_STEP_STREAM=100 # in milliseconds + """ # Checking compatibility # Checking the user is not reusing old api: @@ -1911,18 +1922,14 @@ def input( # are unclear filename = self._get_file_path(fname, progress_bar) - if time_step_stream is not None: - if time_step_stream <= 0: - raise ValueError("``time_step_stream`` must be greater than 0``") + time_step_stream = self._get_time_step_stream(time_step_stream) - if verbose: - if time_step_stream is None: - time_step_stream = 500 - metadata = [ - ("time_step_stream", str(time_step_stream)), - ("chunk_size", str(chunk_size)), - ] + metadata = [ + ("time_step_stream", str(time_step_stream)), + ("chunk_size", str(chunk_size)), + ] + if verbose: request = pb_types.InputFileRequest(filename=filename) strouts = self._stub.InputFileS(request, metadata=metadata) responses = [] @@ -1934,13 +1941,8 @@ def input( response = "\n".join(responses) return response.strip() - # otherwise, not verbose - if time_step_stream is None: - time_step_stream = 50 - metadata = [ - ("time_step_stream", str(time_step_stream)), - ("chunk_size", str(chunk_size)), - ] + ## + # Otherwise, not verbose # since we can't directly run /INPUT, we have to write a # temporary input file that tells MAPDL to read the input @@ -2014,6 +2016,31 @@ def input( return output + def _get_time_step_stream( + self, time_step: Optional[Union[int, float]] = None + ) -> str: + """Return the time step for checking if MAPDL is done writing the + output to the file which later will be returned as response + """ + if time_step is None: + if DEFAULT_TIME_STEP_STREAM is not None: + time_step = DEFAULT_TIME_STEP_STREAM + elif self.platform == "windows": + time_step = DEFAULT_TIME_STEP_STREAM_NT + elif self.platform == "linux": + time_step = DEFAULT_TIME_STEP_STREAM_POSIX + else: + raise ValueError( + f"The MAPDL platform ('{self.platform}') is not recognaised." + ) + + else: + if time_step <= 0: + raise ValueError("``time_step`` argument must be greater than 0``") + + self.logger.debug(f"The time_step argument is set to: {time_step}") + return time_step + def _get_file_path(self, fname: str, progress_bar: bool = False) -> str: """Find files in the Python and MAPDL working directories. diff --git a/tests/test_grpc.py b/tests/test_grpc.py index 808de4afab..6d0aaf6fc2 100644 --- a/tests/test_grpc.py +++ b/tests/test_grpc.py @@ -25,6 +25,7 @@ import re import shutil import sys +from unittest.mock import patch import grpc import pytest @@ -682,3 +683,32 @@ def _null_close_process(): mapdl.prep7(mapdl) mapdl._exited = False # Restoring + + +@pytest.mark.parametrize("platform", ["linux", "windows", "error"]) +def test__get_time_step_stream(mapdl, platform): + with patch("ansys.mapdl.core.mapdl_grpc.MapdlGrpc.platform", platform): + from ansys.mapdl.core import mapdl_grpc + + if platform == "linux": + DEFAULT_TIME_STEP_STREAM = mapdl_grpc.DEFAULT_TIME_STEP_STREAM_POSIX + elif platform == "windows": + DEFAULT_TIME_STEP_STREAM = mapdl_grpc.DEFAULT_TIME_STEP_STREAM_NT + else: + with pytest.raises(ValueError, match="The MAPDL platform"): + mapdl._get_time_step_stream() + + return # Early exit + + assert DEFAULT_TIME_STEP_STREAM == mapdl._get_time_step_stream() + + mapdl_grpc.DEFAULT_TIME_STEP_STREAM = 200 + assert mapdl_grpc.DEFAULT_TIME_STEP_STREAM == mapdl._get_time_step_stream() + mapdl_grpc.DEFAULT_TIME_STEP_STREAM = None + + assert 700 == mapdl._get_time_step_stream(700) + + with pytest.raises( + ValueError, match="``time_step`` argument must be greater than 0``" + ): + mapdl._get_time_step_stream(-700)