diff --git a/.github/workflows/build-cmake.yml b/.github/workflows/build-cmake.yml index 3acdfbd8b28..008e57eda1b 100644 --- a/.github/workflows/build-cmake.yml +++ b/.github/workflows/build-cmake.yml @@ -33,7 +33,7 @@ jobs: script: | set -euo pipefail - export PYTHON_VERSION=3.9 + export PYTHON_VERSION=3.10 export GPU_ARCH_TYPE=${{ matrix.gpu-arch-type }} export GPU_ARCH_VERSION=${{ matrix.gpu-arch-version }} ./.github/scripts/cmake.sh @@ -52,7 +52,7 @@ jobs: script: | set -euo pipefail - export PYTHON_VERSION=3.9 + export PYTHON_VERSION=3.10 export GPU_ARCH_TYPE=cpu export GPU_ARCH_VERSION='' diff --git a/.github/workflows/prototype-tests-linux-gpu.yml b/.github/workflows/prototype-tests-linux-gpu.yml index 0e38c64c7f3..14f3b89cd78 100644 --- a/.github/workflows/prototype-tests-linux-gpu.yml +++ b/.github/workflows/prototype-tests-linux-gpu.yml @@ -11,14 +11,13 @@ jobs: strategy: matrix: python-version: - - "3.9" - "3.10" - "3.11" - "3.12" runner: ["linux.12xlarge"] gpu-arch-type: ["cpu"] include: - - python-version: "3.9" + - python-version: "3.10" runner: linux.g5.4xlarge.nvidia.gpu gpu-arch-type: cuda gpu-arch-version: "12.6" diff --git a/.github/workflows/tests-schedule.yml b/.github/workflows/tests-schedule.yml index 3cba2ef59d8..753a4d52188 100644 --- a/.github/workflows/tests-schedule.yml +++ b/.github/workflows/tests-schedule.yml @@ -16,9 +16,9 @@ jobs: steps: - name: Set up python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: "3.10" - name: Upgrade system packages run: python -m pip install --upgrade pip setuptools wheel diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5af6930c6b0..3e5bf51c0d6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,14 +14,13 @@ jobs: strategy: matrix: python-version: - - "3.9" - "3.10" - "3.11" - "3.12" runner: ["linux.12xlarge"] gpu-arch-type: ["cpu"] include: - - python-version: 3.9 + - python-version: "3.10" runner: linux.g5.4xlarge.nvidia.gpu gpu-arch-type: cuda gpu-arch-version: "12.6" @@ -50,7 +49,6 @@ jobs: strategy: matrix: python-version: - - "3.9" - "3.10" # TODO put back 3.11 (See blame) # - "3.11" @@ -76,7 +74,6 @@ jobs: strategy: matrix: python-version: - - "3.9" - "3.10" - "3.11" - "3.12" @@ -157,7 +154,7 @@ jobs: script: | set -euo pipefail - export PYTHON_VERSION=3.9 + export PYTHON_VERSION="3.10" export GPU_ARCH_TYPE=cpu export GPU_ARCH_VERSION='' diff --git a/README.md b/README.md index 2902eb05f1b..ae9858e9e97 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,8 @@ versions. | `torch` | `torchvision` | Python | | ------------------ | ------------------ | ------------------- | -| `main` / `nightly` | `main` / `nightly` | `>=3.10`, `<=3.13` | +| `main` / `nightly` | `main` / `nightly` | `>=3.10`, `<=3.14` | +| `2.9` | `0.24` | `>=3.10`, `<=3.14` | | `2.8` | `0.23` | `>=3.9`, `<=3.13` | | `2.7` | `0.22` | `>=3.9`, `<=3.13` | | `2.6` | `0.21` | `>=3.9`, `<=3.12` | diff --git a/setup.py b/setup.py index 9d4fb77dcc5..c3ba1640079 100644 --- a/setup.py +++ b/setup.py @@ -575,7 +575,7 @@ def run(self): "scipy": ["scipy"], }, ext_modules=extensions, - python_requires=">=3.9", + python_requires=">=3.10", cmdclass={ "build_ext": BuildExtension.with_options(no_python_abi_suffix=True), "clean": clean,