Skip to content

Commit ccab2c4

Browse files
committed
chore: drop EOL Django/Python versions, add Django 6.0 support
1 parent d941373 commit ccab2c4

3 files changed

Lines changed: 59 additions & 124 deletions

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,14 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
17-
django-version: ['4.2', '5.1', '5.2']
16+
python-version: ['3.10', '3.11', '3.12', '3.13']
17+
django-version: ['5.2', '6.0']
1818
exclude:
19-
# Exclude Python 3.9 with Django 5.1 and 5.2
20-
- python-version: '3.9'
21-
django-version: '5.1'
22-
- python-version: '3.9'
23-
django-version: '5.2'
24-
# Exclude Python 3.13 with Django 4.2
25-
- python-version: '3.13'
26-
django-version: '4.2'
19+
# Django 6.0 requires Python 3.12+
20+
- python-version: '3.10'
21+
django-version: '6.0'
22+
- python-version: '3.11'
23+
django-version: '6.0'
2724

2825
steps:
2926
- uses: actions/checkout@v4
@@ -62,4 +59,4 @@ jobs:
6259
- name: Upload coverage to Codecov
6360
uses: codecov/codecov-action@v5
6461
with:
65-
file: ./coverage.xml
62+
files: ./coverage.xml

poetry.lock

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

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,15 @@ classifiers = [
3737
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
3838
"Programming Language :: Python",
3939
"Programming Language :: Python :: 3",
40-
"Programming Language :: Python :: 3.9",
4140
"Programming Language :: Python :: 3.10",
4241
"Programming Language :: Python :: 3.11",
4342
"Programming Language :: Python :: 3.12",
4443
"Programming Language :: Python :: 3.13",
4544
"Topic :: Database",
4645
"Topic :: Software Development :: Libraries :: Python Modules",
4746
"Framework :: Django",
48-
"Framework :: Django :: 4.2",
49-
"Framework :: Django :: 5.1",
5047
"Framework :: Django :: 5.2",
48+
"Framework :: Django :: 6.0",
5149
]
5250

5351
[tool.semantic_release]
@@ -60,8 +58,8 @@ upload_to_release = false
6058
build_command = "pip install poetry && poetry build"
6159

6260
[tool.poetry.dependencies]
63-
python = "^3.9"
64-
django = ">=4.2,<5.3"
61+
python = "^3.10"
62+
django = ">=5.2"
6563

6664
[tool.poetry.group.test.dependencies]
6765
mypy = "^1.6"

0 commit comments

Comments
 (0)