[5.1.x] Refs #34900 -- Doc'd Python 3.13 compatibility.

Backport of 2e3bc59fd3 from main.
This commit is contained in:
Mariusz Felisiak 2024-10-08 08:14:54 +02:00 committed by Sarah Boyce
parent 379111e14a
commit e2551b30ad
7 changed files with 11 additions and 7 deletions

View File

@ -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

View File

@ -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.

View File

@ -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",
]

View File

@ -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
========

View File

@ -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:

View File

@ -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",

View File

@ -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