From fd1dcb6130d5649c5ccb34ab5d3809fe074865be Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 22 Aug 2024 08:17:28 +0000 Subject: [PATCH 01/15] CI: Bump ansys/actions from 6 to 7 (#140) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sébastien Morais <146729917+SMoraisAnsys@users.noreply.github.com> --- .github/workflows/ci_cd.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 5a6b21e7..a5caf13e 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -33,7 +33,7 @@ jobs: name: "Code style" runs-on: ubuntu-latest steps: - - uses: ansys/actions/code-style@v6 + - uses: ansys/actions/code-style@v7 with: python-version: ${{ env.MAIN_PYTHON_VERSION }} use-python-cache: false @@ -42,7 +42,7 @@ jobs: name: "Documentation style" runs-on: ubuntu-latest steps: - - uses: ansys/actions/doc-style@v6 + - uses: ansys/actions/doc-style@v7 with: token: ${{ secrets.GITHUB_TOKEN }} vale-version: "3.4.1" @@ -136,7 +136,7 @@ jobs: runs-on: ${{ matrix.os }} needs: [ code-style ] steps: - - uses: ansys/actions/build-wheelhouse@v6 + - uses: ansys/actions/build-wheelhouse@v7 with: library-name: ${{ env.LIBRARY_NAME }} operating-system: ${{ matrix.os }} @@ -297,7 +297,7 @@ jobs: runs-on: ubuntu-latest needs: [ doc-build, tests_windows, tests_linux ] steps: - - uses: ansys/actions/build-library@v6 + - uses: ansys/actions/build-library@v7 with: library-name: ${{ env.LIBRARY_NAME }} python-version: ${{ env.MAIN_PYTHON_VERSION }} @@ -314,13 +314,13 @@ jobs: contents: write steps: - name: "Release to the public PyPI repository" - uses: ansys/actions/release-pypi-public@v6 + uses: ansys/actions/release-pypi-public@v7 with: library-name: ${{ env.LIBRARY_NAME }} use-trusted-publisher: true - name: "Release to GitHub" - uses: ansys/actions/release-github@v6 + uses: ansys/actions/release-github@v7 with: library-name: ${{ env.LIBRARY_NAME }} @@ -330,7 +330,7 @@ jobs: needs: build-library if: github.event_name == 'push' steps: - - uses: ansys/actions/doc-deploy-dev@v6 + - uses: ansys/actions/doc-deploy-dev@v7 with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} @@ -342,7 +342,7 @@ jobs: needs: doc-deploy-dev steps: - name: "Deploy the latest documentation index" - uses: ansys/actions/doc-deploy-index@v6 + uses: ansys/actions/doc-deploy-index@v7 with: cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev index-name: pyaedt-toolkits-common-vdev @@ -356,7 +356,7 @@ jobs: needs: release if: github.event_name == 'push' && contains(github.ref, 'refs/tags') steps: - - uses: ansys/actions/doc-deploy-stable@v6 + - uses: ansys/actions/doc-deploy-stable@v7 with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} @@ -382,7 +382,7 @@ jobs: echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV - name: "Deploy the latest documentation index" - uses: ansys/actions/doc-deploy-index@v6 + uses: ansys/actions/doc-deploy-index@v7 with: cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }} index-name: pyaedt-toolkits-common-v${{ env.VERSION_MEILI }} From a4396f3cdd0259d7342969ceb99ea4220ab3f78a Mon Sep 17 00:00:00 2001 From: gmalinve <103059376+gmalinve@users.noreply.github.com> Date: Thu, 22 Aug 2024 11:52:56 +0200 Subject: [PATCH 02/15] CHORE: Bump version into v0.7.dev0 (#148) 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> --- 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 5cfb1297..66caeb60 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.6.dev0" +__version__ = "0.7.dev0" From c6da4bfe62b373b34eb876e9d7465ea995afba1d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 3 Oct 2024 07:54:22 +0200 Subject: [PATCH 03/15] MAINT: Update ipython requirement from <8.27,>=8.13.0 to >=8.13.0,<8.28 (#149) 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 f426b77a..7ce2b0f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,7 +59,7 @@ doc = [ "nbsphinx>=0.9.0,<0.10", "sphinx_design", "jupytext", - "ipython>=8.13.0,<8.27", + "ipython>=8.13.0,<8.28", "jupyterlab>=4.0.0,<4.3", "pypandoc>=1.10.0,<1.14", ] From 21abad10e357638184d6c5575b7eecf6ffa02d18 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 3 Oct 2024 07:54:50 +0200 Subject: [PATCH 04/15] MAINT: Bump build from 1.2.1 to 1.2.2 (#151) 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 7ce2b0f1..f42cd03a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ classifiers = [ "Operating System :: OS Independent", ] dependencies = [ - "build==1.2.1", + "build==1.2.2", "twine==5.1.1", "pyaedt>=0.8.0,<0.11", "pydantic", From c5b0d5dc4fc09419385e24619f34fb75950623b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Morais?= <146729917+SMoraisAnsys@users.noreply.github.com> Date: Thu, 3 Oct 2024 07:55:17 +0200 Subject: [PATCH 05/15] DOCS: Use new ansys sphinx theme (#147) --- doc/source/conf.py | 3 +-- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 35080824..ee52e001 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -31,7 +31,6 @@ from ansys_sphinx_theme import ansys_logo_white_cropped from ansys_sphinx_theme import get_version_match from ansys_sphinx_theme import latex -from ansys_sphinx_theme import pyansys_logo_black from ansys_sphinx_theme import watermark from sphinx.util import logging @@ -108,7 +107,6 @@ def setup(app): print(copyright) # Select desired logo, theme, and declare the html title -html_logo = pyansys_logo_black html_theme = "ansys_sphinx_theme" html_short_title = html_title = "ansys-aedt-toolkits-common" @@ -120,6 +118,7 @@ def setup(app): "doc_path": "doc/source", } html_theme_options = { + "logo": "pyansys", "switcher": { "json_url": f"https://{cname}/versions.json", "version_match": switcher_version, diff --git a/pyproject.toml b/pyproject.toml index f42cd03a..bd2995c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,9 +50,9 @@ doc = [ "pyaedt[all]>=0.8.0,<0.11", "recommonmark>=0.7.0,<0.8", "PySide6-Essentials", - "ansys-sphinx-theme>=0.10.0,<0.17", + "ansys-sphinx-theme>=0.10.0,<1.1", "numpydoc>=1.5.0,<1.9", - "Sphinx>=7.1.0,<7.4", + "Sphinx>=7.1.0,<8.1", "sphinx-copybutton>=0.5.0,<0.6", "sphinx-autobuild==2021.3.14; python_version == '3.8'", "sphinx-autobuild==2024.4.16; python_version > '3.8'", From f366506a9fb01d3cb6601206cc6e9465f96f308f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 3 Oct 2024 06:37:39 +0000 Subject: [PATCH 06/15] MAINT: Bump ansys/actions from 7 to 8 (#155) 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> --- .github/workflows/ci_cd.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index a5caf13e..463a8d82 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -33,7 +33,7 @@ jobs: name: "Code style" runs-on: ubuntu-latest steps: - - uses: ansys/actions/code-style@v7 + - uses: ansys/actions/code-style@v8 with: python-version: ${{ env.MAIN_PYTHON_VERSION }} use-python-cache: false @@ -42,7 +42,7 @@ jobs: name: "Documentation style" runs-on: ubuntu-latest steps: - - uses: ansys/actions/doc-style@v7 + - uses: ansys/actions/doc-style@v8 with: token: ${{ secrets.GITHUB_TOKEN }} vale-version: "3.4.1" @@ -136,7 +136,7 @@ jobs: runs-on: ${{ matrix.os }} needs: [ code-style ] steps: - - uses: ansys/actions/build-wheelhouse@v7 + - uses: ansys/actions/build-wheelhouse@v8 with: library-name: ${{ env.LIBRARY_NAME }} operating-system: ${{ matrix.os }} @@ -297,7 +297,7 @@ jobs: runs-on: ubuntu-latest needs: [ doc-build, tests_windows, tests_linux ] steps: - - uses: ansys/actions/build-library@v7 + - uses: ansys/actions/build-library@v8 with: library-name: ${{ env.LIBRARY_NAME }} python-version: ${{ env.MAIN_PYTHON_VERSION }} @@ -314,13 +314,13 @@ jobs: contents: write steps: - name: "Release to the public PyPI repository" - uses: ansys/actions/release-pypi-public@v7 + uses: ansys/actions/release-pypi-public@v8 with: library-name: ${{ env.LIBRARY_NAME }} use-trusted-publisher: true - name: "Release to GitHub" - uses: ansys/actions/release-github@v7 + uses: ansys/actions/release-github@v8 with: library-name: ${{ env.LIBRARY_NAME }} @@ -330,7 +330,7 @@ jobs: needs: build-library if: github.event_name == 'push' steps: - - uses: ansys/actions/doc-deploy-dev@v7 + - uses: ansys/actions/doc-deploy-dev@v8 with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} @@ -342,7 +342,7 @@ jobs: needs: doc-deploy-dev steps: - name: "Deploy the latest documentation index" - uses: ansys/actions/doc-deploy-index@v7 + uses: ansys/actions/doc-deploy-index@v8 with: cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev index-name: pyaedt-toolkits-common-vdev @@ -356,7 +356,7 @@ jobs: needs: release if: github.event_name == 'push' && contains(github.ref, 'refs/tags') steps: - - uses: ansys/actions/doc-deploy-stable@v7 + - uses: ansys/actions/doc-deploy-stable@v8 with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} @@ -382,7 +382,7 @@ jobs: echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV - name: "Deploy the latest documentation index" - uses: ansys/actions/doc-deploy-index@v7 + uses: ansys/actions/doc-deploy-index@v8 with: cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }} index-name: pyaedt-toolkits-common-v${{ env.VERSION_MEILI }} From 90d6e19b6a58fc54c508cf93426b77b289c3beac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 17:30:16 +0200 Subject: [PATCH 07/15] MAINT: Bump build from 1.2.2 to 1.2.2.post1 (#159) 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 bd2995c2..70dfc149 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ classifiers = [ "Operating System :: OS Independent", ] dependencies = [ - "build==1.2.2", + "build==1.2.2.post1", "twine==5.1.1", "pyaedt>=0.8.0,<0.11", "pydantic", From 8b3157391cca8c8aca6a70f6cf08e08cb3e53cbd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:12:18 +0200 Subject: [PATCH 08/15] MAINT: Update pypandoc requirement from <1.14,>=1.10.0 to >=1.10.0,<1.15 (#161) 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 70dfc149..b1da5224 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ doc = [ "jupytext", "ipython>=8.13.0,<8.28", "jupyterlab>=4.0.0,<4.3", - "pypandoc>=1.10.0,<1.14", + "pypandoc>=1.10.0,<1.15", ] [tool.flit.module] From 2f46d43d8442cc092eb2cbd4b805528e2ba7e0f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:12:42 +0200 Subject: [PATCH 09/15] MAINT: Update ipython requirement from <8.28,>=8.13.0 to >=8.13.0,<8.29 (#157) 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 b1da5224..2889b0a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,7 +59,7 @@ doc = [ "nbsphinx>=0.9.0,<0.10", "sphinx_design", "jupytext", - "ipython>=8.13.0,<8.28", + "ipython>=8.13.0,<8.29", "jupyterlab>=4.0.0,<4.3", "pypandoc>=1.10.0,<1.15", ] From d81bb4ac2e76178038a43fce9e08a44c52513f14 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:07:42 +0200 Subject: [PATCH 10/15] MAINT: Bump sphinx-autobuild from 2021.3.14 to 2024.10.3 (#156) 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 2889b0a3..5286c12a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,7 @@ doc = [ "Sphinx>=7.1.0,<8.1", "sphinx-copybutton>=0.5.0,<0.6", "sphinx-autobuild==2021.3.14; python_version == '3.8'", - "sphinx-autobuild==2024.4.16; python_version > '3.8'", + "sphinx-autobuild==2024.10.3; python_version > '3.8'", "nbsphinx>=0.9.0,<0.10", "sphinx_design", "jupytext", From 49d1c3355376675d11bcbda3dd74ed22be04b064 Mon Sep 17 00:00:00 2001 From: Samuel Lopez <85613111+Samuelopez-ansys@users.noreply.github.com> Date: Wed, 9 Oct 2024 17:05:49 +0200 Subject: [PATCH 11/15] FIX: AEDT Versions change in PyAEDT (#162) --- .github/workflows/ci_cd.yml | 4 ++-- CONTRIBUTORS.md | 2 +- pyproject.toml | 6 +++--- src/ansys/aedt/toolkits/common/backend/api.py | 13 ++++++++++++- 4 files changed, 18 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 463a8d82..e0b63165 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -342,7 +342,7 @@ jobs: needs: doc-deploy-dev steps: - name: "Deploy the latest documentation index" - uses: ansys/actions/doc-deploy-index@v8 + uses: ansys/actions/doc-deploy-index@v4 with: cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev index-name: pyaedt-toolkits-common-vdev @@ -382,7 +382,7 @@ jobs: echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV - name: "Deploy the latest documentation index" - uses: ansys/actions/doc-deploy-index@v8 + uses: ansys/actions/doc-deploy-index@v4 with: cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }} index-name: pyaedt-toolkits-common-v${{ env.VERSION_MEILI }} diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 7f96dc7f..8c949e65 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -8,4 +8,4 @@ * [Giulia Malinverno](https://github.com/gmalinve) * [Sébastien Morais](https://github.com/SMoraisAnsys) -* [Kathy Pippert](https://github.com/PipKat) \ No newline at end of file +* [Kathy Pippert](https://github.com/PipKat) diff --git a/pyproject.toml b/pyproject.toml index 5286c12a..21016a02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,14 +26,14 @@ classifiers = [ dependencies = [ "build==1.2.2.post1", "twine==5.1.1", - "pyaedt>=0.8.0,<0.11", + "pyaedt>=0.10.0,<0.12", "pydantic", "tomli; python_version < '3.12'", ] [project.optional-dependencies] all = [ - "pyaedt[all]>=0.8.0,<0.11", + "pyaedt[all]>=0.10.0,<0.12", "flask", "PySide6-Essentials", "pyqtgraph", @@ -47,7 +47,7 @@ tests = [ "pytest-cov>=4.0.0,<5.1", ] doc = [ - "pyaedt[all]>=0.8.0,<0.11", + "pyaedt[all]>=0.10.0,<0.12", "recommonmark>=0.7.0,<0.8", "PySide6-Essentials", "ansys-sphinx-theme>=0.10.0,<1.1", diff --git a/src/ansys/aedt/toolkits/common/backend/api.py b/src/ansys/aedt/toolkits/common/backend/api.py index 487ffaec..f6556c8d 100644 --- a/src/ansys/aedt/toolkits/common/backend/api.py +++ b/src/ansys/aedt/toolkits/common/backend/api.py @@ -35,6 +35,17 @@ from ansys.aedt.core import Desktop from ansys.aedt.core.generic.general_methods import active_sessions from ansys.aedt.core.misc import list_installed_ansysem + +if ansys.aedt.core.__version__ <= "0.11.0": + from ansys.aedt.core.misc import list_installed_ansysem + + list_installed_aedt = list_installed_ansysem() +else: + from ansys.aedt.core.generic.aedt_versions import aedt_versions + + list_installed_aedt = aedt_versions.list_installed_ansysem + + from pydantic import ValidationError from ansys.aedt.toolkits.common.backend.constants import NAME_TO_AEDT_APP @@ -219,7 +230,7 @@ def installed_aedt_version() -> List: # Detect existing AEDT installation installed_versions = [] - for ver in list_installed_ansysem(): + for ver in list_installed_aedt: if "ANSYSEMSV_ROOT" in ver: # pragma: no cover # Handle the special case installed_versions.append( From b15a177a2d1b170df639508ed6fcf168d0e8c0c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 08:03:27 +0200 Subject: [PATCH 12/15] MAINT: Bump ansys/actions from 4 to 8 (#166) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci_cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index e0b63165..463a8d82 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -342,7 +342,7 @@ jobs: needs: doc-deploy-dev steps: - name: "Deploy the latest documentation index" - uses: ansys/actions/doc-deploy-index@v4 + uses: ansys/actions/doc-deploy-index@v8 with: cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev index-name: pyaedt-toolkits-common-vdev @@ -382,7 +382,7 @@ jobs: echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV - name: "Deploy the latest documentation index" - uses: ansys/actions/doc-deploy-index@v4 + uses: ansys/actions/doc-deploy-index@v8 with: cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }} index-name: pyaedt-toolkits-common-v${{ env.VERSION_MEILI }} From d3abc3e1abf1aebfc335a856edc2b55d4524e458 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 06:36:14 +0000 Subject: [PATCH 13/15] MAINT: Update pyaedt[all] requirement from <0.11,>=0.8.0 to >=0.8.0,<0.12 (#165) 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 21016a02..30e997c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,7 @@ all = [ "pyvistaqt", ] tests = [ - "pyaedt[all]>=0.8.0,<0.11", + "pyaedt[all]>=0.10.0,<0.12", "flask", "pytest>=7.4.0,<8.4", "pytest-cov>=4.0.0,<5.1", From 8195a455fe80bcc6356b6a07a1539d1b8a15050c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Morais?= <146729917+SMoraisAnsys@users.noreply.github.com> Date: Fri, 11 Oct 2024 09:33:36 +0200 Subject: [PATCH 14/15] CI: Remove meilisearch jobs and fix deploy jobs (#168) --- .github/workflows/ci_cd.yml | 48 ++++--------------------------------- 1 file changed, 4 insertions(+), 44 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 463a8d82..2493eaf4 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -334,21 +334,8 @@ jobs: with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} - - doc-index-dev: - name: "Deploy development index documentation" - if: github.ref == 'refs/heads/main' - runs-on: ubuntu-latest - needs: doc-deploy-dev - steps: - - name: "Deploy the latest documentation index" - uses: ansys/actions/doc-deploy-index@v8 - with: - cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev - index-name: pyaedt-toolkits-common-vdev - host-url: ${{ env.MEILISEARCH_HOST_URL }} - api-key: ${{ env.MEILISEARCH_API_KEY }} - python-version: ${{ env.MAIN_PYTHON_VERSION }} + bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }} + bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }} doc-deploy-stable: name: "Deploy stable documentation" @@ -360,32 +347,5 @@ jobs: with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} - - doc-index-stable: - name: "Deploy stable documentation index" - runs-on: ubuntu-latest - needs: doc-deploy-stable - steps: - - name: "Install Git and clone project" - uses: actions/checkout@v4 - - - name: "Install the package requirements" - run: pip install -e . - - - name: "Get the version to PyMeilisearch" - run: | - VERSION=$(python -c "from ansys.aedt.toolkits.common import __version__; print('.'.join(__version__.split('.')[:2]))") - VERSION_MEILI=$(python -c "from ansys.aedt.toolkits.common import __version__; print('-'.join(__version__.split('.')[:2]))") - echo "Calculated VERSION: $VERSION" - echo "Calculated VERSION_MEILI: $VERSION_MEILI" - echo "VERSION=$VERSION" >> $GITHUB_ENV - echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV - - - name: "Deploy the latest documentation index" - uses: ansys/actions/doc-deploy-index@v8 - with: - cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }} - index-name: pyaedt-toolkits-common-v${{ env.VERSION_MEILI }} - host-url: ${{ env.MEILISEARCH_HOST_URL }} - api-key: ${{ env.MEILISEARCH_API_KEY }} - python-version: ${{ env.MAIN_PYTHON_VERSION }} + bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }} + bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }} \ No newline at end of file From 9d02b92a46389800f768987c349e4106c7fecc80 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 11:49:33 +0200 Subject: [PATCH 15/15] MAINT: Update sphinx requirement from <8.1,>=7.1.0 to >=7.1.0,<8.2 (#167) 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 30e997c0..bb15fe14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ doc = [ "PySide6-Essentials", "ansys-sphinx-theme>=0.10.0,<1.1", "numpydoc>=1.5.0,<1.9", - "Sphinx>=7.1.0,<8.1", + "Sphinx>=7.1.0,<8.2", "sphinx-copybutton>=0.5.0,<0.6", "sphinx-autobuild==2021.3.14; python_version == '3.8'", "sphinx-autobuild==2024.10.3; python_version > '3.8'",