diff --git a/.github/workflows/backwards_compatibility.yml b/.github/workflows/backwards_compatibility.yml index 92ac50ff8a..10ab6a67a2 100644 --- a/.github/workflows/backwards_compatibility.yml +++ b/.github/workflows/backwards_compatibility.yml @@ -9,7 +9,7 @@ on: - main env: - MAIN_PYTHON_VERSION: '3.13' + MAIN_PYTHON_VERSION: '3.14' ANSRV_GEO_IMAGE: 'ghcr.io/ansys/geometry' ANSRV_GEO_PORT: 700 ANSRV_GEO_LICENSE_SERVER: ${{ secrets.LICENSE_SERVER }} diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 2d87825ed3..349bedcd2e 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -9,7 +9,7 @@ on: - main env: - MAIN_PYTHON_VERSION: '3.13' + MAIN_PYTHON_VERSION: '3.14' PACKAGE_NAME: 'ansys-geometry-core' DOCUMENTATION_CNAME: 'geometry.docs.pyansys.com' ANSRV_GEO_IMAGE: 'ghcr.io/ansys/geometry' @@ -91,7 +91,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.10', '3.11', '3.12', '3.13'] + python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] should-release: - ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }} exclude: @@ -492,7 +492,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10', '3.11', '3.12', '3.13'] + python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] steps: - name: Set up headless display uses: pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2 @@ -547,7 +547,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10', '3.13'] + python-version: ['3.10', '3.14'] steps: - name: Login in Github Container registry uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0 diff --git a/.github/workflows/nightly_docker_test.yml b/.github/workflows/nightly_docker_test.yml index 9c97ee1787..5bf7f558e7 100644 --- a/.github/workflows/nightly_docker_test.yml +++ b/.github/workflows/nightly_docker_test.yml @@ -21,7 +21,7 @@ on: - v* env: - MAIN_PYTHON_VERSION: '3.13' + MAIN_PYTHON_VERSION: '3.14' ANSRV_GEO_IMAGE_WINDOWS_CORE_TAG: ghcr.io/ansys/geometry:core-windows-latest-unstable ANSRV_GEO_IMAGE_LINUX_CORE_TAG: ghcr.io/ansys/geometry:core-linux-latest-unstable ANSRV_GEO_PORT: 710 diff --git a/doc/changelog.d/2296.dependencies.md b/doc/changelog.d/2296.dependencies.md new file mode 100644 index 0000000000..db54bb1ca6 --- /dev/null +++ b/doc/changelog.d/2296.dependencies.md @@ -0,0 +1 @@ +Supporting Python 3.14 diff --git a/doc/source/assets.rst b/doc/source/assets.rst index dd43f70d10..b233e8d9b9 100644 --- a/doc/source/assets.rst +++ b/doc/source/assets.rst @@ -18,7 +18,7 @@ If you lack an internet connection on your installation machine, you should inst by downloading the wheelhouse archive. Each wheelhouse archive contains all the Python wheels necessary to install PyAnsys Geometry from scratch on Windows, -Linux, and MacOS from Python 3.10 to 3.13. You can install this on an isolated system with a fresh Python +Linux, and MacOS from Python 3.10 to 3.14. You can install this on an isolated system with a fresh Python installation or on a virtual environment. For example, on Linux with Python 3.10, unzip the wheelhouse archive and install it with: diff --git a/doc/source/conf.py b/doc/source/conf.py index 1a4da74617..887ea4de81 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -41,7 +41,7 @@ def get_wheelhouse_assets_dictionary(): """Auxiliary method to build the wheelhouse assets dictionary.""" assets_context_os = ["Linux", "Windows", "MacOS"] assets_context_runners = ["ubuntu-latest", "windows-latest", "macos-latest"] - assets_context_python_versions = ["3.10", "3.11", "3.12", "3.13"] + assets_context_python_versions = ["3.10", "3.11", "3.12", "3.13", "3.14"] if get_version_match(__version__) == "dev": # Try to retrieve the content three times before failing content = None @@ -202,7 +202,7 @@ def intersphinx_pyansys_geometry(switcher_version: str): # Intersphinx mapping intersphinx_mapping = { - "python": ("https://docs.python.org/3.13", None), + "python": ("https://docs.python.org/3.14", None), "numpy": ("https://numpy.org/doc/stable", None), "scipy": ("https://docs.scipy.org/doc/scipy", None), "pyvista": ("https://docs.pyvista.org", None), diff --git a/doc/source/getting_started/installation.rst b/doc/source/getting_started/installation.rst index ffbda2affa..0f568f4f37 100644 --- a/doc/source/getting_started/installation.rst +++ b/doc/source/getting_started/installation.rst @@ -87,7 +87,7 @@ archive for your corresponding machine architecture from the repository's `Relea `_. Each wheelhouse archive contains all the Python wheels necessary to install PyAnsys Geometry from scratch on Windows, -Linux, and MacOS from Python 3.10 to 3.13. You can install this on an isolated system with a fresh Python +Linux, and MacOS from Python 3.10 to 3.14. You can install this on an isolated system with a fresh Python installation or on a virtual environment. For example, on Linux with Python 3.10, unzip the wheelhouse archive and install it with these commands: diff --git a/tox.ini b/tox.ini index 4252087217..fc431508b5 100644 --- a/tox.ini +++ b/tox.ini @@ -13,6 +13,7 @@ basepython = tests311: python3.11 tests312: python3.12 tests313: python3.13 + tests314: python3.14 {style,tests,doc}: python3 setenv = PYTHONUNBUFFERED = yes