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 20 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
fc35634
chore: active support for Python 3.13
clatapie Dec 9, 2024
5006226
chore: adding changelog file 3605.added.md [dependabot-skip]
pyansys-ci-bot Dec 9, 2024
06aadef
fix: version in ``pyproject.toml``
clatapie Dec 9, 2024
f21c997
Merge branch 'chore/supporting_python3.13' of https://github.com/pyan…
clatapie Dec 9, 2024
c991ceb
review: applying @RobPasMue's suggestions
clatapie Dec 10, 2024
dac3c69
fix: vtk version to 9.4.0
clatapie Dec 10, 2024
82d43be
Merge branch 'main' into chore/supporting_python3.13
clatapie Dec 10, 2024
b8a5044
Merge branch 'main' into chore/supporting_python3.13
germa89 Dec 10, 2024
e13de70
Merge branch 'main' into chore/supporting_python3.13
clatapie Dec 12, 2024
556467f
maint: update ``"ansys-tools-visualization-interface``
clatapie Dec 12, 2024
6a1f301
Merge branch 'chore/supporting_python3.13' of https://github.com/pyan…
clatapie Dec 12, 2024
8ff2a5c
Merge branch 'main' into chore/supporting_python3.13
clatapie Dec 18, 2024
1904d76
Merge branch 'main' into chore/supporting_python3.13
germa89 Jan 7, 2025
b17a3de
Merge branch 'main' into chore/supporting_python3.13
clatapie Jan 23, 2025
0cb2365
Merge branch 'main' into chore/supporting_python3.13
germa89 Feb 26, 2025
0da5cb8
build: downgrade vtk to 9.3.1
germa89 Feb 26, 2025
3e651eb
build: update ansys-tools-visualization-interface
germa89 Feb 26, 2025
4078519
revert: not changing examples requirements
germa89 Feb 26, 2025
a77c7a3
build: downgrade vtk
germa89 Feb 26, 2025
ab86cd3
fix: bump vtk to 9.4.1
germa89 Feb 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .devcontainer/codespaces-dev/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ansys-dpf-core==0.10.1
ansys-tools-visualization-interface==0.5.0
ansys-tools-visualization-interface==0.8.3
autopep8==2.3.1
matplotlib==3.9.2
pandas==2.2.3
Expand All @@ -13,4 +13,4 @@ pytest-random-order==1.1.1
pytest-rerunfailures==15.0
pytest==8.3.3
scipy==1.14.1
vtk==9.3.1
vtk==9.3.1
4 changes: 2 additions & 2 deletions .devcontainer/codespaces-docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ansys-dpf-core==0.10.1
ansys-mapdl-reader==0.54.2
ansys-sphinx-theme==0.16.6
ansys-tools-visualization-interface==0.5.0
ansys-tools-visualization-interface==0.8.3
grpcio==1.68.0
imageio-ffmpeg==0.5.1
imageio==2.36.0
Expand All @@ -26,4 +26,4 @@ sphinx-reredirects==0.1.4
sphinx==8.1.3
sphinxcontrib-websupport==2.0.0
sphinxemoji==0.3.1
vtk==9.3.1
vtk==9.3.1
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer-local/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ansys-dpf-core==0.10.1
ansys-mapdl-reader==0.54.2
ansys-sphinx-theme==1.2.2
ansys-tools-visualization-interface==0.5.0
ansys-tools-visualization-interface==0.8.3
autopep8==2.3.1
grpcio==1.68.0
imageio-ffmpeg==0.5.1
Expand Down
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

env:
PROJECT_NAME: 'PyMAPDL'
MAIN_PYTHON_VERSION: '3.11'
MAIN_PYTHON_VERSION: '3.13'
PACKAGE_NAME: 'ansys-mapdl-core'
PACKAGE_NAMESPACE: 'ansys.mapdl.core'
DOCUMENTATION_CNAME: 'mapdl.docs.pyansys.com'
Expand Down 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']
# 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
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ansys-mapdl-reader==0.54.1
ansys-math-core==0.2.0
ansys-platform-instancemanagement==1.1.2
ansys-tools-path==0.7.0
ansys-tools-visualization-interface==0.5.0
ansys-tools-visualization-interface==0.6.1
appdirs==1.4.4
attrs==24.2.0
certifi==2024.8.30
Expand Down
2 changes: 1 addition & 1 deletion doc/source/examples/extended_examples/hpc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ six==1.16.0
tabulate==0.9.0
tqdm==4.66.3
urllib3==2.2.2
vtk==9.3.0
vtk==9.3.1
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
6 changes: 4 additions & 2 deletions 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 Expand Up @@ -73,6 +74,7 @@ tests = [
"scipy==1.15.2",
"vtk==9.3.1",
]

doc = [
"ansys-dpf-core==0.10.1",
"ansys-mapdl-reader==0.54.2",
Expand Down Expand Up @@ -103,7 +105,7 @@ doc = [
"sphinx==8.2.1",
"sphinxcontrib-websupport==2.0.0",
"sphinxemoji==0.3.1",
"vtk==9.3.1",
"vtk==9.4.1",
]

[tool.flit.module]
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
description = Default tox environments list
envlist =
style,{py38,py39,py310,py311,py312}{,-coverage},doc
style,{py38,py39,py310,py311,py312,py313}{,-coverage},doc
skip_missing_interpreters = true
isolated_build = true
isolated_build_env = build
Expand All @@ -13,6 +13,7 @@ basepython =
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
py: python3
{style,reformat,doc}: python3
setenv =
Expand Down
Loading