Skip to content

Commit e10a7c6

Browse files
committed
⬆️ chore: drop python 3.8, 3.9 support
1 parent 452b1db commit e10a7c6

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

.github/workflows/lint-and-fmt.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
# Only run linter and formatter on minimum supported Python version
16-
python-version: ['3.8']
16+
python-version: ['3.10']
1717
architecture: ['x64']
1818
name: lint and fmt - Python ${{ matrix.python-version }} on ${{ matrix.architecture }}
1919
steps:
@@ -33,6 +33,7 @@ jobs:
3333
python-version: ${{ matrix.python-version }}
3434
architecture: ${{ matrix.architecture }}
3535
cache: 'pip'
36+
allow-prerelease: true
3637

3738
- name: Install just
3839
uses: extractions/setup-just@v3

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
19+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
2020
target: [x86_64, x86, aarch64]
2121
name: Ubuntu, ${{ matrix.target }}, Python ${{ matrix.python-version }}
2222
steps:
2323
- uses: actions/checkout@v4
2424
- uses: actions/setup-python@v6
2525
with:
2626
python-version: ${{ matrix.python-version }}
27+
allow-prerelease: true
2728
- name: Build wheels
2829
uses: PyO3/maturin-action@v1
2930
with:
@@ -50,6 +51,7 @@ jobs:
5051
with:
5152
python-version: ${{ matrix.python-version }}
5253
architecture: ${{ matrix.target }}
54+
allow-prerelease: true
5355
- name: Build wheels
5456
uses: PyO3/maturin-action@v1
5557
with:
@@ -74,6 +76,7 @@ jobs:
7476
- uses: actions/setup-python@v6
7577
with:
7678
python-version: ${{ matrix.python-version }}
79+
allow-prerelease: true
7780
- name: Build wheels
7881
uses: PyO3/maturin-action@v1
7982
with:

.github/workflows/unit-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
15+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
1616
architecture: ['x64']
1717
name: unittest - Python ${{ matrix.python-version }} on ${{ matrix.architecture }}
1818
steps:
@@ -28,6 +28,7 @@ jobs:
2828
python-version: ${{ matrix.python-version }}
2929
architecture: ${{ matrix.architecture }}
3030
cache: 'pip'
31+
allow-prerelease: true
3132

3233
- name: Install just
3334
uses: extractions/setup-just@v3

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "maturin"
66
name = "codespan-reporting"
77
description = "A python binding for codespan-reporting"
88
readme = "README.md"
9-
requires-python = ">=3.8"
9+
requires-python = ">=3.10"
1010
authors = [{ name = "Nyakku Shigure", email = "[email protected]" }]
1111
keywords = ["codespan-reporting"]
1212
license = { text = "MIT" }
@@ -15,11 +15,11 @@ classifiers = [
1515
"Programming Language :: Rust",
1616
"Programming Language :: Python",
1717
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python :: 3.8",
19-
"Programming Language :: Python :: 3.9",
2018
"Programming Language :: Python :: 3.10",
2119
"Programming Language :: Python :: 3.11",
2220
"Programming Language :: Python :: 3.12",
21+
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2323
"Programming Language :: Python :: Implementation :: CPython",
2424
"Programming Language :: Python :: Implementation :: PyPy",
2525
]
@@ -30,12 +30,12 @@ dev = ["pytest>=7.4.4", "ruff==0.13.2", "pyright>=1.1.293", "build"]
3030

3131
[tool.pyright]
3232
include = ["src", "tests"]
33-
pythonVersion = "3.8"
33+
pythonVersion = "3.10"
3434
typeCheckingMode = "strict"
3535

3636
[tool.ruff]
3737
line-length = 120
38-
target-version = "py38"
38+
target-version = "py310"
3939

4040
[tool.ruff.lint]
4141
select = [

0 commit comments

Comments
 (0)