diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index beb79964..a6a343c1 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -21,7 +21,7 @@ env: # It applies 7 days retention policy by default. RESET_EXAMPLES_CACHE: 0 ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }} - MAIN_PYTHON_VERSION: '3.9' + MAIN_PYTHON_VERSION: '3.10' PYFLUENT_TIMEOUT_FORCE_EXIT: 5 PYFLUENT_LAUNCH_CONTAINER: 1 @@ -51,7 +51,7 @@ jobs: strategy: matrix: os: [windows-latest, ubuntu-latest] - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12'] fail-fast: false steps: diff --git a/.github/workflows/nightly-doc-build.yml b/.github/workflows/nightly-doc-build.yml index fc821b06..badbf77c 100644 --- a/.github/workflows/nightly-doc-build.yml +++ b/.github/workflows/nightly-doc-build.yml @@ -7,7 +7,7 @@ on: env: DOCUMENTATION_CNAME: 'visualization.fluent.docs.pyansys.com' - MAIN_PYTHON_VERSION: '3.9' + MAIN_PYTHON_VERSION: '3.10' DOC_DEPLOYMENT_IMAGE_TAG: v24.2.0 ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }} PYFLUENT_TIMEOUT_FORCE_EXIT: 5 diff --git a/.github/workflows/nightly-test-run.yml b/.github/workflows/nightly-test-run.yml index 413043d7..3d835e14 100644 --- a/.github/workflows/nightly-test-run.yml +++ b/.github/workflows/nightly-test-run.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [windows-latest, ubuntu-latest] - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12'] fail-fast: false steps: diff --git a/README.rst b/README.rst index 1f85d4ea..f6624e0d 100644 --- a/README.rst +++ b/README.rst @@ -50,8 +50,8 @@ the project support team, email `pyansys.core@ansys.com Installation ------------ -The ``ansys-fluent-visualization`` package supports Python 3.9 through Python -3.11 on Windows and Linux. +The ``ansys-fluent-visualization`` package supports Python 3.10 through Python +3.12 on Windows and Linux. If you are using Python 3.10, download and install the wheel file for the ``vtk`` package from `here for Windows `_ diff --git a/doc/source/getting_started/index.rst b/doc/source/getting_started/index.rst index e9d40814..71c70788 100644 --- a/doc/source/getting_started/index.rst +++ b/doc/source/getting_started/index.rst @@ -13,8 +13,8 @@ page on the Ansys website. *************** Install package *************** -The ``ansys-fluent-visualization`` package supports Python 3.9 through -Python 3.11 on Windows and Linux. +The ``ansys-fluent-visualization`` package supports Python 3.10 through +Python 3.12 on Windows and Linux. Install the latest release from `PyPi `_ with: diff --git a/pyproject.toml b/pyproject.toml index 81915b80..5c371d32 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,9 +23,9 @@ packages = [ ] [tool.poetry.dependencies] -python = ">=3.9,<4.0" +python = ">=3.10,<4.0" importlib-metadata = {version = "^4.0", python = "<3.9"} -ansys-fluent-core = "~=0.23.dev0" +ansys-fluent-core = "~=0.25.dev1" vtk = ">=9.3.0.rc0" pyvista = ">=0.39.0" pyvistaqt = ">=0.7.0" diff --git a/src/ansys/fluent/visualization/matplotlib/matplot_windows_manager.py b/src/ansys/fluent/visualization/matplotlib/matplot_windows_manager.py index ec9b10ce..68b870bf 100644 --- a/src/ansys/fluent/visualization/matplotlib/matplot_windows_manager.py +++ b/src/ansys/fluent/visualization/matplotlib/matplot_windows_manager.py @@ -172,8 +172,8 @@ def __call__(self): """Draw a monitor plot.""" if not self.post_object: return - monitors_manager = self.post_object._api_helper.monitors_manager() - indices, columns_data = monitors_manager.get_monitor_set_data( + monitors = self.post_object._api_helper.monitors + indices, columns_data = monitors.get_monitor_set_data( self.post_object.monitor_set_name() ) xy_data = {} @@ -183,8 +183,8 @@ def __call__(self): properties = { "curves": list(xy_data.keys()), "title": monitor_set_name, - "xlabel": monitors_manager.get_monitor_set_prop(monitor_set_name, "xlabel"), - "ylabel": monitors_manager.get_monitor_set_prop(monitor_set_name, "ylabel"), + "xlabel": monitors.get_monitor_set_prop(monitor_set_name, "xlabel"), + "ylabel": monitors.get_monitor_set_prop(monitor_set_name, "ylabel"), "yscale": "log" if monitor_set_name == "residual" else "linear", }