diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f66cc9649bc..0126d1391c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,7 @@ env: PACKAGE_NAMESPACE: 'ansys.fluent.core' ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }} MAIN_PYTHON_VERSION: '3.9' + PYTHON_VERSION: '3.12' PYFLUENT_TIMEOUT_FORCE_EXIT: 30 PYFLUENT_LAUNCH_CONTAINER: 1 PYFLUENT_LOGGING: 'DEBUG' @@ -49,7 +50,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.11 + python-version: ${{ env.PYTHON_VERSION }} - name: Install pre-commit run: python -m pip install pre-commit @@ -83,7 +84,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11', '3.12'] should-release: - ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }} exclude: @@ -110,7 +111,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: ${{ env.PYTHON_VERSION }} - name: Install OS packages run: | diff --git a/.github/workflows/doc-build-dev-nightly.yml b/.github/workflows/doc-build-dev-nightly.yml index aaa6715a7fc..c68028295ed 100644 --- a/.github/workflows/doc-build-dev-nightly.yml +++ b/.github/workflows/doc-build-dev-nightly.yml @@ -26,7 +26,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - name: Install OS packages run: | diff --git a/.github/workflows/doc-build-release.yml b/.github/workflows/doc-build-release.yml index 05af79369ce..45e03d61c51 100644 --- a/.github/workflows/doc-build-release.yml +++ b/.github/workflows/doc-build-release.yml @@ -28,7 +28,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - name: Install OS packages run: | diff --git a/.github/workflows/test-run-custom.yml b/.github/workflows/test-run-custom.yml index 232abe86094..f66e5ffc2e3 100644 --- a/.github/workflows/test-run-custom.yml +++ b/.github/workflows/test-run-custom.yml @@ -45,7 +45,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.11 - name: Cache pip uses: actions/cache@v4 diff --git a/README.rst b/README.rst index 12ec78fbc88..c057ffc2eab 100644 --- a/README.rst +++ b/README.rst @@ -67,7 +67,7 @@ To reach the project support team, email `pyansys.core@ansys.com `_ with: diff --git a/doc/source/getting_started/faqs.rst b/doc/source/getting_started/faqs.rst index bfe56c73d86..ce540df024d 100644 --- a/doc/source/getting_started/faqs.rst +++ b/doc/source/getting_started/faqs.rst @@ -144,7 +144,7 @@ all PyFluent packages in a Python *virtual environment*: Which version of Python should you use? --------------------------------------- -PyFluent supports Python 3.9 through Python 3.11 on Windows and Linux. Python +PyFluent supports Python 3.9 through Python 3.12 on Windows and Linux. Python 3.10 is shipped with Ansys 2023 R2 and later. For example, in a 2023 R2 Windows installation, the executable file Python 3.10 is typically located at: ``C:\Program Files\ANSYS Inc\v232\commonfiles\CPython\3_10\winx64\Release\python.exe``. diff --git a/doc/source/getting_started/installation.rst b/doc/source/getting_started/installation.rst index df86a05337d..81fa0a46b0c 100644 --- a/doc/source/getting_started/installation.rst +++ b/doc/source/getting_started/installation.rst @@ -5,7 +5,7 @@ Installation ============ The ``ansys-fluent-core`` package supports Python 3.9 through -Python 3.11 on Windows and Linux. +Python 3.12 on Windows and Linux. .. note:: This page provides information for quickly installing and launching diff --git a/pyproject.toml b/pyproject.toml index 3e13b5bf0b4..32ee0ebf33d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ beartype = "^0.17" docker = "^6.1.3" grpcio = "^1.30.0" grpcio-health-checking = "^1.30.0" -h5py = { version = "==3.10.0", optional = true } +h5py = { version = "==3.11.0", optional = true } lxml = "^4.9.2" numpy= "^1.21.5" pandas = "^2.0.3"