From 36a2937dc9cf0a05b0dd91bb97b3332f2b5bbe4e Mon Sep 17 00:00:00 2001 From: Samuel Lopez <85613111+Samuelopez-ansys@users.noreply.github.com> Date: Tue, 12 Nov 2024 15:46:05 +0100 Subject: [PATCH 01/13] Update 0.8.0dev (#180) --- src/ansys/aedt/toolkits/common/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/aedt/toolkits/common/__init__.py b/src/ansys/aedt/toolkits/common/__init__.py index 66caeb60..5479424f 100644 --- a/src/ansys/aedt/toolkits/common/__init__.py +++ b/src/ansys/aedt/toolkits/common/__init__.py @@ -26,4 +26,4 @@ ansys.aedt.toolkits.common """ -__version__ = "0.7.dev0" +__version__ = "0.8.dev0" From 3f9ac4d961ebc1056c72d0dcbd33024085e17c6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Morais?= <146729917+SMoraisAnsys@users.noreply.github.com> Date: Thu, 16 Jan 2025 08:56:04 +0100 Subject: [PATCH 02/13] BUILD: Update pydantic dependency range (#186) --- .github/workflows/ci_cd.yml | 10 +++++----- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 1355140d..62da14d9 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -193,35 +193,35 @@ jobs: - name: Test AEDT Common API timeout-minutes: 5 run: | - export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT242 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT242 }}/Delcross:$LD_LIBRARY_PATH + export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT242 }}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH source .venv_linux/bin/activate pytest -v -m aedt_common_api - name: Test Common API timeout-minutes: 5 run: | - export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT242 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT242 }}/Delcross:$LD_LIBRARY_PATH + export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT242 }}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH source .venv_linux/bin/activate pytest -v -m common_api - name: Test EDB API timeout-minutes: 5 run: | - export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT242 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT242 }}/Delcross:$LD_LIBRARY_PATH + export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT242 }}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH source .venv_linux/bin/activate pytest -v -m edb_api - name: Test REST API timeout-minutes: 5 run: | - export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT242 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT242 }}/Delcross:$LD_LIBRARY_PATH + export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT242 }}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH source .venv_linux/bin/activate pytest -v -m rest_api - name: Test utils timeout-minutes: 5 run: | - export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT242 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT242 }}/Delcross:$LD_LIBRARY_PATH + export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT242 }}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH source .venv_linux/bin/activate pytest -v -m utils diff --git a/pyproject.toml b/pyproject.toml index e2b1a53c..31becbf1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ dependencies = [ "build==1.2.2.post1", "twine==5.1.1", "pyaedt>=0.10.0,<0.12", - "pydantic", + "pydantic>=2.0,<2.9", "tomli; python_version < '3.12'", ] From 913150ba50a24a9d5242e90d8d35f69b42498c0e Mon Sep 17 00:00:00 2001 From: Samuel Lopez <85613111+Samuelopez-ansys@users.noreply.github.com> Date: Tue, 28 Jan 2025 11:31:46 +0100 Subject: [PATCH 03/13] Update pyaedt version (#197) --- .github/workflows/ci_cd.yml | 2 +- pyproject.toml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 62da14d9..46c36baa 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -165,7 +165,7 @@ jobs: runs-on: [self-hosted, pyaedt, toolkits, Linux] needs: [ smoke-tests ] env: - ANSYSEM_ROOT242: '/ansys_inc/AnsysEM/v242/Linux64' + ANSYSEM_ROOT242: '/opt/AnsysEM/v242/Linux64' ANS_NODEPCHECK: '1' steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 31becbf1..e80d00bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,14 +26,15 @@ classifiers = [ dependencies = [ "build==1.2.2.post1", "twine==5.1.1", - "pyaedt>=0.10.0,<0.12", + "pyaedt>=0.12.0,<0.14", "pydantic>=2.0,<2.9", "tomli; python_version < '3.12'", + "attrs<24.3.0" ] [project.optional-dependencies] all = [ - "pyaedt[all]>=0.10.0,<0.12", + "pyaedt[all]>=0.12.0,<0.14", "flask", "pyside6==6.7.3", "pyqtgraph", @@ -41,13 +42,13 @@ all = [ "pyvistaqt", ] tests = [ - "pyaedt[all]>=0.10.0,<0.12", + "pyaedt[all]>=0.12.0,<0.14", "flask", "pytest>=7.4.0,<8.4", "pytest-cov>=4.0.0,<6.1", ] doc = [ - "pyaedt[all]>=0.10.0,<0.12", + "pyaedt[all]>=0.12.0,<0.14", "recommonmark>=0.7.0,<0.8", "pyside6==6.7.3", "ansys-sphinx-theme>=0.10.0,<1.3", From 977092f8fcf7141ca9ab85d9a16db5e93184cbed Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 Jan 2025 12:30:56 +0100 Subject: [PATCH 04/13] MAINT: Bump twine from 5.1.1 to 6.1.0 (#198) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e80d00bd..26919e14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ classifiers = [ ] dependencies = [ "build==1.2.2.post1", - "twine==5.1.1", + "twine==6.1.0", "pyaedt>=0.12.0,<0.14", "pydantic>=2.0,<2.9", "tomli; python_version < '3.12'", From 02dc1d807f7b9f8478031bfca29f299d3898e163 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 Jan 2025 08:04:15 +0100 Subject: [PATCH 05/13] MAINT: Update ipython requirement from <8.30,>=8.13.0 to >=8.13.0,<8.32 (#190) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Samuel Lopez <85613111+Samuelopez-ansys@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 26919e14..a9609b4e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,7 @@ doc = [ "nbsphinx>=0.9.0,<0.10", "sphinx_design", "jupytext", - "ipython>=8.13.0,<8.30", + "ipython>=8.13.0,<8.32", "jupyterlab>=4.0.0,<4.4", "pypandoc>=1.10.0,<1.15", ] From ae4244a8ffb4093776c23993e6c611f7e46604b2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 Jan 2025 12:22:21 +0100 Subject: [PATCH 06/13] MAINT: Update pydantic requirement from <2.9,>=2.0 to >=2.0,<2.11 (#201) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a9609b4e..f162766c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ dependencies = [ "build==1.2.2.post1", "twine==6.1.0", "pyaedt>=0.12.0,<0.14", - "pydantic>=2.0,<2.9", + "pydantic>=2.0,<2.11", "tomli; python_version < '3.12'", "attrs<24.3.0" ] From dd5f08de98ee29d6e0554be8792d129c0bf9329f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 Jan 2025 12:22:40 +0100 Subject: [PATCH 07/13] MAINT: Update pypandoc requirement from <1.15,>=1.10.0 to >=1.10.0,<1.16 (#199) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f162766c..c71c37ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,7 +62,7 @@ doc = [ "jupytext", "ipython>=8.13.0,<8.32", "jupyterlab>=4.0.0,<4.4", - "pypandoc>=1.10.0,<1.15", + "pypandoc>=1.10.0,<1.16", ] [tool.flit.module] From 077abe17992a13fc2d89a299629993f3a48a6cad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Morais?= <146729917+SMoraisAnsys@users.noreply.github.com> Date: Thu, 30 Jan 2025 11:38:56 +0100 Subject: [PATCH 08/13] CHORE: Cover only toolkits common backend (#203) --- pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c71c37ff..26ff8e6f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,7 +87,11 @@ default_section = "THIRDPARTY" src_paths = ["doc", "src", "tests"] [tool.coverage.run] -source = ["ansys.aedt"] +source = ["ansys.aedt.toolkits.common"] +omit = [ + # Omit UI testing + "src/ansys/aedt/toolkits/common/ui/*", +] [tool.coverage.report] show_missing = true From 31dcd33e55cce5d7ee2e6cad2e9aedcccffef71d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 Jan 2025 14:30:04 +0100 Subject: [PATCH 09/13] MAINT: Bump codecov/codecov-action from 4 to 5 (#181) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Samuel Lopez <85613111+Samuelopez-ansys@users.noreply.github.com> Co-authored-by: Samuelopez-ansys --- .github/workflows/ci_cd.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 46c36baa..fb07a189 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -148,13 +148,11 @@ jobs: path: .cov/total-html name: html-total-coverage - - name: "Upload coverage report to codecov" - if: ${{ matrix.python-version == env.MAIN_PYTHON_VERSION }} - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: - file: .cov/total.xml - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + name: codecov-tests-windows + files: .cov/total.xml + flags: windows_tests tests_linux: name: "Linux Tests" From 6cf1876ff57687cb2a2bf42416cfa147636e3075 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 7 Feb 2025 09:54:26 +0100 Subject: [PATCH 10/13] MAINT: Update ansys-sphinx-theme requirement from <1.3,>=0.10.0 to >=0.10.0,<1.4 (#206) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 26ff8e6f..038aaa71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,7 @@ doc = [ "pyaedt[all]>=0.12.0,<0.14", "recommonmark>=0.7.0,<0.8", "pyside6==6.7.3", - "ansys-sphinx-theme>=0.10.0,<1.3", + "ansys-sphinx-theme>=0.10.0,<1.4", "numpydoc>=1.5.0,<1.9", "Sphinx>=7.1.0,<8.2", "sphinx-copybutton>=0.5.0,<0.6", From 7a8025c581dff407f3f3201be002b81f45e983f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 7 Feb 2025 15:44:48 +0100 Subject: [PATCH 11/13] MAINT: Bump pyside6 from 6.7.3 to 6.8.2.1 (#207) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 038aaa71..cff786a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,7 @@ dependencies = [ all = [ "pyaedt[all]>=0.12.0,<0.14", "flask", - "pyside6==6.7.3", + "pyside6==6.8.2.1", "pyqtgraph", "qdarkstyle", "pyvistaqt", @@ -50,7 +50,7 @@ tests = [ doc = [ "pyaedt[all]>=0.12.0,<0.14", "recommonmark>=0.7.0,<0.8", - "pyside6==6.7.3", + "pyside6==6.8.2.1", "ansys-sphinx-theme>=0.10.0,<1.4", "numpydoc>=1.5.0,<1.9", "Sphinx>=7.1.0,<8.2", From bcf8dab58dca495d2b374f9b1da1dc80ad3b59e2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 7 Feb 2025 15:33:31 +0000 Subject: [PATCH 12/13] MAINT: Update ipython requirement from <8.32,>=8.13.0 to >=8.13.0,<8.33 (#204) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Samuel Lopez <85613111+Samuelopez-ansys@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index cff786a5..f5422e3b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,7 @@ doc = [ "nbsphinx>=0.9.0,<0.10", "sphinx_design", "jupytext", - "ipython>=8.13.0,<8.32", + "ipython>=8.13.0,<8.33", "jupyterlab>=4.0.0,<4.4", "pypandoc>=1.10.0,<1.16", ] From cfb5751ad3a6b9e764b259124b67c6b4d4d494f8 Mon Sep 17 00:00:00 2001 From: Samuel Lopez <85613111+Samuelopez-ansys@users.noreply.github.com> Date: Fri, 7 Feb 2025 17:35:44 +0100 Subject: [PATCH 13/13] MAINT: Update license (#208) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sébastien Morais <146729917+SMoraisAnsys@users.noreply.github.com> --- LICENSE | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/LICENSE b/LICENSE index 69af3d3e..f719b3ee 100644 --- a/LICENSE +++ b/LICENSE @@ -1,13 +1,13 @@ MIT License -Copyright (c) 2023 ANSYS, Inc. All rights reserved. +Copyright (c) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +SOFTWARE. \ No newline at end of file