From e2551b30adc8016c615761c80301e20f1c75e81d Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 8 Oct 2024 08:14:54 +0200 Subject: [PATCH] [5.1.x] Refs #34900 -- Doc'd Python 3.13 compatibility. Backport of 2e3bc59fd3760de87952ec8fd6cd3694e8d9dc1c from main. --- docs/faq/install.txt | 2 +- docs/howto/windows.txt | 4 ++-- docs/intro/reusable-apps.txt | 1 + docs/releases/5.1.3.txt | 3 ++- docs/releases/5.1.txt | 5 +++-- pyproject.toml | 1 + tox.ini | 2 +- 7 files changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/faq/install.txt b/docs/faq/install.txt index a89da571a96..af1da879ec3 100644 --- a/docs/faq/install.txt +++ b/docs/faq/install.txt @@ -55,7 +55,7 @@ Django version Python versions 4.1 3.8, 3.9, 3.10, 3.11 (added in 4.1.3) 4.2 3.8, 3.9, 3.10, 3.11, 3.12 (added in 4.2.8) 5.0 3.10, 3.11, 3.12 -5.1 3.10, 3.11, 3.12 +5.1 3.10, 3.11, 3.12, 3.13 (added in 5.1.3) ============== =============== For each version of Python, only the latest micro release (A.B.C) is officially diff --git a/docs/howto/windows.txt b/docs/howto/windows.txt index 83aa8d06557..235b18a24ff 100644 --- a/docs/howto/windows.txt +++ b/docs/howto/windows.txt @@ -2,7 +2,7 @@ How to install Django on Windows ================================ -This document will guide you through installing Python 3.12 and Django on +This document will guide you through installing Python 3.13 and Django on Windows. It also provides instructions for setting up a virtual environment, which makes it easier to work on Python projects. This is meant as a beginner's guide for users working on Django projects and does not reflect how Django @@ -18,7 +18,7 @@ Install Python ============== Django is a Python web framework, thus requiring Python to be installed on your -machine. At the time of writing, Python 3.12 is the latest version. +machine. At the time of writing, Python 3.13 is the latest version. To install Python on your machine go to https://www.python.org/downloads/. The website should offer you a download button for the latest Python version. diff --git a/docs/intro/reusable-apps.txt b/docs/intro/reusable-apps.txt index 98f21c9d91b..e2c25f3525e 100644 --- a/docs/intro/reusable-apps.txt +++ b/docs/intro/reusable-apps.txt @@ -237,6 +237,7 @@ this. For a small app like polls, this process isn't too difficult. "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", ] diff --git a/docs/releases/5.1.3.txt b/docs/releases/5.1.3.txt index 9cb48dc2f36..5541a8824a0 100644 --- a/docs/releases/5.1.3.txt +++ b/docs/releases/5.1.3.txt @@ -4,7 +4,8 @@ Django 5.1.3 release notes *Expected November 5, 2024* -Django 5.1.3 fixes several bugs in 5.1.2. +Django 5.1.3 fixes several bugs in 5.1.2 and adds compatibility with Python +3.13. Bugfixes ======== diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt index bc868fddda6..037c76fd545 100644 --- a/docs/releases/5.1.txt +++ b/docs/releases/5.1.txt @@ -18,8 +18,9 @@ project. Python compatibility ==================== -Django 5.1 supports Python 3.10, 3.11, and 3.12. We **highly recommend** and -only officially support the latest release of each series. +Django 5.1 supports Python 3.10, 3.11, 3.12, and 3.13 (as of 5.1.3). We +**highly recommend** and only officially support the latest release of each +series. .. _whats-new-5.1: diff --git a/pyproject.toml b/pyproject.toml index 5c85cf42b61..19bc17ba1a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: WSGI", diff --git a/tox.ini b/tox.ini index c635a129b2d..7a76693f211 100644 --- a/tox.ini +++ b/tox.ini @@ -26,7 +26,7 @@ setenv = PYTHONDONTWRITEBYTECODE=1 deps = -e . - py{3,310,311,312,py3}: -rtests/requirements/py3.txt + py{3,310,311,312,313,py3}: -rtests/requirements/py3.txt postgres: -rtests/requirements/postgres.txt mysql: -rtests/requirements/mysql.txt oracle: -rtests/requirements/oracle.txt