Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: active support for Python 3.13 #3605

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ body:
- '3.10'
- '3.11'
- '3.12'
- '3.13'
validations:
required: true

Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ body:
- '3.10'
- '3.11'
- '3.12'
- '3.13'
validations:
required: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,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']
clatapie marked this conversation as resolved.
Show resolved Hide resolved
# Only perform wheelhouse builds for macOS when releasing
should-release:
- ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}
Expand Down
1 change: 1 addition & 0 deletions doc/changelog.d/3605.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
chore: active support for Python 3.13
2 changes: 1 addition & 1 deletion doc/source/getting_started/install_pymapdl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Install PyMAPDL
Python module
~~~~~~~~~~~~~
The ``ansys.mapdl.core`` package currently supports Python 3.10 through
Python 3.12 on Windows, Mac OS, and Linux.
Python 3.13 on Windows, Mac OS, and Linux.

Install the latest release from `PyPi <pymapdl_pypi_>`_ with this command:

Expand Down
4 changes: 2 additions & 2 deletions doc/source/user_guide/upf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Python language to code user programmable subroutines. A subset of the
documented UPF subroutines support the Python UPF capability. For more information,
see `Supported UPF subroutines`_).

You must install a Python distribution before using this feature. Python 3.9
through Python 3.12 are supported.
You must install a Python distribution before using this feature. Python 3.10
through Python 3.13 are supported.

Python UPFs are only supported on Linux.

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name = "ansys-mapdl-core"
version = "0.69.dev0"
description = "A Python wrapper for Ansys MAPDL."
readme = "README.md"
requires-python = ">=3.10,<3.13" # Update also 'MINIMUM_PYTHON_VERSION' in src/ansys/mapdl/core/__init__.py
requires-python = ">=3.10,<3.14" # Update also 'MINIMUM_PYTHON_VERSION' in src/ansys/mapdl/core/__init__.py
license = {file = "LICENSE"}
authors = [{ name = "ANSYS, Inc.", email = "[email protected]" }]
maintainers = [{ name = "ANSYS, Inc.", email = "[email protected]" }]
Expand Down Expand Up @@ -45,6 +45,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]

[project.optional-dependencies]
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ basepython =
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
clatapie marked this conversation as resolved.
Show resolved Hide resolved
py: python3
{style,reformat,doc}: python3
setenv =
Expand Down
Loading