Skip to content

Commit c904181

Browse files
authored
Merge pull request #1481 from mahdirahimi1999/enhancement/ci-django-5.2
Update CI and packaging for Django 5.2 and Python 3.13 support
2 parents 67d398a + 27e8b63 commit c904181

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
python-version: '3.10'
1818
- name: Install Flit
19-
run: pip install flit "django>=5.0"
19+
run: pip install flit "django>=5.1"
2020
- name: Install Dependencies
2121
run: flit install --symlink
2222
- name: Test

.github/workflows/test_full.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
15-
django-version: ['<3.2', '<3.3', '<4.2', '<4.3', '<5.1', '<5.2']
15+
django-version: ['<3.2', '<3.3', '<4.2', '<4.3', '<5.1', '<5.2', '<5.3']
1616
exclude:
1717
- python-version: '3.7'
1818
django-version: '<5.1'
@@ -51,7 +51,7 @@ jobs:
5151
with:
5252
python-version: '3.10'
5353
- name: Install Flit
54-
run: pip install flit "django>=5.0"
54+
run: pip install flit "django>=5.2"
5555
- name: Install Dependencies
5656
run: flit install --symlink
5757
- name: Test

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ classifiers = [
2929
"Programming Language :: Python :: 3.10",
3030
"Programming Language :: Python :: 3.11",
3131
"Programming Language :: Python :: 3.12",
32+
"Programming Language :: Python :: 3.13",
3233
"Programming Language :: Python :: 3 :: Only",
3334
"Framework :: Django",
3435
"Framework :: Django :: 3.1",
@@ -37,12 +38,13 @@ classifiers = [
3738
"Framework :: Django :: 4.2",
3839
"Framework :: Django :: 5.0",
3940
"Framework :: Django :: 5.1",
41+
"Framework :: Django :: 5.2",
4042
"Framework :: AsyncIO",
4143
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
4244
"Topic :: Internet :: WWW/HTTP",
4345
]
4446

45-
requires = ["Django >=3.1", "pydantic >=2.0,<3.0.0"]
47+
requires = ["Django >=3.1, <6.0", "pydantic >=2.0,<3.0.0"]
4648
description-file = "README.md"
4749
requires-python = ">=3.7"
4850

0 commit comments

Comments
 (0)