Skip to content

Commit 0407953

Browse files
committed
🔥 feat!: drop python3.9 support
1 parent cf49f3a commit 0407953

File tree

5 files changed

+47
-47
lines changed

5 files changed

+47
-47
lines changed

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

Lines changed: 1 addition & 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.9"]
16+
python-version: ["3.10"]
1717
architecture: ["x64"]
1818
name: lint and fmt - Python ${{ matrix.python-version }} on ${{ matrix.architecture }}
1919
steps:

.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.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:
@@ -27,6 +27,7 @@ jobs:
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929
architecture: ${{ matrix.architecture }}
30+
allow-prereleases: true
3031

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

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "docufix"
33
version = "0.3.2"
44
description = ""
55
readme = "README.md"
6-
requires-python = ">=3.9"
6+
requires-python = ">=3.10"
77
authors = [{ name = "Nyakku Shigure", email = "[email protected]" }]
88
keywords = []
99
license = { text = "MIT" }
@@ -12,11 +12,11 @@ classifiers = [
1212
"License :: OSI Approved :: MIT License",
1313
"Programming Language :: Python",
1414
"Programming Language :: Python :: 3",
15-
"Programming Language :: Python :: 3.9",
1615
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
1817
"Programming Language :: Python :: 3.12",
1918
"Programming Language :: Python :: 3.13",
19+
"Programming Language :: Python :: 3.14",
2020
"Programming Language :: Python :: Implementation :: CPython",
2121
]
2222
dependencies = ["typing-extensions>=4.12.2"]
@@ -32,20 +32,20 @@ docufix = "docufix.__main__:main"
3232

3333
[dependency-groups]
3434
dev = [
35-
"pyright>=1.1.403",
36-
"ruff>=0.12.5",
37-
"pytest>=8.4.1",
38-
"pytest-rerunfailures>=15.1",
35+
"pyright>=1.1.405",
36+
"ruff>=0.13.2",
37+
"pytest>=8.4.2",
38+
"pytest-rerunfailures>=16.0.1",
3939
]
4040

4141
[tool.pyright]
4242
include = ["src/moelib", "tests"]
43-
pythonVersion = "3.9"
43+
pythonVersion = "3.10"
4444
typeCheckingMode = "strict"
4545

4646
[tool.ruff]
4747
line-length = 120
48-
target-version = "py39"
48+
target-version = "py310"
4949

5050
[tool.ruff.lint]
5151
select = [

src/docufix/utils/colorful.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
from __future__ import annotations
22

3-
from typing import Final
4-
5-
from typing_extensions import TypeAlias
3+
from typing import Final, TypeAlias
64

75
Color: TypeAlias = Final[str]
86

uv.lock

Lines changed: 35 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)