Skip to content

Commit

Permalink
Add support for Django 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisfreitag committed Jul 18, 2024
1 parent e2c044f commit ce6a561
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,18 @@ jobs:
fail-fast: false
matrix:
python-version:
- 3.8
- 3.9
- '3.10'
- '3.11'
- '3.12'
tox-environment:
- dj42
- dj50
- dj51
- djmain
include:
- python-version: '3.10'
tox-environment: djmain
- python-version: '3.11'
tox-environment: djmain
- python-version: '3.12'
tox-environment: djmain
exclude:
- python-version: '3.8'
tox-environment: dj50
tox-environment: dj42
- python-version: '3.9'
tox-environment: dj50
tox-environment: dj42

env:
COVERALLS_FLAG_NAME: Python ${{ matrix.python-version }} / ${{ matrix.tox-environment }}
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ classifiers = [
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ envlist =
isort
dj42
dj50
dj51
djmain
mypy
isolated_build = true
Expand All @@ -16,6 +17,7 @@ deps =
coverage
dj42: Django>=4.2,<4.3
dj50: Django>=5.0b1,<5.1
dj51: Django>=5.1b1,<5.2
djmain: https://github.com/django/django/archive/main.tar.gz
djangorestframework
extras = phonenumberslite
Expand Down

0 comments on commit ce6a561

Please sign in to comment.