Skip to content

Commit

Permalink
build: Update support for python 3.12 (#2802)
Browse files Browse the repository at this point in the history
  • Loading branch information
prmukherj authored May 23, 2024
1 parent 4baf082 commit f25cd0f
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc-build-dev-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-run-custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ To reach the project support team, email `[email protected] <pyansys.core@a
Installation
------------
The ``ansys-fluent-core`` package supports Python 3.9 through Python
3.11 on Windows and Linux.
3.12 on Windows and Linux.

Install the latest release from `PyPI
<https://pypi.org/project/ansys-fluent-core/>`_ with:
Expand Down
2 changes: 1 addition & 1 deletion doc/source/getting_started/faqs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``.
Expand Down
2 changes: 1 addition & 1 deletion doc/source/getting_started/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f25cd0f

Please sign in to comment.