Skip to content

Commit 39f9b3e

Browse files
chore: Drop Python 3.9 support from ci (#2161)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 43ba18c commit 39f9b3e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/cpu-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ jobs:
8080
fail-fast: false
8181
matrix:
8282
os: ["ubuntu-22.04"]
83-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
83+
python-version: ["3.10", "3.11", "3.12", "3.13"]
8484
requires: ["latest"]
8585
include:
86-
- { os: "ubuntu-22.04", python-version: "3.9", requires: "oldest" }
86+
- { os: "ubuntu-22.04", python-version: "3.10", requires: "oldest" }
8787
- { os: "windows-2022", python-version: "3.10", requires: "latest" }
8888
- { os: "macOS-14", python-version: "3.10", requires: "latest" }
8989
timeout-minutes: 35

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ license = { file = "LICENSE" }
1616
authors = [
1717
{ name = "Lightning AI", email = "[email protected]" },
1818
]
19+
requires-python = ">=3.10"
1920
classifiers = [
2021
"Programming Language :: Python :: 3 :: Only",
21-
"Programming Language :: Python :: 3.9",
2222
"Programming Language :: Python :: 3.10",
2323
"Programming Language :: Python :: 3.11",
2424
"Programming Language :: Python :: 3.12",
@@ -27,8 +27,7 @@ classifiers = [
2727
dependencies = [
2828
# download models:
2929
"huggingface-hub>=0.30,<0.35",
30-
"jsonargparse[signatures]>=4.31,<=4.32.1; python_version<'3.10'", # 4.33 does not seem to be compatible with Python 3.9
31-
"jsonargparse[signatures]>=4.37,<=4.41; python_version>'3.9'", # required to work with python3.12+
30+
"jsonargparse[signatures]>=4.37,<=4.41; python_version>='3.10'", # required to work with Python >=3.10
3231
"lightning>=2.5",
3332
"psutil==7",
3433
"safetensors>=0.4.3",

0 commit comments

Comments
 (0)