diff --git a/.devcontainer/codespaces-dev/requirements.txt b/.devcontainer/codespaces-dev/requirements.txt index 528e88e771..fd9df3d0ca 100644 --- a/.devcontainer/codespaces-dev/requirements.txt +++ b/.devcontainer/codespaces-dev/requirements.txt @@ -1,5 +1,5 @@ ansys-dpf-core==0.10.1 -ansys-tools-visualization-interface==0.5.0 +ansys-tools-visualization-interface==0.6.1 autopep8==2.3.1 matplotlib==3.9.2 pandas==2.2.3 @@ -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 \ No newline at end of file +vtk==9.4.0 \ No newline at end of file diff --git a/.devcontainer/codespaces-docs/requirements.txt b/.devcontainer/codespaces-docs/requirements.txt index a6253ea2f8..7e307ad172 100644 --- a/.devcontainer/codespaces-docs/requirements.txt +++ b/.devcontainer/codespaces-docs/requirements.txt @@ -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.6.1 grpcio==1.68.0 imageio-ffmpeg==0.5.1 imageio==2.36.0 @@ -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 \ No newline at end of file +vtk==9.4.0 \ No newline at end of file diff --git a/.devcontainer/devcontainer-local/requirements.txt b/.devcontainer/devcontainer-local/requirements.txt index ab6cb9c35f..40fa5495c0 100644 --- a/.devcontainer/devcontainer-local/requirements.txt +++ b/.devcontainer/devcontainer-local/requirements.txt @@ -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.6.1 autopep8==2.3.1 grpcio==1.68.0 imageio-ffmpeg==0.5.1 diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 0dcdf58886..699e35055a 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -83,6 +83,7 @@ body: - '3.10' - '3.11' - '3.12' + - '3.13' validations: required: true diff --git a/.github/ISSUE_TEMPLATE/examples.yml b/.github/ISSUE_TEMPLATE/examples.yml index 0e9f4971ea..7ac88690e9 100644 --- a/.github/ISSUE_TEMPLATE/examples.yml +++ b/.github/ISSUE_TEMPLATE/examples.yml @@ -59,6 +59,7 @@ body: - '3.10' - '3.11' - '3.12' + - '3.13' validations: required: true diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 888deef9e0..9b83286905 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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' @@ -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') }} diff --git a/doc/changelog.d/3605.added.md b/doc/changelog.d/3605.added.md new file mode 100644 index 0000000000..af5ffd5afc --- /dev/null +++ b/doc/changelog.d/3605.added.md @@ -0,0 +1 @@ +chore: active support for Python 3.13 \ No newline at end of file diff --git a/doc/source/examples/extended_examples/gui/requirements.txt b/doc/source/examples/extended_examples/gui/requirements.txt index 53d4d12291..a729cb78f6 100644 --- a/doc/source/examples/extended_examples/gui/requirements.txt +++ b/doc/source/examples/extended_examples/gui/requirements.txt @@ -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 @@ -59,7 +59,7 @@ trame-vtk==2.8.12 trame-vuetify==2.7.2 typing_extensions==4.12.2 urllib3==2.2.3 -vtk==9.3.1 +vtk==9.4.0 websockets==13.1 wslink==2.2.1 yarl==1.17.2 diff --git a/doc/source/examples/extended_examples/hpc/requirements.txt b/doc/source/examples/extended_examples/hpc/requirements.txt index 59908dd907..8e3f77a340 100644 --- a/doc/source/examples/extended_examples/hpc/requirements.txt +++ b/doc/source/examples/extended_examples/hpc/requirements.txt @@ -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.4.0 diff --git a/doc/source/getting_started/install_pymapdl.rst b/doc/source/getting_started/install_pymapdl.rst index 3177b58b97..02451d3717 100644 --- a/doc/source/getting_started/install_pymapdl.rst +++ b/doc/source/getting_started/install_pymapdl.rst @@ -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 `_ with this command: diff --git a/doc/source/user_guide/upf.rst b/doc/source/user_guide/upf.rst index eb2e8376ea..4f1bd6823d 100644 --- a/doc/source/user_guide/upf.rst +++ b/doc/source/user_guide/upf.rst @@ -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. diff --git a/pyproject.toml b/pyproject.toml index 5c002273b3..fee449b765 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = "pyansys.core@ansys.com" }] maintainers = [{ name = "ANSYS, Inc.", email = "pyansys.core@ansys.com" }] @@ -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] @@ -55,7 +56,7 @@ jupyter = [ tests = [ "ansys-dpf-core==0.10.1", - "ansys-tools-visualization-interface==0.6.0", + "ansys-tools-visualization-interface==0.6.1", "autopep8==2.3.1", "matplotlib==3.9.3", "pandas==2.2.3", @@ -69,13 +70,13 @@ tests = [ "pytest-rerunfailures==15.0", "pytest==8.3.4", "scipy==1.14.1", - "vtk==9.3.1", + "vtk==9.4.0", ] doc = [ "ansys-dpf-core==0.10.1", "ansys-mapdl-reader==0.54.2", "ansys-sphinx-theme==1.2.3", - "ansys-tools-visualization-interface==0.6.0", + "ansys-tools-visualization-interface==0.6.1", "grpcio==1.68.1", "imageio-ffmpeg==0.5.1", "imageio==2.36.1", @@ -101,7 +102,7 @@ doc = [ "sphinx==8.1.3", "sphinxcontrib-websupport==2.0.0", "sphinxemoji==0.3.1", - "vtk==9.3.1", + "vtk==9.4.0", ] [tool.flit.module] diff --git a/tox.ini b/tox.ini index 6d5b8ecd56..419f0a21a5 100644 --- a/tox.ini +++ b/tox.ini @@ -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 @@ -13,6 +13,7 @@ basepython = py310: python3.10 py311: python3.11 py312: python3.12 + py313: python3.13 py: python3 {style,reformat,doc}: python3 setenv =