From 9ab4288dd16d69c7d8cb8f0a4bc844b3b195ad42 Mon Sep 17 00:00:00 2001 From: Dipin <26918585+dipinknair@users.noreply.github.com> Date: Wed, 8 Jan 2025 09:49:36 -0600 Subject: [PATCH] CHORE: Support python 3.13 (#997) Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> --- .github/workflows/ci_cd.yml | 10 +++++----- doc/changelog.d/997.maintenance.md | 1 + doc/source/getting_started/installation.rst | 4 ++-- pyproject.toml | 3 +++ 4 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 doc/changelog.d/997.maintenance.md diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 54c0bb9c1..735a64271 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -35,7 +35,7 @@ env: DOCKER_MECH_CONTAINER_NAME: mechanical PACKAGE_NAME: ansys-mechanical-core DOCUMENTATION_CNAME: mechanical.docs.pyansys.com - MAIN_PYTHON_VERSION: '3.10' + MAIN_PYTHON_VERSION: '3.13' # DEV_REVN & its Docker image are used in scheduled or registry package runs STABLE_REVN: '242' DEV_REVN: '252' @@ -108,7 +108,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12', '3.13'] should-release: - ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }} exclude: @@ -294,7 +294,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 @@ -367,7 +367,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 @@ -437,7 +437,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 diff --git a/doc/changelog.d/997.maintenance.md b/doc/changelog.d/997.maintenance.md new file mode 100644 index 000000000..a4053eacd --- /dev/null +++ b/doc/changelog.d/997.maintenance.md @@ -0,0 +1 @@ +Support python 3.13 \ No newline at end of file diff --git a/doc/source/getting_started/installation.rst b/doc/source/getting_started/installation.rst index f7f9d2c57..c437d73aa 100644 --- a/doc/source/getting_started/installation.rst +++ b/doc/source/getting_started/installation.rst @@ -13,7 +13,7 @@ Install the package ------------------- The latest ``ansys.mechanical.core`` package supports Python 3.10 through -Python 3.12 on Windows, Linux, and Mac. +Python 3.13 on Windows, Linux, and Mac. You should consider installing PyMechanical in a virtual environment. For more information, see Python's @@ -35,7 +35,7 @@ machine architecture from the `Releases page