Skip to content

Commit 73b8365

Browse files
atalmanCamyll
authored andcommitted
Update min version to 3.10 for release 2.9 (#9239)
1 parent 0429d73 commit 73b8365

File tree

6 files changed

+10
-13
lines changed

6 files changed

+10
-13
lines changed

.github/workflows/build-cmake.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
script: |
3434
set -euo pipefail
3535
36-
export PYTHON_VERSION=3.9
36+
export PYTHON_VERSION=3.10
3737
export GPU_ARCH_TYPE=${{ matrix.gpu-arch-type }}
3838
export GPU_ARCH_VERSION=${{ matrix.gpu-arch-version }}
3939
./.github/scripts/cmake.sh
@@ -52,7 +52,7 @@ jobs:
5252
script: |
5353
set -euo pipefail
5454
55-
export PYTHON_VERSION=3.9
55+
export PYTHON_VERSION=3.10
5656
export GPU_ARCH_TYPE=cpu
5757
export GPU_ARCH_VERSION=''
5858

.github/workflows/prototype-tests-linux-gpu.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@ jobs:
1111
strategy:
1212
matrix:
1313
python-version:
14-
- "3.9"
1514
- "3.10"
1615
- "3.11"
1716
- "3.12"
1817
runner: ["linux.12xlarge"]
1918
gpu-arch-type: ["cpu"]
2019
include:
21-
- python-version: "3.9"
20+
- python-version: "3.10"
2221
runner: linux.g5.4xlarge.nvidia.gpu
2322
gpu-arch-type: cuda
2423
gpu-arch-version: "12.6"

.github/workflows/tests-schedule.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616

1717
steps:
1818
- name: Set up python
19-
uses: actions/setup-python@v2
19+
uses: actions/setup-python@v5
2020
with:
21-
python-version: 3.9
21+
python-version: "3.10"
2222

2323
- name: Upgrade system packages
2424
run: python -m pip install --upgrade pip setuptools wheel

.github/workflows/tests.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@ jobs:
1414
strategy:
1515
matrix:
1616
python-version:
17-
- "3.9"
1817
- "3.10"
1918
- "3.11"
2019
- "3.12"
2120
runner: ["linux.12xlarge"]
2221
gpu-arch-type: ["cpu"]
2322
include:
24-
- python-version: 3.9
23+
- python-version: "3.10"
2524
runner: linux.g5.4xlarge.nvidia.gpu
2625
gpu-arch-type: cuda
2726
gpu-arch-version: "12.6"
@@ -50,7 +49,6 @@ jobs:
5049
strategy:
5150
matrix:
5251
python-version:
53-
- "3.9"
5452
- "3.10"
5553
# TODO put back 3.11 (See blame)
5654
# - "3.11"
@@ -76,7 +74,6 @@ jobs:
7674
strategy:
7775
matrix:
7876
python-version:
79-
- "3.9"
8077
- "3.10"
8178
- "3.11"
8279
- "3.12"
@@ -157,7 +154,7 @@ jobs:
157154
script: |
158155
set -euo pipefail
159156
160-
export PYTHON_VERSION=3.9
157+
export PYTHON_VERSION="3.10"
161158
export GPU_ARCH_TYPE=cpu
162159
export GPU_ARCH_VERSION=''
163160

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ versions.
2020

2121
| `torch` | `torchvision` | Python |
2222
| ------------------ | ------------------ | ------------------- |
23-
| `main` / `nightly` | `main` / `nightly` | `>=3.10`, `<=3.13` |
23+
| `main` / `nightly` | `main` / `nightly` | `>=3.10`, `<=3.14` |
24+
| `2.9` | `0.24` | `>=3.10`, `<=3.14` |
2425
| `2.8` | `0.23` | `>=3.9`, `<=3.13` |
2526
| `2.7` | `0.22` | `>=3.9`, `<=3.13` |
2627
| `2.6` | `0.21` | `>=3.9`, `<=3.12` |

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ def run(self):
575575
"scipy": ["scipy"],
576576
},
577577
ext_modules=extensions,
578-
python_requires=">=3.9",
578+
python_requires=">=3.10",
579579
cmdclass={
580580
"build_ext": BuildExtension.with_options(no_python_abi_suffix=True),
581581
"clean": clean,

0 commit comments

Comments
 (0)