From 4488e94a80f71c7aadf105550e5ee57c8864e704 Mon Sep 17 00:00:00 2001 From: Pravin Kamble Date: Fri, 5 Dec 2025 18:34:58 +0530 Subject: [PATCH] Drop support for 3.10 and 3.11 ref:https://docs.djangoproject.com/en/6.0/releases/6.0/#python-compatibility --- .github/workflows/main.yml | 2 -- README.md | 2 +- pyproject.toml | 4 +--- tox.ini | 2 -- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8ae01735c7..a1c00500c9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,8 +14,6 @@ jobs: strategy: matrix: python-version: - - '3.10' - - '3.11' - '3.12' - '3.13' - '3.14' diff --git a/README.md b/README.md index f875f65dd6..b5a3336f76 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Some reasons you might want to use REST framework: # Requirements -* Python 3.10+ +* Python 3.12+ * Django 4.2, 5.0, 5.1, 5.2, 6.0 We **highly recommend** and only officially support the latest patch release of diff --git a/pyproject.toml b/pyproject.toml index da608a26c4..6e4dcb6da3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ readme = "README.md" license = "BSD-3-Clause" license-files = [ "LICENSE.md" ] authors = [ { name = "Tom Christie", email = "tom@tomchristie.com" } ] -requires-python = ">=3.10" +requires-python = ">=3.12" classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", @@ -23,8 +23,6 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", diff --git a/tox.ini b/tox.ini index 6980d0bfa3..b9f1767bcf 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,5 @@ [tox] envlist = - {py310}-{django42,django51,django52} - {py311}-{django42,django51,django52} {py312}-{django42,django51,django52,django60,djangomain} {py313}-{django51,django52,django60,djangomain} {py314}-{django52,django60,djangomain}