Add official support for Django 5.1

Following the supported Python versions:

https://docs.djangoproject.com/en/stable/faq/install/
This commit is contained in:
Bruno Alla 2024-08-29 13:04:44 +01:00
parent f593f5752c
commit 940f5666e2
No known key found for this signature in database
4 changed files with 7 additions and 11 deletions

View File

@ -55,7 +55,7 @@ Some reasons you might want to use REST framework:
# Requirements
* Python 3.8+
* Django 5.0, 4.2
* Django 4.2, 5.0, 5.1
We **highly recommend** and only officially support the latest patch release of
each Python and Django series.

View File

@ -87,7 +87,7 @@ continued development by **[signing up for a paid plan][funding]**.
REST framework requires the following:
* Django (4.2, 5.0)
* Django (4.2, 5.0, 5.1)
* Python (3.8, 3.9, 3.10, 3.11, 3.12)
We **highly recommend** and only officially support the latest patch release of

View File

@ -91,6 +91,7 @@ setup(
'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',

13
tox.ini
View File

@ -1,9 +1,9 @@
[tox]
envlist =
{py38,py39}-{django42}
{py310}-{django42,django50,djangomain}
{py311}-{django42,django50,djangomain}
{py312}-{django42,django50,djangomain}
{py310}-{django42,django50,django51,djangomain}
{py311}-{django42,django50,django51,djangomain}
{py312}-{django42,django50,django51,djangomain}
base
dist
docs
@ -17,6 +17,7 @@ setenv =
deps =
django42: Django>=4.2,<5.0
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
djangomain: https://github.com/django/django/archive/main.tar.gz
-rrequirements/requirements-testing.txt
-rrequirements/requirements-optionals.txt
@ -42,12 +43,6 @@ deps =
-rrequirements/requirements-testing.txt
-rrequirements/requirements-documentation.txt
[testenv:py38-djangomain]
ignore_outcome = true
[testenv:py39-djangomain]
ignore_outcome = true
[testenv:py310-djangomain]
ignore_outcome = true