Skip to content

Commit

Permalink
Add official support for Django 5.1 and Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Oct 29, 2024
1 parent 984d151 commit 97378b2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 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.10"
- python-version: "3.11"
- python-version: "3.12"
- python-version: "3.13"

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.9, 3.10, 3.11, 3.12)
- Django (4.2, 5.0)
- Python (3.9, 3.10, 3.11, 3.12, 3.13)
- Django (4.2, 5.0, 5.1)
- djangorestframework (3.14+)

Installation
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def get_version(package):
'Framework :: Django',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
'Framework :: Django :: 5.1',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
Expand All @@ -56,6 +57,7 @@ def get_version(package):
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Topic :: Internet :: WWW/HTTP',
]
)
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ DJANGO_SETTINGS_MODULE = tests.settings
envlist =
py{39,310,311,312}-dj42-drf{314,315}-pytest
py{310,311,312}-dj50-drf{314,315}-pytest
py{310,311,312,313}-dj51-drf315-pytest
py312-dj50-drf315-mypy
skip_missing_interpreters = true

Expand All @@ -15,9 +16,11 @@ python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313
django =
4.2: dj42
5.0: dj50
5.1: dj51

[testenv]
setenv =
Expand All @@ -26,6 +29,7 @@ setenv =
deps =
dj42: Django>=4.2,<5.0
dj50: Django>=5.0,<5.1
dj51: Django>=5.1,<5.2
drf314: djangorestframework>=3.14,<3.15
drf315: djangorestframework>=3.15,<3.16
pytest: -rrequirements.txt
Expand Down

0 comments on commit 97378b2

Please sign in to comment.