Skip to content

Commit

Permalink
Merge pull request #146 from browniebroke/django50-support
Browse files Browse the repository at this point in the history
Add official support for Django 5.0
  • Loading branch information
izimobil authored Jun 14, 2024
2 parents 85aa026 + fcee5a6 commit 4ea2242
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ dist: jammy
language: python

python:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"

sudo: false

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def get_package_data(package):
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
Expand Down
9 changes: 7 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
envlist =
{py38,py39,py310}-django32-drf3.14-df22.1,
{py38,py39}-{django41,django42}-drf3.14-df22.1,
{py310,py311}-{django41,django42,djangomain}-drf3.14-df22.1,
{py310,py311}-{django41,django42,django50,djangomain}-drf3.14-df22.1,
py312-{django50,djangomain}-drf3.14-df22.1,
py311-lint

[testenv]
commands =
python -W error::DeprecationWarning -W error::PendingDeprecationWarning \
python \
-W error::DeprecationWarning \
-W error::PendingDeprecationWarning \
-W "once:Converter 'drf_format_suffix' is already registered:" \
-m coverage run example/manage.py test --noinput

setenv =
Expand All @@ -18,6 +22,7 @@ deps =
django32: Django>=3.2,<4.0
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
djangomain: https://github.com/django/django/archive/main.tar.gz
drf3.14: djangorestframework>=3.14,<3.15
df22.1: django-filter>=22.1
Expand Down

0 comments on commit 4ea2242

Please sign in to comment.