10000 Update supported versions for 3.14 release by tomchristie · Pull Request #8662 · encode/django-rest-framework · GitHub
[go: up one dir, main page]

Skip to content

Update supported versions for 3.14 release #8662

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
8000 Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ There is a live example API for testing purposes, [available here][sandbox].

# Requirements

* Python (3.6, 3.7, 3.8, 3.9, 3.10)
* Django (2.2, 3.0, 3.1, 3.2, 4.0, 4.1)
* Python 3.6+
* Django 4.1, 4.0, 3.2, 3.1, 3.0

We **highly recommend** and only officially support the latest patch release of
each Python and Django series.
Expand Down
2 changes: 1 addition & 1 deletion docs/community/3.14-announcement.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The latest release now fully supports Django 4.1.
Our requirements are now:

* Python 3.6+
* Django 4.1, 4.0, 3.2, 3.1, 2.2 (LTS)
* Django 4.1, 4.0, 3.2, 3.1, 3.0

## `raise_exceptions` argument for `is_valid` is now keyword-only.

Expand Down
4 changes: 2 additions & 2 deletions tests/authentication/test_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ def test_post_form_session_auth_passing_csrf(self):
Ensure POSTing form over session authentication with CSRF token succeeds.
Regression test for #6088
"""
# Remove this shim when dropping support for Django 2.2.
if django.VERSION < (3, 0):
# Remove this shim when dropping support for Django 3.0.
if django.VERSION < (3, 1):
from django.middleware.csrf import _get_new_csrf_token
else:
from django.middleware.csrf import (
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[tox]
envlist =
{py36,py37,py38,py39}-django22,
{py36,py37,py38,py39}-django30,
{py36,py37,py38,py39}-django31,
{py36,py37,py38,py39,py310}-django32,
{py38,py39,py310}-{django40,django41,djangomain},
base,dist,docs,

[travis:env]
DJANGO =
2.2: django22
3.0: django30
3.1: django31
3.2: django32
4.0: django40
Expand All @@ -22,7 +22,7 @@ setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONWARNINGS=once
deps =
django22: Django>=2.2,<3.0
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
Expand Down
0