From 36e296cf40313d5413eb7655e72e007243f20b19 Mon Sep 17 00:00:00 2001 From: Pravin Kamble Date: Sat, 22 Aug 2026 18:35:30 +0530 Subject: [PATCH 1/2] Added test support for Python 3.15 --- .github/workflows/main.yml | 1 + tox.ini | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 017290954d..81f4c17d3f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,6 +44,7 @@ jobs: - '3.12' - '3.13' - '3.14' + - '3.15' env: DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres diff --git a/tox.ini b/tox.ini index 15ad3b7aa3..a5a054cf63 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,7 @@ envlist = {py312}-{django52,django60,django61,djangomain} {py313}-{django52,django60,django61,djangomain} {py314}-{django52,django60,django61,djangomain} + {py315}-{django52,django60,django61,djangomain} base dist docs @@ -55,3 +56,6 @@ ignore_outcome = true [testenv:py314-djangomain] ignore_outcome = true + +[testenv:py315-djangomain] +ignore_outcome = true From cceb21d4ac4a9d79c111ef6a98f39294450ce86b Mon Sep 17 00:00:00 2001 From: Pravin Kamble Date: Thu, 24 Sep 2026 08:20:49 +0530 Subject: [PATCH 2/2] Formalized support for Python 3.15 --- docs/index.md | 2 +- pyproject.toml | 3 ++- tox.ini | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/index.md b/docs/index.md index d0a6549a5c..4b71475922 100644 --- a/docs/index.md +++ b/docs/index.md @@ -66,7 +66,7 @@ Some reasons you might want to use REST framework: REST framework requires the following: * Django (5.2, 6.0, 6.1) -* Python (3.10, 3.11, 3.12, 3.13, 3.14) +* Python (3.10, 3.11, 3.12, 3.13, 3.14, 3.15) We **highly recommend** and only officially support the latest patch release of each Python and Django series. diff --git a/pyproject.toml b/pyproject.toml index 274e252c49..c4b68dff98 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Topic :: Internet :: WWW/HTTP", ] dynamic = [ "version" ] @@ -107,7 +108,7 @@ skip = "*/kickstarter-announcement.md,*.js,*.map,*.po,*.css,locale" [tool.pyproject-fmt] keep_full_version = true -max_supported_python = "3.14" +max_supported_python = "3.15" [tool.pytest] addopts = [ diff --git a/tox.ini b/tox.ini index a5a054cf63..055bfb62e4 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ envlist = {py312}-{django52,django60,django61,djangomain} {py313}-{django52,django60,django61,djangomain} {py314}-{django52,django60,django61,djangomain} - {py315}-{django52,django60,django61,djangomain} + {py315}-{django61,djangomain} base dist docs