From be021d62d649bc1b195597cea35c73190d5aa656 Mon Sep 17 00:00:00 2001 From: Subodh Dubey Date: Thu, 4 Dec 2025 17:36:40 +0000 Subject: [PATCH] Update Python version support in documentation and workflows - Updated the supported Python versions in RELEASES.md and external-builds/pytorch/README.md to include Python 3.10. - Modified GitHub workflows for portable Linux and Windows PyTorch wheels to reflect the updated Python version matrix. This change ensures compatibility with Python 3.10 across relevant documentation and CI configurations. --- .github/workflows/release_portable_linux_pytorch_wheels.yml | 2 +- .github/workflows/release_windows_pytorch_wheels.yml | 2 +- RELEASES.md | 2 +- external-builds/pytorch/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_portable_linux_pytorch_wheels.yml b/.github/workflows/release_portable_linux_pytorch_wheels.yml index 87b52de1338..50ee3ff92da 100644 --- a/.github/workflows/release_portable_linux_pytorch_wheels.yml +++ b/.github/workflows/release_portable_linux_pytorch_wheels.yml @@ -87,7 +87,7 @@ jobs: strategy: fail-fast: false matrix: - python_version: ["3.11", "3.12", "3.13"] + python_version: ["3.10", "3.11", "3.12", "3.13"] pytorch_git_ref: ["release/2.7", "release/2.8", "release/2.9", "nightly"] include: - pytorch_git_ref: release/2.7 diff --git a/.github/workflows/release_windows_pytorch_wheels.yml b/.github/workflows/release_windows_pytorch_wheels.yml index 85e0f6b88da..03ca4e653ba 100644 --- a/.github/workflows/release_windows_pytorch_wheels.yml +++ b/.github/workflows/release_windows_pytorch_wheels.yml @@ -87,7 +87,7 @@ jobs: strategy: fail-fast: false matrix: - python_version: ["3.11", "3.12", "3.13"] + python_version: ["3.10", "3.11", "3.12", "3.13"] pytorch_git_ref: ["release/2.9", "nightly"] include: - pytorch_git_ref: release/2.9 diff --git a/RELEASES.md b/RELEASES.md index 40e4f41b4fc..ce835e6e1db 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -35,7 +35,7 @@ Table of contents: We recommend installing ROCm and projects like PyTorch via `pip`, the [Python package installer](https://packaging.python.org/en/latest/guides/tool-recommendations/). -We currently support Python 3.11, 3.12, and 3.13. +We currently support Python 3.10, 3.11, 3.12, and 3.13. > [!TIP] > We highly recommend working within a [Python virtual environment](https://docs.python.org/3/library/venv.html): diff --git a/external-builds/pytorch/README.md b/external-builds/pytorch/README.md index 61b8bc47f0e..7afa5e19ae2 100644 --- a/external-builds/pytorch/README.md +++ b/external-builds/pytorch/README.md @@ -88,7 +88,7 @@ detailed instructions. That information is summarized here. ### Prerequisites and setup -You will need a supported Python version (3.11+) on a system which we build the +You will need a supported Python version (3.10+) on a system which we build the `rocm[libraries,devel]` packages for. See the [`RELEASES.md`: Installing releases using pip](../../RELEASES.md#installing-releases-using-pip) and [Python Packaging](../../docs/packaging/python_packaging.md) documentation