Skip to content

Commit

Permalink
Add Python 3.13 and Django 5.1 support and drop Python 3.8, `Py…
Browse files Browse the repository at this point in the history
…thon 3.9` and `Django 3.x` support.
  • Loading branch information
fabiocaccamo committed Oct 16, 2024
1 parent e651e64 commit fabd35a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 18 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ jobs:
id: create_matrix
with:
matrix: |
python-version {3.8}, django-version {3.0, 3.1, 3.2, 4.0, 4.1, 4.2}
python-version {3.9}, django-version {3.0, 3.1, 3.2, 4.0, 4.1, 4.2}
python-version {3.10}, django-version {3.2, 4.0, 4.1, 4.2, 5.0}
python-version {3.11}, django-version {4.1, 4.2, 5.0}
python-version {3.12}, django-version {4.2, 5.0}
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
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,20 @@ classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"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",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"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
12 changes: 4 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,30 +1,26 @@
[tox]
envlist =
py38-{dj30,dj31,dj32,dj40,dj41,dj42},
py39-{dj30,dj31,dj32,dj40,dj41,dj42},
py310-{dj32,dj40,dj41,dj42,dj50},
py310-{dj40,dj41,dj42,dj50},
py311-{dj41,dj42,dj50},
py312-{dj42,dj50},
py313-{dj51},

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

[testenv]
passenv = CI,GITHUB_WORKFLOW

deps =
dj30: Django == 3.0.*
dj31: Django == 3.1.*
dj32: Django == 3.2.*
dj40: Django == 4.0.*
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 fabd35a

Please sign in to comment.