From 8b07be30a4e76299529a606ecb14c5182cce15d4 Mon Sep 17 00:00:00 2001 From: Maxime Rey <87315832+MaxJPRey@users.noreply.github.com> Date: Wed, 8 Oct 2025 19:23:17 +0200 Subject: [PATCH 1/3] Update supported version --- src/ansys/tools/common/path/path.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/ansys/tools/common/path/path.py b/src/ansys/tools/common/path/path.py index 7c634124..d31db316 100644 --- a/src/ansys/tools/common/path/path.py +++ b/src/ansys/tools/common/path/path.py @@ -52,19 +52,6 @@ 251: "2025R1", 242: "2024R2", 241: "2024R1", - 232: "2023R2", - 231: "2023R1", - 222: "2022R2", - 221: "2022R1", - 212: "2021R2", - 211: "2021R1", - 202: "2020R2", - 201: "2020R1", - 195: "19.5", - 194: "19.4", - 193: "19.3", - 192: "19.2", - 191: "19.1", } PRODUCT_EXE_INFO = { From 4fafaed1edb7712038a90cd79be872c456a6226c Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Wed, 8 Oct 2025 17:26:08 +0000 Subject: [PATCH 2/3] chore: adding changelog file 38.added.md [dependabot-skip] --- doc/changelog.d/38.added.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/changelog.d/38.added.md diff --git a/doc/changelog.d/38.added.md b/doc/changelog.d/38.added.md new file mode 100644 index 00000000..b53cd4bf --- /dev/null +++ b/doc/changelog.d/38.added.md @@ -0,0 +1 @@ +Update supported version From 48df7248a58d24d2e6bdb602c5cd6770451e4633 Mon Sep 17 00:00:00 2001 From: Alex Fernandez Luces Date: Fri, 10 Oct 2025 09:53:14 +0200 Subject: [PATCH 3/3] fix: Add note instead of removing old versions --- doc/source/user_guide/index.rst | 6 ++++++ doc/source/user_guide/report.rst | 8 ++++---- doc/source/user_guide/versioning.rst | 4 ++-- pyproject.toml | 3 +-- src/ansys/tools/common/path/path.py | 13 +++++++++++++ 5 files changed, 26 insertions(+), 8 deletions(-) diff --git a/doc/source/user_guide/index.rst b/doc/source/user_guide/index.rst index d45daf67..2f634693 100644 --- a/doc/source/user_guide/index.rst +++ b/doc/source/user_guide/index.rst @@ -8,6 +8,12 @@ This section explains key concepts for implementing the Ansys tools common in yo You can use the Ansys tools common in your examples as well as integrate this library into your own code. +.. important:: + This library only supports the last two major versions of Python. Usage with older + versions might or might not work. + + + .. grid:: 1 2 2 2 .. grid-item-card:: Ansys tools path diff --git a/doc/source/user_guide/report.rst b/doc/source/user_guide/report.rst index cd35de10..10835bce 100644 --- a/doc/source/user_guide/report.rst +++ b/doc/source/user_guide/report.rst @@ -1,12 +1,12 @@ .. _ref_report: -User guide -========== +Ansys report tool +================== This section explains how to use ``pyansys-tools-report`` and its features. -Using PyAnsys Tools Report --------------------------- +Using PyAnsys report tool +------------------------- Once the ``pyansys-tools-report`` package is installed in your own personal environment (if not, please proceed to :ref:`ref_getting_started`), you can start importing the package and using it. diff --git a/doc/source/user_guide/versioning.rst b/doc/source/user_guide/versioning.rst index b24e8eec..144951f7 100644 --- a/doc/source/user_guide/versioning.rst +++ b/doc/source/user_guide/versioning.rst @@ -1,7 +1,7 @@ .. ref_versioning: -User guide -========== +Ansys versioning tool +===================== The fundamental object provided by ``ansys.tools.versioning`` is a decorator named :meth:`ansys.tools.versioning.requires_version` which accepts: diff --git a/pyproject.toml b/pyproject.toml index 5e6d76eb..d108e09d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,10 +55,9 @@ tests = [ ] doc = [ - "ansys-sphinx-theme==1.5.2", + "ansys-sphinx-theme[autoapi]==1.6.3", "grpcio==1.71.2", "grpcio-health-checking==1.71.2", - "sphinx-autoapi==3.6.0", "sphinx-click==4.4.0", "sphinx-copybutton==0.5.2", "sphinx_design==0.6.1", diff --git a/src/ansys/tools/common/path/path.py b/src/ansys/tools/common/path/path.py index d31db316..7c634124 100644 --- a/src/ansys/tools/common/path/path.py +++ b/src/ansys/tools/common/path/path.py @@ -52,6 +52,19 @@ 251: "2025R1", 242: "2024R2", 241: "2024R1", + 232: "2023R2", + 231: "2023R1", + 222: "2022R2", + 221: "2022R1", + 212: "2021R2", + 211: "2021R1", + 202: "2020R2", + 201: "2020R1", + 195: "19.5", + 194: "19.4", + 193: "19.3", + 192: "19.2", + 191: "19.1", } PRODUCT_EXE_INFO = {