Skip to content

Commit 855712d

Browse files
committed
Drop Python 3.9 support
- Remove Python 3.9 from all CI test matrices - Update requires-python from >=3.8 to >=3.10 - Update tool configurations (isort, ruff) to target Python 3.10 - Update CI workflows to test on Python 3.10 (minimum) and 3.13 (maximum)
1 parent 55f08d9 commit 855712d

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- uses: actions/checkout@v4
99
- uses: actions/setup-python@v5
1010
with:
11-
python-version: 3.9
11+
python-version: "3.10"
1212
cache: "pip"
1313
- uses: pre-commit/action@v3.0.1
1414

@@ -17,7 +17,7 @@ jobs:
1717
name: Pylint test
1818
strategy:
1919
matrix:
20-
python-version: ["3.9", "3.12", "3.13"]
20+
python-version: ["3.10", "3.13"]
2121
steps:
2222
- uses: actions/checkout@v4
2323
- name: Set up Python ${{ matrix.python-version }}
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ubuntu-latest
3838
strategy:
3939
matrix:
40-
version: ["3.9", "3.12", "3.13"]
40+
version: ["3.10", "3.13"]
4141
steps:
4242
- uses: actions/checkout@v4
4343
- uses: actions/setup-python@v5
@@ -58,13 +58,11 @@ jobs:
5858
matrix:
5959
include:
6060
- os: ubuntu-latest
61-
python-version: 3.9
61+
python-version: "3.10"
6262
- os: windows-latest
63-
python-version: 3.9
63+
python-version: "3.10"
6464
- os: ubuntu-latest
65-
python-version: 3.12
66-
- os: ubuntu-latest
67-
python-version: 3.13
65+
python-version: "3.13"
6866
runs-on: ${{ matrix.os }}
6967
steps:
7068
- name: Checkout repo
@@ -92,7 +90,7 @@ jobs:
9290
- name: Set up Python
9391
uses: actions/setup-python@v5
9492
with:
95-
python-version: 3.9
93+
python-version: "3.10"
9694
cache: "pip"
9795

9896
- name: Install dependencies

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Python
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: 3.8
18+
python-version: "3.10"
1919
cache: "pip"
2020

2121
- name: Install dependencies

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.2.10"
44
description = ""
55
authors = [{ name = "Kili Technology", email = "contact@kili-technology.com" }]
66
license = { file = "LICENSE.txt" }
7-
requires-python = ">=3.8"
7+
requires-python = ">=3.10"
88
readme = "README.md"
99
dependencies = [
1010
"typing-extensions >= 4.1.0, < 5.0.0"
@@ -62,11 +62,11 @@ exclude = '''
6262

6363
[tool.isort]
6464
profile = "black"
65-
py_version = 38
65+
py_version = 310
6666

6767
[tool.ruff]
6868
line-length = 100
69-
target-version = "py38"
69+
target-version = "py310"
7070
ignore = ["E501"]
7171

7272
[tool.ruff.pydocstyle]

0 commit comments

Comments
 (0)