Skip to content

Commit

Permalink
Add Python 3.13 and Django 5.1 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo committed Oct 16, 2024
1 parent 3d54a51 commit cf2a93a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
python-version {3.10}, django-version {4.0, 4.1, 4.2, 5.0, 5.1}
python-version {3.11}, django-version {4.1, 4.2, 5.0, 5.1}
python-version {3.12}, django-version {4.2, 5.0, 5.1}
python-version {3.13}, django-version {5.1}
outputs:
matrix: ${{ steps.create_matrix.outputs.matrix }}
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ classifiers = [
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Build Tools",
]
dependencies = [
Expand Down
9 changes: 6 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
[tox]
envlist =
py310-{dj40,dj41,dj42,dj50}-{sqlite},
py311-{dj41,dj42,dj50}-{sqlite},
py312-{dj42,dj50}-{sqlite},
py310-{dj40,dj41,dj42,dj50,dj51}-{sqlite},
py311-{dj41,dj42,dj50,dj51}-{sqlite},
py312-{dj42,dj50,dj51}-{sqlite},
py313-{dj51}-{sqlite},

[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313

[testenv]
passenv = CI,GITHUB_WORKFLOW
Expand All @@ -21,6 +23,7 @@ deps =
dj41: Django == 4.1.*
dj42: Django == 4.2.*
dj50: Django == 5.0.*
dj51: Django == 5.1.*
-r requirements.txt
-r requirements-test.txt

Expand Down

0 comments on commit cf2a93a

Please sign in to comment.