Skip to content

Commit 7a33372

Browse files
committed
feat: Drop python 3.9; add Python 3.14
1 parent e7ea7f3 commit 7a33372

File tree

4 files changed

+484
-538
lines changed

4 files changed

+484
-538
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Python
1414
uses: astral-sh/setup-uv@v5
1515
with:
16-
python-version: "3.10"
16+
python-version: "3.14"
1717
- name: Build artifacts
1818
run: |
1919
uvx --from build python -m build --installer uv

.github/workflows/test.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1616
strategy:
1717
matrix:
18-
python: ["3.13"]
18+
python: ["3.10"]
1919
steps:
2020
- uses: actions/checkout@v4
2121
- name: Set up Python ${{ matrix.python }}
@@ -42,16 +42,12 @@ jobs:
4242
runs-on: ubuntu-latest
4343
strategy:
4444
matrix:
45-
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
46-
django: ["4.2", "5.0", "5.1", "5.2"]
45+
python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
46+
django: ["5.1", "5.2"]
4747
database: ["sqlite", "postgres", "mysql"]
4848
exclude:
49-
- python: 3.9
50-
django: 5.0
51-
- python: 3.9
52-
django: 5.1
53-
- python: 3.9
54-
django: 5.2
49+
- python: "3.14"
50+
django: "5.1"
5551
env:
5652
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5753
DJANGO: ${{ matrix.django }}

pyproject.toml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,18 @@ maintainers = [
1111
{ name = "Sergiy Tereshchenko", email = "[email protected]" },
1212
]
1313
license = "BSD-3-Clause"
14-
requires-python = "<4,>=3.9"
14+
requires-python = "<4,>=3.10"
1515
dependencies = [
16-
"Django>=4.2",
17-
"typing-extensions>=4.0.1; python_version < \"3.11\"",
16+
"Django>=5.1",
17+
"typing-extensions>=4.0.1",
1818
]
1919
classifiers = [
2020
"Programming Language :: Python",
21-
"Programming Language :: Python :: 3.9",
2221
"Programming Language :: Python :: 3.10",
2322
"Programming Language :: Python :: 3.11",
2423
"Programming Language :: Python :: 3.12",
24+
"Programming Language :: Python :: 3.13",
25+
"Programming Language :: Python :: 3.14",
2526
"Operating System :: OS Independent",
2627
"Environment :: Web Environment",
2728
"Intended Audience :: Developers",
@@ -43,16 +44,16 @@ dev = [
4344
"pytest",
4445
"pytest-sugar",
4546
"pytest-django",
46-
"django-stubs<6.0.0,>=5.0.2",
47-
"mypy<1.15",
47+
"django-stubs<6.0.0,>=5.1.0",
48+
"mypy",
4849
"build",
4950
"pillow",
5051
]
5152
lsp = ["python-lsp-server[rope]", "pylsp-mypy"]
5253

5354
[tool.ruff]
5455
line-length = 100
55-
target-version = "py39"
56+
target-version = "py310"
5657
[tool.ruff.lint]
5758
ignore = [
5859
"E501", # line length is handled by formatter
@@ -68,7 +69,7 @@ extend-generics = [
6869
]
6970

7071
[tool.mypy]
71-
python_version = "3.9"
72+
python_version = "3.10"
7273
incremental = true
7374
warn_unused_ignores = true
7475
warn_redundant_casts = true

0 commit comments

Comments
 (0)