Skip to content

Commit

Permalink
Add official support for Django 5.0 and Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Dec 12, 2023
1 parent 6b24fae commit 87b1b10
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- python-version: 3.9
- python-version: "3.10"
- python-version: "3.11"
- python-version: "3.12"

env:
PYTHON: ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ The following relations are supported:
Requirements
============

- Python (3.7, 3.8, 3.9, 3.10, 3.11)
- Django (2.2, 3.0, 3.1, 3.2, 4.0, 4.1, 4.2)
- Python (3.7, 3.8, 3.9, 3.10, 3.11, 3.12)
- Django (2.2, 3.0, 3.1, 3.2, 4.0, 4.1, 4.2, 5.0)
- djangorestframework (3.8+)

Installation
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def get_version(package):
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
Expand All @@ -62,6 +63,7 @@ def get_version(package):
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Internet :: WWW/HTTP',
]
)
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ envlist =
py{37,38}-dj{30}-drf{310,311}-{pytest,mypy}
py{37,38,39,310,311}-dj{31,32}-drf{311,312,313,314}-{pytest,mypy}
py{38,39,310,311}-dj{40,41}-drf{313,314}-{pytest,mypy}
py{38,39,310,311}-dj{42}-drf{314}-{pytest,mypy}
py{38,39,310,311,312}-dj{42}-drf{314}-{pytest,mypy}
py{310,311,312}-dj{50}-drf{314}-{pytest,mypy}
skip_missing_interpreters = true

[gh-actions]
Expand All @@ -18,6 +19,7 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
django =
2.2: dj22
3.0: dj30
Expand All @@ -26,6 +28,7 @@ django =
4.0: dj40
4.1: dj41
4.2: dj42
5.0: dj50

[testenv]
setenv =
Expand All @@ -39,6 +42,7 @@ deps =
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<5.0
dj50: Django>=5.0,<5.1
drf38: djangorestframework>=3.8.0,<3.9
drf39: djangorestframework>=3.9.0,<3.10
drf310: djangorestframework>=3.10.0,<3.11
Expand Down

0 comments on commit 87b1b10

Please sign in to comment.